// JavaScript Document
<!--

//preloader 
for (var i=0; i<pic.length; ++i) { 
pic[i].obj = new Image(); 
pic[i].obj.onload = new Function( 
'pic['+i+'].width=this.width;' + 
'pic['+i+'].height=this.height;' + 
'pic['+i+'].loaded=true;' 
); 
pic[i].obj.src = path + pic[i].src; 
} 

function graphwin(picObj) { 
if (Gwin && !Gwin.closed) Gwin.close(); 
if (!arguments.length) return; 
if (picObj.loaded) { 
HTML = ''; 
HTML += '<html><head><title>'+picObj.title+'</title><script type="text/javascript">'; 
HTML += 'onblur=function(){setTimeout("self.focus()",3000)};'; 
HTML += 'onload=function(){self.focus()};'; 
HTML += '<\/script><style type="text/css">'; 
HTML += 'a.c{font:200 10px arial;color:white;text-decoration:none;}'; 
HTML += 'a:hover{color:#ffff00;background:#0000aa;}</style></head>'; 
HTML += '<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" bgcolor="steelblue">'; 
HTML += '<img border="0" width="'+picObj.width+'" height="'+picObj.height+'" '; 
HTML += 'src="'+ path + picObj.src+'">'; 
HTML += '<table width="100%" cellspacing="0" cellpadding="0" border="1"><tr>'; 
HTML += '<td align="center" bgcolor="steelblue">'; 
HTML += '<a class="c" href="javascript:self.close()">close</a>'; 
HTML += '</td></tr></table></body></html>'; 
Gleft = 0; // screen.availWidth/2 - picObj.width/2; 
Gtop = 0; // screen.availHeight/2 - picObj.height/2; 
var attr = 'width='+picObj.width+',height='+(picObj.height+16); 
attr += ',left='+Gleft+',top='+Gtop+',status=0'; 
Gwin = window.open('javascript:opener.HTML','Gwin',attr); 
} 
}
//-->