rendered paste bodyfunction redir()
{
var o=window;
try
{
if(o.dialogArguments)
{
var sWN=new String(Math.round(Math.random()*100000));
var sF="toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=800,height=600";
var iT=Math.round((screen.availHeight-600)/2);
var iL=Math.round((screen.availWidth-800)/2);
sF+=",top="+iT+",left="+iL;
var op=o.dialogArguments.opener;
try
{
if(op)
op.open(a_sCW,sWN,sF);
}
catch(e)
{}
o.close();
return ;
}
}
catch(e)
{}
var sUrl=a_sUrl;
while(1)
{
try
{
var oF=o.frameElement.document.parentWindow;
if(!oF.g_fOwa)
break;
o=oF;
sUrl="";
}
catch(e)
{break;}
}
try
{
var oW=o.opener;
if(oW&&oW.g_fOwa)
{
var iX=Math.round((screen.availWidth-800)/2);
var iY=Math.round((screen.availHeight-600)/2);
o.moveTo(iX,iY);
o.resizeTo(800,600);
sUrl="&url="+encodeURIComponent(a_sCW);
}
}
catch(e)
{}
o.location.href=a_sLgn+sUrl;
}