window.onerror=onErrorHandle; function openInWindow(url,frame,options) { window.open(url,frame,options); w = window.open(url,frame, options); if (w) { w.location = url; w.opener = self; } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0; a&&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&&i