var imgheight,qq1,qq2,qq3,qq4,qq1_name,qq2_name,qq3_name,qq4_name
qq1="304522472"         //QQ号码
qq1_name="Marketing"  //显示名称\
qq2="653837466"         //QQ号码
qq2_name="Marketing"  //显示名称
qq3="1465184433"         //QQ号码
qq3_name="Marketing"  //显示名称
qq4="1758088609"         //QQ号码
qq4_name="Marketing"  //显示名称


document.ns = navigator.appName == "Netscape"
imgheight=285	//广告与页面顶部的距离

//var leftAd=6	//左边广告与页面左边的距离
leftAd=window.screen.width/10*8	//广告与页面左边的距离
if(window.screen.width==1024)
{
	leftAd=895
}

function myload()
{
	if (navigator.appName == "Netscape")
	{
		document.QQService.pageY=pageYOffset+imgheight;
		document.QQService.pageX=+leftAd;
		mymove();
	}
	else
	{
		QQService.style.top=document.body.scrollTop+imgheight;
		QQService.style.left=document.body.scrollLeft+leftAd;
		mymove();
	}
}

function mymove()
{
	if(document.ns)
	{
		document.QQService.top=pageYOffset+imgheight;
		document.QQService.left=pageXOffset+leftAd;
		setTimeout("mymove();",20)
	}
	else
	{
		QQService.style.top=document.body.scrollTop+imgheight;
		QQService.style.left=document.body.scrollLeft+leftAd;
		setTimeout("mymove();",20)
	}
}

function closeADS(Obj)
{
	eval(Obj).innerHTML="";
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)

if (navigator.appName == "Netscape")//如果浏览器是 Netscape
{
	//document.write("<layer id=QQService top=300 width=80 height=88><EMBED src='http://ad4.sina.com.cn/zhlx/lg-0417-hpright.swf' quality=high  WIDTH=80 HEIGHT=80 TYPE='application/x-shockwave-flash' wmode=opaque></EMBED></layer>");//最左边
	//myload();
}
else//如果浏览器是 IE
{
	document.write("<div id='QQService' style='position: absolute;width:98;top:0;left:0;visibility: visible;z-index: 1'>");
	document.write('<table cellpadding="0" cellspacing="0" width="100%"><tr><td height="1"></td></tr></table>');
	document.write("<table border='0' width='100%' cellpadding='0' cellspacing='0' bgcolor='#299DCE'><tr><td bgcolor='#FFFFFF'><table border='0' cellpadding='0' cellspacing='0' width='98' height='' align='center'><tr><td><img src='Service_001.gif' width='98' height='88'></td></tr>");
	document.write("<tr><td><table border='0' cellpadding='0' cellspacing='0' width='98' height='' align='center'>");
	document.write("<tr height='21' align=center class='bg_y_center'><td background='Service_002.gif'><a href='http://wpa.qq.com/msgrd?V=1&Uin="+qq1+"&Site=平安行科技"+qq1_name+"&Menu=yes' target='_blank'>"+qq1_name+"<img border='0' SRC=http://wpa.qq.com/pa?p=1:"+qq1+":4></a></td></tr>");
	document.write("<tr height='21' align=center class='bg_y_center'><td background='Service_002.gif'><a href='http://wpa.qq.com/msgrd?V=1&Uin="+qq2+"&Site=平安行科技"+qq2_name+"&Menu=yes' target='_blank'>"+qq2_name+"<img border='0' SRC=http://wpa.qq.com/pa?p=1:"+qq2+":4></a></td></tr>");
	document.write("<tr height='21' align=center class='bg_y_center'><td background='Service_002.gif'><a href='http://wpa.qq.com/msgrd?V=1&Uin="+qq3+"&Site=平安行科技"+qq3_name+"&Menu=yes' target='_blank'>"+qq3_name+"<img border='0' SRC=http://wpa.qq.com/pa?p=1:"+qq3+":4></a></td></tr>");
		document.write("<tr height='21' align=center class='bg_y_center'><td background='Service_002.gif'><a href='http://wpa.qq.com/msgrd?V=1&Uin="+qq4+"&Site=平安行科技"+qq4_name+"&Menu=yes' target='_blank'>"+qq4_name+"<img border='0' SRC=http://wpa.qq.com/pa?p=1:"+qq4+":4></a></td></tr>");

	document.write("<tr><td><a href='#top'><img src='Service_004.jpg' width='98' height='26' border='0' alt='返回顶端'></a></td></tr></table></td></tr></table></td></tr></table>");
	document.write('<table cellpadding="0" cellspacing="0" width="100%"><tr><td height="1" bgcolor="#FFFFFF"></td></tr></table>');
	document.write("</div>");//最左边
	myload();
}
if(window.screen.width<=800)
	document.getElementById("QQService").style.display="none";
