function refresh_page(href) { self.location.href = href; } function preloadimages() { for (i=0;i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&ixMax) w = xMax * .9; if (h>yMax) h = yMax * .9; var l = (xMax - w)/2, t = (yMax-h)/2; var spawn; spawn = window.open(myurl,"DefineReference",'screenX='+l+',left='+l+',screenY='+t+',top='+t+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+w+',height='+h); spawn.focus(); }