function PopUpImage(imageURL,imageWidth,imageHeight)
{
var posLeft=window.screen.width/2 - imageWidth/2;
var posTop=window.screen.height/2 - imageHeight/2;

newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('<htm'+'l><t'+'itle>HPGEO</t'+'itle><bo'+'dy bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
newWindow.document.write('<img src="'+imageURL+'" width='+imageWidth+' height='+imageHeight+'>');
newWindow.document.write('</b'+'ody></ht'+'ml>');
newWindow.document.close();
newWindow.focus();
}