// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 400;
defaultHeight = 400;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=400,height=400,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle,downloadURL){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title></title><style>body{margin:0px;}</style>');
writeln('<sc'+'ript>');
writeln('function doTitle(){document.title="Download the '+imageTitle+' ScreenSaver Here";}');writeln('</sc'+'ript>');
writeln('</head><body bgcolor="black" alink="#990000" vlink="#990000" link="#990000" scroll="no" onload="doTitle();self.focus()">');
writeln('<table width="400" border="0" cellspacing="0" cellpadding="6" align="center">');
writeln('<tr><td align="center" valign="middle"><img src='../screensavers/+imageURL+' width="375" height="250"></td></tr>');
writeln('<tr><td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#990000" size="-1"><a href='../screensavers/+downloadURL+'>Download the '+imageTitle+' ScreenSaver</a></font></td></tr>');
writeln('<tr><td align="center">');
writeln('<iframe src="google.htm" frameborder="0" height="60" width="234" marginheight="0" marginwidth="0" vspace="0" scrolling="no"></iframe>');
writeln('</td></tr>');
writeln('<tr><td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" color="#990000" size="-1"><a href="javascript:;" onClick="window.close()">[Close Window]</a></font></td></tr>');
writeln('</table>');
writeln('</body></html>');
close();		
}}