﻿<!--

//var online= new Array();

var showad = true;        //是否显示广告
var Toppx = 440;            //上端位置
var AdDivW = 114;        //宽度
var AdDivH = 400;        //高度
var PageWidth = 800;    //页面多少宽度象素下正好不出现左右滚动条
var MinScreenW = 1024;    //显示广告的最小屏幕宽度象素

document.write("<div style='display:none;'>http://webpresence.qq.com/getonline?Type=1&498001968:785767674:37420759:403247562:561416722:</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:"+310+"px; TEXT-ALIGN: left;  color:#000;overflow:hidden; position: absolute; top:-1000px;}");

document.write(".dl_cls{text-align:center; width:94px; overflow:hidden;}");
document.write(".dl_other{text-align:center; width:94px; overflow:hidden; margin-top:10px;}");
document.write("#con{padding-left:6px;background:url(/cn/images/kefu_middle.gif) repeat-y left center;}");
document.write("A.qqa:link {COLOR: red; text-decoration: none}");
document.write("A.qqa:visited {COLOR: red; text-decoration: none}");
document.write("A.qqa:active {COLOR: red; text-decoration: none}");
document.write("A.qqa:hover {COLOR: blue; text-decoration: none}");
document.write("A.qqb:link {COLOR: black; text-decoration: none;}");
document.write("A.qqb:visited {COLOR: black; text-decoration: none}");
document.write("A.qqb:active {COLOR: black; text-decoration: none}");
document.write("A.qqb:hover {COLOR: blue; text-decoration: none}");

/*
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.cmpexpo.cn/' target='_blank'><img src='/cn/images/kefu_up.gif' border='0'></a>");
document.write("<DIV id=con><ul>");
if (online[0]==0)
document.write("<li><img src=/cn/images/QQoffline.gif border=0 align=middle>&nbsp;<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=37420759&Site=正羽商务咨询&Menu=no' title='客服不在线，请留言'>国际商标咨询</a></li>");
else
document.write("<li><img src=/cn/images/QQonline.gif border=0 align=middle>&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=37420759&Site=正羽商务咨询&Menu=no' title='在线即时交谈'>国际商标咨询</a></li>");
if (online[1]==0)
document.write("<li><img src=/cn/images/QQoffline.gif border=0 align=middle>&nbsp;<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=785767674&Site=正羽商务咨询&Menu=no' title='客服不在线，请留言'>银行开户咨询</a></li>");
else
document.write("<li><img src=/cn/images/QQonline.gif border=0 align=middle>&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=785767674&Site=正羽商务咨询&Menu=no' title='在线即时交谈'>银行开户咨询</a></li>");
if (online[2]==0)
document.write("<li><img src=/cn/images/QQoffline.gif border=0 align=middle>&nbsp;<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=498001968&Site=正羽商务咨询&Menu=no' title='客服不在线，请留言'>离岸公司咨询</a></li>");
else
document.write("<li><img src=/cn/images/QQonline.gif border=0 align=middle>&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=498001968&Site=正羽商务咨询&Menu=no' title='在线即时交谈'>离岸公司咨询</a></li>");
if (online[3]==0)
document.write("<li><img src=/cn/images/QQoffline.gif border=0 align=middle>&nbsp;<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=403247562&Site=正羽商务咨询&Menu=no' title='客服不在线，请留言'>后期管理咨询</a></li>");
else
document.write("<li><img src=/cn/images/QQonline.gif border=0 align=middle>&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=403247562&Site=正羽商务咨询&Menu=no' title='在线即时交谈'>后期管理咨询</a></li>");
if (online[4]==0)
document.write("<li><img src=/cn/images/QQoffline.gif border=0 align=middle>&nbsp;<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=561416722&Site=正羽商务咨询(邱小姐)&Menu=no' title='客服不在线，请留言'>商务合作专区</a></li>");
else
document.write("<li><img src=/cn/images/QQonline.gif border=0 align=middle>&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=561416722&Site=正羽商务咨询(邱小姐)&Menu=no' title='在线即时交谈'>商务合作专区</a></li>");
document.write("</ul></DIV>");
document.write("<a href='http://www.cmpexpo.cn/' target='_blank'><img src='/cn/images/kefu_down.gif' border='0'></a>");
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='#' target='_blank'><img src='/images/left.jpg' 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><a href='#' target='_blank'><img src='/images/right.jpg' /></a>")
//document.write("<Div id=dl-right2><embed src='/js/1231.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='94' height='200'></embed>");
//document.write("<Div class=dl_cls><a href='javascript:;' onclick='hidead1()'><img src='/images/close.gif' width='80' height='16' /></a></Div>");
//document.write("</DIV>");


function scall(){
	var MinScreenW=1024;
	//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";
	//alert(document.body.scrollTop);
    if ((document.documentElement.scrollTop+440) < 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-right").style.display="";
    document.getElementById("dl-right").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-640+"px";
    document.getElementById("dl-right").style.right="5px";
	
    document.getElementById("dl-right2").style.display="";
    document.getElementById("dl-right2").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-640+"px";
    document.getElementById("dl-right2").style.right="0px";
	document.getElementById("dl-left").style.display="";
    document.getElementById("dl-left").style.top=(document.documentElement.scrollTop+document.documentElement.offsetHeight)-240+"px";
    document.getElementById("dl-left").style.right="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-right").style.display="none";
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
//-->
