// Display an image
// ================================
function popImage(imageURL,imageTitle){

myImage = new Image;myImage.src = imageURL;
if (!myImage.complete && navigator.appName=="Netscape") {
	return;	}
	
if (myImage.height == 0)	
myImage.height = 500;

if (myImage.width == 0)	
myImage.width = 500;	

imgWin=window.open("about:blank","imgwindow","height="+myImage.height+", width="+myImage.width+",status=0, toolbar=0, resizable=0");

with(imgWin.document) {

writeln('<html>');
writeln('<head>');
writeln('<title>'+imageTitle+'</title>');
writeln('<style>body{margin:0px;}</style>');writeln('</head>');

if (navigator.appName == "Netscape")
writeln('<body scroll="no" onblur="self.close()">');
else
writeln('<body scroll="no" onload="self.focus()" onblur="self.close()">');

writeln('<img src="'+myImage.src+'" width="'+myImage.width+'" height="'+myImage.height+'" border="0" alt="'+imageTitle+'" />');

writeln('</body>');
writeln('</html>');		

close();
}
}

