
// 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  = 500;
defaultHeight = 500;

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=yes,width=550,height=500,left='+PositionX+',top='+PositionY+'toolbar=yes';
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
ktnet=open (imageURL,'net');
reSizeToImage(imageURL);
doTitle(imageTitle);
///ktnet.close();
}
return ;
}
//
// Set the horizontal and vertical position for the popup
function reSizeToImage(){
if (isIE){
window.resizeTo(200,200);
//ktnet.resizeTo(200,200);
width=100-(document.body.clientWidth-document.images[0].width);
height=100-(document.body.clientHeight-document.images[0].height);
window.resizeTo(width,height);
//ktnet.resizeTo(width,height);
}
if (isNN){
window.innerWidth=document.images["George"].width;
window.innerHeight=document.images["George"].height;
}
return;
}
function doTitle(imageTitle){
document.title=imageTitle;
return;
}