var m_layer1,m_layer2;
function initMove() {
m_layer1=document.getElementById("gleft");
m_layer2=document.getElementById("gright");
m_layer1.style.top = "-200px";
m_layer1.style.visibility = 'visible'
m_layer2.style.top = "-200px";
m_layer2.style.visibility = 'visible'
MoveLayers();
window.onscroll=MoveLayers;
}
function MoveLayers() {
var x = 1; // 左右边距
var y = 100; // 顶距
var st=document.documentElement.scrollTop;
var cw=document.documentElement.clientWidth;
var y = st + y;
m_layer1.style.top = y+"px";
m_layer1.style.left = x+"px";
m_layer2.style.top = y+"px";
m_layer2.style.left = cw-m_layer2.clientWidth-x+"px";
}

function lqdellmove(){
if(!document.ns){
var top=document.body.scrollTop;
if(top==0) top=document.documentElement.scrollTop;
lqdel.style.top=top+100;
lqdel.style.left=document.body.scrollLeft+1;
lqder.style.top=top+100;
lqder.style.left=document.body.scrollLeft+document.body.clientWidth-70;
}
window.setTimeout("lqdellmove();",100)}



if (window.navigator.userAgent.indexOf("MSIE")>=1)
{

//左浮动1 注：修改时要与下面左浮动2同时修改
document.write("<div id=lqdel style='position: absolute;visibility: visible;z-index:1;line-height:18px'><a href='http://www.3333sc.com/' target=_blank><img src='images/3333sc.gif' border='0' width=70 height=80></a><br><br><a href='http://www.douhantex.com/' target=_blank><img src='images/douhantex.gif' border='0' width=70 height=80></a></a></a><br><br><a href='http://yun588.com/?agents=dkkjscyxh' target=_blank><img src='img/ad_l_3.gif' border='0' width=70 height=80></a><br><br><a href='http://rs6666.com/' target=_blank><img src='images/rs6666.gif' border='0' width=70 height=80></a></div>");
//右浮动1 注：修改时要与下面右浮动2同时修改
document.write("<div id=lqder style='position: absolute;visibility: visible;z-index:1;line-height:18px'><a href='http://www.88msc.cn/' target=_blank><img src='images/88msc.gif' border='0' width=70 height=80></a><br><br><a href='2.html' target=_blank><img src='images/zu.gif' border='0' width=70 height=80></a><br><br><a href='http://aobobet.com/' target=_blank><img src='images/201172214544783.gif' border='0' width=70 height=80></a><br><br><a href='http://www.douhantex.com/' target=_blank><img src='images/ad_r_4.gif' border='0' width=70 height=80></a></div>");

}
else{
//左浮动2 
document.write("<div id=lqdel style='position: absolute;visibility: visible;z-index:1;line-height:5px'><a href='http://www.ra1155.com' target=_blank><img src='http://img.zw007.com/rc9999-80.gif' border='0' width=80 height=80></a><br><br><a href='http://www.yunbet.com/user_yun/index.php?language=simplified&referral=4522' target=_blank><img src='http://img.zw007.com/ccrr99-80.gif' border='0' width=80 height=80></a><br><br><a href='http://www.zzun88.com/?aff=1011' target=_blank><img src='gg/img/zhizun80x80.gif' border='0' width=80 height=80></a><br><br><a href='http://www.cn7.cc/Index.html' target=_blank><img src='gg/img/cn80x80.gif' border='0' width=80 height=80></a></div>");
//右浮动2 
document.write("<div id=lqder style='position: absolute;visibility: visible;z-index:1;line-height:5px'><a href='http://www.hsbbet.com/?f=qazxsw123' target=_blank><img src='http://img.zw007.com/ra1155-80.gif' border='0' width=80 height=80></a><br><br><a href='http://y8bet.com/?f=asd222' target=_blank><img src='http://img.zw007.com/ra8899-80.gif' border='0' width=80 height=80></a>><br><br><a href='http://jl99999.com/?Intr=9690' target=_blank><img src='gg/img/jl80x80.gif' border='0' width=80 height=80></a><br><br><a href='http://v1bet.net/?Intr=8169' target=_blank><img src='gg/img/banner_80x80.gif' border='0' width=80 height=80></a></div>");
window.setTimeout("initMove()",600);
}
lqdellmove();


