<!--
function powiekszZdjecie(imageName,posLeft,posTop) 
{
	newWindow = window.open("","newWindow","width=250,height=250,resizable=no,scrollbars=no, toolbar=no, menubar=no, location=no, left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html>');
	newWindow.document.write('<head>');
	newWindow.document.write('<title>Moto-Inwest</title>');
	newWindow.document.write('<script type="text/javascript">  ');
	newWindow.document.write('function resize1() {');
	newWindow.document.write('var image1= new Image();');
	newWindow.document.write('image1.src = "'+imageName+'";');
	newWindow.document.write('if(image1.width==0 || image1.height==0) { setTimeout(\'resize1()\',100); }');
	//newWindow.document.write('alert(image1.width + \' - \' + image1.height);');
              newWindow.document.write('self.resizeTo(parseInt(image1.width+100),parseInt(image1.height+200));');
    //newWindow.document.write('self.resizeTo(parseInt(image1.width+10),parseInt(image1.height+50));');
    //newWindow.document.write('alert(navigator.appName + \' - wer\' +navigator.appVersion);');
    	newWindow.document.write('if (parseInt(navigator.appVersion)>3) {');
   newWindow.document.write('if (navigator.appName=="Netscape") {');
    newWindow.document.write('self.innerWidth=image1.width;');
    newWindow.document.write('self.innerHeight=image1.height;   }');
    newWindow.document.write('else if ((navigator.appName=="Microsoft Internet Explorer") && ((navigator.appVersion)>=4)) {');
    newWindow.document.write('self.outerWidth=image1.width; self.outerHeight=image1.height; }');
    newWindow.document.write('else if (navigator.appName=="Opera") {');
    newWindow.document.write('self.resizeTo(parseInt(image1.width+10),parseInt(image1.height+50));  }   ');  
   newWindow.document.write('else { self.resizeTo(parseInt(image1.width+10),parseInt(image1.height+80));  }  } ');   
   newWindow.document.write('if ((navigator.appName=="Microsoft Internet Explorer") && ((navigator.appVersion)<7)) {');
	newWindow.document.write('self.resizeTo(parseInt(image1.width+10),parseInt(image1.height+60));  } ');
	newWindow.document.write('}');
		//newWindow.document.write('alert(navigator.appName + \' - wer \' +parseInt(navigator.appVersion))');
	newWindow.document.write('  </script>');
	newWindow.document.write('</head>');
	newWindow.document.write('<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<center><img src='+imageName+' name="Zdjecie"></center>'); 
	newWindow.document.write('<script type="text/javascript">setTimeout(\'resize1()\',100);</script>');               
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
-->
