var ver = navigator.appVersion;
if (ver.indexOf('MSIE') != -1)
{
// для IE
document.write("
");
if (document.all['PopWin'].style)
window.setInterval("MovePop()", 5);
window.onerror=null;
document.body.scrollTop=10;
}
else
{
// для FF, Opera и подобных
document.write("");
}
function DivOff()
{
document.getElementById('PopWin').style.display='none';
}
function PopShow()
{
window.open("javascript:location.href='http://in-textmedia.com/adrus/close/';","PopWin","width=850,height=650,resizable=1,toolbar=1,location=1,menubar=1,status=1,scrollbars=1");
window.focus();
DivOff();
}
function MovePop() {
if (document.body.scrollTop==0)
document.all['PopWin'].style.top=document.documentElement.scrollTop+250; else
document.all['PopWin'].style.top=document.body.scrollTop+250;
}