<!--

//var online= new Array();

var showad = true;        //是否显示广告
var Toppx = 100;            //上端位置
var AdDivW = 120;        //宽度
var AdDivH = 400;        //高度
var PageWidth = 800;    //页面多少宽度象素下正好不出现左右滚动条
var MinScreenW = 1024;    //显示广告的最小屏幕宽度象素

//document.write("<div style='display:none;'>http://webpresence.qq.com/getonline?Type=1&498001968:37420759:574377721:403247562:561416722:619468819:</div>");
document.write("<style type='text/css'>");
document.write("<!--");
document.write("#dl-left{Z-INDEX:1000; FILTER: alpha(opacity=100); WIDTH: "+AdDivW+"px; height:"+AdDivH+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");

document.write("#dl-left2{Z-INDEX:1000; FILTER: alpha(opacity=100); WIDTH: "+AdDivW+"px; height:"+133+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");

document.write("#dl-right{Z-INDEX:1000; FILTER: alpha(opacity=100); WIDTH: "+AdDivW+"px; height:"+AdDivH+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");

document.write("#dl-right2{Z-INDEX:1000; FILTER: alpha(opacity=100); WIDTH: "+AdDivW+"px; height:"+110+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");

document.write(".dl_cls{text-align:center; width:120px; overflow:hidden;}");
document.write(".dl_other{text-align:center; width:120px; overflow:hidden; margin-top:10px;}");

/*
document.write("#qq_box_top{height:39px; background-image:url(qq_img/top.gif);}");
document.write("#qq_box_bottom{height:21px; background-image:url(qq_img/bottom.gif);}");
document.write("#qq_box_cls{background:url(qq_img/clos.gif) no-repeat right center; padding-right:15px; width:25px; height:18px; line-height:25px; float:right; margin-right:5px;}");
document.write("#qq_box ul{background-image:url(qq_img/bg.gif);}");
document.write("#qq_box ul li{height:25px; background:url(qq_img/line.gif) no-repeat left bottom; padding:0px 10px 11px 10px; line-height:25px; font-weight:bold;}");
document.write("#qq_box ul li img{float:left; margin-top:3px; margin-right:3px;}");
*/
document.write("-->");
document.write("</style>");

document.write("<DIV id=dl-left>");
//document.write("<a href='http://www.51pla.com/' target='_blank'><img src='/js/ad/51ad.gif' border='0'></a>");
//document.write("<Div class=dl_cls><a href='javascript:;' onclick='hidead()'><img src='/images/close.gif' width='80' height='16' /></a></Div>");
document.write("</DIV>");

//document.write("<Div id=dl-left2><a href='#' onclick='showWWPopup();'><img src='/cj/right.jpg' /></a></Div>")

document.write("<DIV id=dl-right>");
//document.write("<a href='http://www.51pla.com/' target='_blank'><img src='/js/ad/51ad.gif' border='0'></a>");
//document.write("<Div class=dl_cls><a href='javascript:;' onclick='hidead()'><img src='/images/close.gif' width='80' height='16' /></a></Div>");
document.write("</DIV>");

document.write("<Div id=dl-right2>")
document.write("<div style=' width:120px; height:27px;'><img src='images/kefu_up.gif' alt='' /></div><div style=' width:110px; background:url(images/kefu_middle.gif); padding:8px 0px 8px 10px;'> <a target=blank href=tencent://message/?uin=498715637&Site=蓝硕企业管理&Menu=yes><img src='images/01_online.gif' alt='点击这里给我留言' border='0' /></a></div><div style='width:120px; height:18px;'><img src='images/kefu_down.gif' alt='' /></div>");
document.write("</DIV>");
document.write("<Div id=dl-left2>")
document.write("<Div class=dl_cls></Div>");
document.write("</DIV>");

function scall(){
	//if (document.getElementById("dl-left2").style.top>=document.body.scrollHeight){return;}
    if(!showad){return;}
    if (window.screen.width<MinScreenW){
        //alert("临时提示：\n\n显示器分辨率宽度小于"+MinScreenW+",不显示广告");
        showad = false;
        document.getElementById("dl-left").style.display="none";
        document.getElementById("dl-right").style.display="none";
        return;
    }
    var Borderpx = ((window.screen.width-PageWidth)/2-AdDivW)/2;
	
    document.getElementById("dl-left").style.display="";
    document.getElementById("dl-left").style.top=Toppx+"px";
	document.getElementById("dl-left").style.right=5+"px";
    //document.getElementById("dl-left").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("dl-left").offsetWidth-Borderpx)+5+"px";
	
    document.getElementById("dl-right").style.display="";
    document.getElementById("dl-right").style.top=Toppx+"px";
    document.getElementById("dl-right").style.left="5px";

    if (document.body.scrollTop < document.body.scrollHeight){
	   //alert (document.body.scrollHeight)
	   
	   /*
    document.getElementById("dl-left2").style.display="";
    document.getElementById("dl-left2").style.top=(document.documentElement.scrollTop+Toppx)+300+"px";
    document.getElementById("dl-left2").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("dl-left2").offsetWidth-Borderpx)+5+"px";
	*/
	//myright.style.top=bdy.scrollTop+bdy.offsetHeight-imgheight_close;
	/*
    document.getElementById("dl-left2").style.display="";
    document.getElementById("dl-left2").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-190+"px";
    document.getElementById("dl-left2").style.left="5px";
	*/
	
    document.getElementById("dl-right2").style.display="";
    document.getElementById("dl-right2").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-180+"px";
    document.getElementById("dl-right2").style.right="5px";
	
	document.getElementById("dl-left2").style.display="";
    document.getElementById("dl-left2").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-180+"px";
    document.getElementById("dl-left2").style.left="5px";
	}
	/*
    document.getElementById("qq_box").style.display="";
    document.getElementById("qq_box").style.top=(document.documentElement.scrollTop+Toppx)+"px";
 document.getElementById("qq_box").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("qq_box").offsetWidth-Borderpx)+"px";*/
 //if (document.getElementById("dl-left2").style.top>=document.body.scrollHeight){return;}
}

function hidead()
{
    showad = false;
   // document.getElementById("Javascript.LeftDiv").style.display="none";
    document.getElementById("dl-left").style.display="none";
	document.getElementById("dl-right").style.display="none";
}
function hidead1()
{
    showad = false;
   // document.getElementById("Javascript.LeftDiv").style.display="none";
    //document.getElementById("dl-left").style.display="none";
	document.getElementById("dl-right2").style.display="none";
	document.getElementById("dl-left2").style.display="none";
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
//-->

