

window.onerror=null;
v = parseInt(navigator.appVersion);
var br = false;
if ( ((navigator.appName == "Netscape") && ( v >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && ( v >= 4 )) ) { br = true; }
 

function f(i,w,h) {
 wind = open("", "displayWindow", "width="+w+",height="+h+",status=0,toolbar=0,menubar=0");
 wind.document.open();
 wind.document.write("<html><head><title>IMAGE");
 wind.document.write("</title></head><body bgcolor=white leftmargin=0 topmargin=0>");
 wind.document.write("<img src='"+i+"' onLoad='self.opener.resizeWn(this.width,this.height)'></body></html>");
/*
 limg=wind.document.getElementsByTagName('img')[0];
 wd=limg.width; hg=limg.height+35;
 if(navigator.appName.indexOf("Microsoft")==-1){hg+=27;wd+=7;}
 wind.resizeTo(wd,hg);
 wind.moveTo((screen.width-wd)/2,(screen.height-hg)/2);
*/
}

function resizeWn(wd,hg){
 if(navigator.appName.indexOf("Microsoft")==-1){hg+=27;wd+=7;}
 wind.resizeTo(wd,hg);
 wind.moveTo((screen.width-wd)/2,(screen.height-hg)/2);
}

var wind;

function f2(i,w,h) {
 if(wind!=null && !wind.closed){wind.close();}
 var tp=(screen.height-h)/2; var lft=(screen.width-w)/2;
 wind = open("", "displayWindow", "width="+w+",height="+h+",top="+tp+",left="+lft+",status=0,toolbar=0,menubar=0");
 wind.document.write("<html><head><title>IMAGE");
 wind.document.write("</title></head><body bgcolor=white leftmargin=0 topmargin=0>");
 wind.document.write("<img src='"+i+"'></body></html>");
 wind.focus();
 return false;
}