Code
<style type="text/css">
#PopWin {background: #000;width: 468px;height: 80px;cursor: pouner;z-index:9999999999;position:absolute;left:30%;}
</style>
<script type="text/javascript">
var ver = navigator.appVersion;
if (ver.indexOf('MSIE') != -1)
{
// для IE
document.write("<div id='PopWin' style='top:250px;'>"
+" <table width='468' height='80' cellspacing='0' cellpadding='0' style='border: 2px double black; background-color: #666666;'>"
+" <tr height='20'><td bgcolor='#666666' width='238' style='padding-left: 10px; background-color: #666666;'><b>"
+" <a target='_blank' style='font-size: 14px; color: #00CC00; "
+" font-family: Arial; text-decoration:none; font-style:italic;' href='http://საიტის სახელი'>"
+" line.ucoz.ru</a></td>"
+" <td bgcolor='#666666' width='230' style='padding-right: 3px; background-color: #666666;' align='right'>"
+" <b><a style='font-size: 13px; color: #FFFFFF; font-family: Arial; text-decoration:none;'"
+" onclick='DivOff()' title='Close' href='javascript: PopShow()'>Close[X]</a></b></td></tr>"
+" <tr><td height='60' width='468' colspan='2' bgcolor='#CCCCCC'>"
+" <center><IFRAME SRC='სურათის ლინკი' WIDTH=468 HEIGHT=200 NAME='POP' SCROLLING='no' FRAMEBORDER=0>"
+"</IFRAME></center></tr>"
+" </tr></table></div>");
if (document.all['PopWin'].style)
window.setInterval("MovePop()", 5);
window.onerror=null;
document.body.scrollTop=10;
}
else
{
// для FF, Opera и подобных
document.write("<div id='PopWin' style='position:fixed; top:44%;'>");
document.write(" <table width='468' height='80' cellspacing='0' cellpadding='0' style='border: 2px double black; background-color: #666666;'>"
+" <tr height='20'><td bgcolor='#666666' width='238' style='padding-left: 10px; background-color: #666666;'><b>"
+" <a target='_blank' style='font-size: 14px; color: #00CC00; "
+" font-family: Arial; text-decoration:none; font-style:italic;' href='http://საიტის სახელი'>"
+" საიტის სახელი</a></td>"
+" <td bgcolor='#666666' width='230' style='padding-right: 3px; background-color: #666666;' align='right'>"
+" <b><a style='font-size: 13px; color: #FFFFFF; font-family: Arial; text-decoration:none;'"
+" onclick='DivOff()' title='Close' href='javascript: PopShow()'>Close[X]</a></b></td></tr>"
+" <tr><td height='60' width='468' colspan='2' bgcolor='#CCCCCC'>"
+" <center><IFRAME SRC='სურათის ლინკი' WIDTH=468 HEIGHT=200 NAME='POP' SCROLLING='no' FRAMEBORDER=0>"
+"</IFRAME></center></tr>"
+" </tr></table></div>");
}
function DivOff()
{
document.getElementById('PopWin').style.display='none';
}
function PopShow()
{
window.open("javascript:location.href='http://საიტის სახელი';","PopWin","width=640,height=480,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;
}
</script>