
function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width=500,height=370,scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><meta http-equiv="imagetoolbar" content="no"><link rel="stylesheet" type="text/css" href="style.css"><title>'+alt+'</title><body bgcolor="#D6E6E6" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()"><table border=0 width=100% height=100%><tr><td align=center valign=middle class=bok2>'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<a href=javascript:close();><img border=0 height="'+imageHeight+'" width="'+imageWidth+'" src=\"'+imageName+'\"></a><br>&nbsp;<br>'+alt); 	}
	newWindow.document.write('</td></tr></table></body></html>');
	newWindow.document.close();
	newWindow.focus();
}
function cons2() {
  myWin= open("maszbud.asp", "",
"toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no,width=700,height=500,left=50,top=100");
}
noweOkienko = null;

function galeria(src, w, h){
if(window.screen){
 aw=screen.availWidth;
 ah=screen.availHeight;
}
else{
 aw=640;
 ah=450;
}
if (noweOkienko==null || noweOkienko.closed){
 ustawienia=
 "left=" + (aw-w)/2 + ","
 +"top=" + (ah-h)/2 + ","
 +"screenX=" + (aw-w)/2 + ","
 +"screenY=" + (ah-h)/2 + ","
 +"width=" + w + ","
 +"height=" + h + ","
 +"innerWidth=" + w + ","
 +"innerHeight=" + h + ","
 +"toolbar=no,"
 +"location=no,"
 +"directories=no,"
 +"status=no,"
 +"menubar=no,"
 +"scrollbars=no,"
 +"resizable=no"
 noweOkienko = window.open('',
 'obrazek',ustawienia);
}
noweOkienko.document.open();
noweOkienko.document.clear();
noweOkienko.document.write(
"<html><head><meta http-equiv=imagetoolbar content=no>\n"
+"</head>\n"
+"<body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0 onBlur=self.close()>\n" 
+"<TABLE width=100% height=100% border=0 cellpadding=0 cellspacing=0><TR align=center><TD valign=center><a href=javascript:close();><IMG SRC=" + src +" border=0></a></TD></TR></TABLE>"
+"</body>\n"
+"</html>"
);
noweOkienko.document.close();
noweOkienko.focus();
} 
// -->
