function Pictures(w,x,y,z,a){
window.open(w,x,'width=' + y + ',height=' + z + ',scrollbars=' + a + ',status=no,menubar=no,toolbar=no,left=' + (screen.width/2) + ',top=' + (screen.height/2) + ',resizable=no')
}

   var arrTemp=self.location.href.split("?"); 
   var picUrl = (arrTemp.length>0)?arrTemp[1]:""; 
   var NS = (navigator.appName=="Netscape")?true:false; 
   var mh
   var mw
   
     function FitPic() { 
       iWidth = (NS)?window.innerWidth:document.body.clientWidth; 
       iHeight = (NS)?window.innerHeight:document.body.clientHeight - 40; 
       iWidth = document.images[0].width - iWidth; 
       iHeight = document.images[0].height - iHeight; 
	   mh = ((screen.height - document.images[0].height)/2)
	   mw = ((screen.width - document.images[0].width)/2)
	   window.moveTo(mw,mh)
       window.resizeBy(iWidth, iHeight); 
       self.focus(); 
     }; 
