browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
   version = "no";
   if (browserName == "Netscape" && browserVer >= 3) version = "ok";
   if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "ok";

if (version == "ok")
{     


      function MakeArray(n) {
              this.length = n
              for (var i = 1; i<=n; i++) {
                      this[i] = new Image()
                      }
              return this
      }
}




{    
function msout() {
                                     document.images[0].src = normal
                        }                   

}
				
function foto(adres,wid,hei,tytul,okno) {        
   if (tytul == "") tytul = adres;
		var wid2 = wid +60;
		var hei2 = hei +60;
 		var Win = window.open("",okno,'width=' + wid2 + ',height=' + hei2 + ',resizable=0,top=0,left=0,scrollbars=0,menubar=no');
		Win.focus()
		Win.document.write('<html><head><TITLE>',tytul,'</TITLE><meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2"><BODY bgcolor="#FFFFFF"><LINK REL="stylesheet" HREF="../style.css" type="text/css">');
 		Win.document.write('<center>');
	 	Win.document.write('<img src="',adres,'" width=',wid,' height=',hei,' vspace=5 border=1 alt="',tytul,'"><BR><a href="javascript:close()"><font face="Verdana, Arial" size=2>Close Window</font></a></center></body></html>');
}

