if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}

function popup(imageURL, imageTitle, high, wide)
{
var optNN='scrollbars=no,width='+wide+',height='+high;
var optIE='scrollbars=no,width='+wide+',height='+high;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

if (isNN){imgWin=window.open('','',optNN);}
if (isIE){imgWin=window.open('','',optIE);}
with (imgWin.document){
writeln('<html><head><title>'+imageTitle+'</title><style>body{margin:0px;}</style>');writeln('<script>');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</script>');
if (!AutoClose) writeln('</head><body bgcolor=white scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="Gary" src='+imageURL+'></body></html>');
close();		
}}
