<!--

//var online= new Array();
//
////var picright="image/gkright.jpg" ;
////var picleft="image/gkleft.jpg" ;
//var showad = true;        //是否显示广告
//var Toppx = 70;            //上端位置
//var QQtoppx =320;      //QQ上端位置
//var AdDivW = 89;        //宽度
//var AdDivH = 230;        //高度
//var QQDivW = 86;         //QQ宽度
//var QQDivH = 203;        //QQ高度
//var PageWidth = 800;    //页面多少宽度象素下正好不出现左右滚动条
//var MinScreenW = 1024;    //显示广告的最小屏幕宽度象素
//
////document.write("<div style='display:none;'>http://webpresence.qq.com/getonline?Type=1&269866391:122424995:</div>");
////document.write("<div style='display:none;'>http://download.skype.com/share/skypebuttons/js/skypeCheck.js</div>");
//document.write("<style type='text/css'>");
//document.write("<!--");
//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_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("#qq_box{Z-INDEX:1000; FILTER: alpha(opacity=100); WIDTH: "+QQDivW+"px; height:"+QQDivH+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");
//document.write("#qq_box_top{height:49px; background-image:url(images/index_38.jpg);}");
//document.write("#qq_box_bottom{height:64px; background-image:url(images/index_65.jpg);}");
//document.write("#qq_box ul{list-style-type:none; padding:0px; margin:0px;}");
//document.write("#qq_box ul li{ padding:0px; list-style-type:none; padding:0px;}");
//document.write("#qq_box ul li img{float:left; margin:0px;}");
//document.write(".dl_cls{text-align:center; width:94px; overflow:hidden;}");
//document.write("-->");
//document.write("</style>");
//
//document.write("<DIV id=dl_right><img src='images/index_09.jpg' border='0'></div>");
//document.write("<DIV id=dl_left><img src='images/index_09.jpg' border='0'></div>");
//
//document.write("<DIV id=qq_box>");
//document.write("<Div id=qq_box_top></Div>");
//document.write("<UL>");
//document.write("<li><a href='mailto:d.zheng@hope-studyabroad.com'><img src='images/index_51.jpg' width='86' height='44' border='0'/></a></li>");
//document.write("<li><img src='images/index_59.jpg' width='86' height='46'/></li>");
//document.write("</UL>");
//document.write("<Div id=qq_box_bottom><img src='images/index_65.jpg' width='86' height='64' border='0'/></Div></div>");

function scall(){
    if(!showad){return;}
    if (window.screen.width<MinScreenW){
        alert("临时提示：\n\n显示器分辨率宽度小于"+MinScreenW+",不显示广告");
        showad = false;
        document.getElementById("Javascript.LeftDiv").style.display="none";
        document.getElementById("dl_left").style.display="none";
        document.getElementById("dl_right").style.display="none";
		document.getElementById("qq_box").style.display="none";
        return;
    }
    var Borderpx = ((window.screen.width-PageWidth)/2-AdDivW)/2;

    //document.getElementById("Javascript.LeftDiv").style.display="";
    //document.getElementById("Javascript.LeftDiv").style.top=(document.documentElement.scrollTop+Toppx)+"px";
    //document.getElementById("Javascript.LeftDiv").style.left=(document.documentElement.scrollLeft+Borderpx)+"px";
    document.getElementById("dl_left").style.display="";
   document.getElementById("dl_left").style.top=(document.documentElement.scrollTop+Toppx)+"px";
    //document.getElementById("dl_left").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("dl_left").offsetWidth-Borderpx)+5+"px";
	document.getElementById("dl_left").style.left="3px";
	//document.getElementById("dl_left").style.top="90px";
	document.getElementById("qq_box").style.display="";
   document.getElementById("qq_box").style.top=(document.documentElement.scrollTop+QQtoppx)+"px";
	document.getElementById("qq_box").style.right="3px";
	
    document.getElementById("dl_right").style.display="";
    document.getElementById("dl_right").style.top=(document.documentElement.scrollTop+Toppx)+"px";
	//document.getElementById("dl_right").style.top="90px";
    document.getElementById("dl_right").style.right="3px";
}

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 qqhidead()
{
    showad = false;
   // document.getElementById("Javascript.LeftDiv").style.display="none";
    //document.getElementById("dl_left").style.display="none";
    //document.getElementById("dl_right").style.display="none";
	document.getElementById("qq_box").style.display="none";
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
//-->



