// JavaScript Document
var iwidth=400;
var iheight=725;
var allowScroll="auto";
defaultWidth  = 500;
defaultHeight = 500;
var AutoClose = true;
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
function popImage(imageURL,imageTitle,iwidth2,iheight2){
imageURL=escape(imageURL);
PositionX = screen.width/2-iwidth2/2;
PositionY = screen.height/2-iheight2/2;
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width='+iwidth2+',height='+iheight2+',left='+PositionX+',top='+PositionY;
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=84-(document.body.clientWidth-document.images[0].width);');
writeln('height=84-(document.body.clientHeight-document.images[0].height);');
//
writeln('if(width>screen.width){width=screen.width-50;height=screen.height-80;var allowScroll="yes"};');
//
writeln('moveTo (((screen.width/2)-(width/2)),((screen.height/2)-(height/2)));');
//writeln('top=((screen.height/2)-(height/2));');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
close();
}}

//(myurl, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
//        getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + myurl + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
//}