var divAble;
var divStyle;
var refresh;
var hframe=60;
var hdiv=hframe+1;

if( document.all ) {
divAble=true;
document.write("<img src='img_lycos/p.gif' width=1 height="+hdiv+" border=0>\
<DIV name=SlotBody id=SlotBody style='position:absolute; top:0; left:0; width:100%; height:"+hdiv+"px; visibility:visible; z-order:1; background-color:white;'>\
<table border=0 cellpadding=0 cellspasing=0 width=100%>\
<tr valign=top>\
<td width=100% align=center>\
\
<IFRAME marginwidth=0 marginheight=0 scrolling=no frameborder=0 width=100% height="+hframe+" src=http://r.mail.ru/cgi-bin/banners/get/1347></IFRAME><br>\
\
<!--Rating@Mail.ru COUNTER--><img height=1 width=1 src=\"http://top.list.ru/counter?id=394413\"><!--/COUNTER--><br>\
\
</td>\
<td width=6><a href=\"javascript:close_banner();\"><img src=\"http://www.boom.ru/image/exit.jpg\" width=9 height=9 border=0></a></td>\
</tr>\
</table>\
</DIV>");
divStyle = document.all["SlotBody"].style;
divStyle.left = 0;
refresh=setInterval(pos_l,20);
} else {
divAble=false;
}


function pos_l(){
divStyle.width=document.body.clientWidth+document.body.scrollLeft;
divStyle.top=(document.body.clientHeight+document.body.scrollTop)-hdiv;
}


function close_banner(){
var name = document.location.href; 
var re = new RegExp( "/(\w+:\/\/)?([^/]+)(.*)?/", "" );
var result = re.exec(name);
name = RegExp.$2+"_no_adw";
document.cookie=setCookie(name,1);
divStyle.display = "none";
}


