var handle;
function showpanel(){
    var scrollAmount = window.pageYOffset ? window.pageYOffset : document[(document.compatMode == 'CSS1Compat') ? 'documentElement' : 'body'].scrollTop;
    document.getElementById('block').style.top = scrollAmount + "px";
    document.getElementById('block').style.visibility="visible";
}
function start() {
     document.getElementById('block').style.visibility="hidden";
     clearTimeout (handle);
     handle = setInterval("showpanel()",0);
}
window.onscroll = start;
document.write('<div style="height:25px;width:100%;"></div><div id="block" style="position:absolute;top:0px;width:100%;"><iframe src="http://www.globalomsk.ru/_panel/panel2.php" height="25" width="100%" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe></div>');