function show(szyr, wys, flag, file)
{
w=szyr;
h=22+Math.floor(wys);

var winl = (screen.width - w) / 2;
var wint = 5;

winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=no,toolbar=no,status=no';

mypage='view.html?='+szyr+'='+wys+'='+flag+'='+file+'';

okno=window.open('about:blank','',winprops);
okno.location.href=mypage;
}

function Zvenkzs(adres, szyr, wys, nazw, newtitle, perechod)
{
if(confirm("Pokazać zwiększone zdjęcie?"))
{
document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN'>");
document.write("<html>");
document.write("<head>");
document.write("<META content='text/html; charset=iso-8859-2' http-equiv=Content-Type>");
document.write("<title>Hodowla Briardów z Pszczyńskiej Puszczy  ");
document.write(newtitle);
document.write("</title>");
document.write("<style type='text/css'>");
document.write(".base1{font-family: arial; font-size: 14px; font-weight: 900; color: #e0e0e0}");
document.write("body {scrollbar-face-color: #b0b0b0; scrollbar-highlight-color: #e6e6e6; scrollbar-3dlight-color: #666666; scrollbar-shadow-color: #666666; scrollbar-darkshadow-color: #333333; scrollbar-arrow-color: #ffffff; srollbar-track-color: #333333; scrollbar-base-color: #666666}");
document.write("</style>");
document.write("</head>");
document.write("<body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 bgcolor='#000000' link='#c0c0c0' alink='#c0c0c0' vlink='#c0c0c0' text='#cecece'>");

document.write("<table border=0 cellpadding=0 cellspacing=0 width=100% height=100%><tr><td align='center' valign='top'>");

document.write("<table border=0 width=778 height=100% cellpadding=0 cellspacing=0><tr>");
document.write("<td align='left' valign='top'>");

document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" WIDTH=776 HEIGHT=100 id=\"naglow\">");
document.write("<PARAM NAME=movie VALUE=\"naglow.swf\">");
document.write("<PARAM NAME=menu VALUE=false>");
document.write("<PARAM NAME=quality VALUE=high>");
document.write("<PARAM NAME=scale VALUE=noborder>");
document.write("<PARAM NAME=bgcolor VALUE=#000000>");
document.write("<EMBED  src=\"naglow.swf\" menu=false quality=high scale=noborder bgcolor=#000000 WIDTH=776 HEIGHT=100  NAME=\"naglow\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>");
document.write("</OBJECT>");
document.write("</td></tr><tr><td align='right' height=40>");
document.write("<div class='base1'>");
document.write(nazw);
document.write("&nbsp; &nbsp; &nbsp;</div>");
document.write("</td></tr>");
document.write("<tr><td align='center' height='350'>");
document.write("<a href=\"");
document.write(perechod);
document.write("#");
document.write("\" onClick='window.history.go(-1);'>");
document.write("<img id='MyImag4' border=1 src='");
document.write(adres);
document.write("' width='");
document.write(szyr);
document.write("' height='");
document.write(wys);
document.write("' title='Wróć'></a>");
document.write("<br><br><br><p align='center' style='font-family: arial; font-size: 11px; font-weight: 900; color: #e0e0e0'>kliknij na zdjęcie aby wrócić.</p><br><br>"); 
document.write("</td></tr></table>");

document.write("</td></tr></table></body>");
document.write("</html>");
}
else
{
return false;
}
}

function okno(plik)
{
strOkno="top=70, left=165, toolbar=no, menubar=no, location=no, directories=no, channelmode=no, resizeable=yes, scrollbars=yes, fullscreen=yes, status=no, maximize=yes";
objSkrzynka=window.open(plik, "MyOkno", strOkno);
}

function skrzynka()
{
strSkrzynka="top=200, left=165, width=470, height=160, toolbar=no, menubar=no, location=no, directories=no, channelmode=no, resizeable=no, scrollbars=no, fullscreen=no, status=no, maximize=no";
objSkrzynka=window.open("formul.html", "MySkrzynka", strSkrzynka);
}

message = "Kontakt z nami ...^" +
"Telefon:  +48 (32) 210-86-27    +48 604-836-234                    ^" +
"43-200  Pszczyna, ul. Krucza 8  woj.  ¶l±skie   Polska             ^" +
"E-mail:  briardas@op.pl                  ^"+
"Hodowla  z  Pszczyńskiej  Puszczy        ^"+
"NR. rejestru  307/9  Hod. 2806200        ^";
scrollSpeed = 20;
lineDelay= 1500;
txt= "";
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt=txt+message.charAt(pos);
status = txt;
pauze  = scrollSpeed;
}
else {
pauze = lineDelay;
txt   = "";
if (pos == message.length-1) pos = -1;
}
pos++;
setTimeout("scrollText('"+pos+"')",pauze);
}
// Unhide -->
scrollText(0);
