//document.write("<div id='myright' style='position: absolute;width:100;visibility: visible;z-index: 1'><table border='0' cellpadding='0' cellspacing='0'><tr><td>");

//var swf_url="/images/ad1.swf";
//document.write("<div id='ad_float_right_div'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='100' height='100'>    <param name='movie' value='"+swf_url+"'><param name='quality' value='high'><embed src='"+swf_url+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='100' height='100'></embed>  </object></div>");
 

//document.write("</td></tr><tr><td width='65' bgcolor='#cccccc' style='text-align:right;padding-top:2px;padding-right:3px;'><a href='javascript:close_float_right();void(0);' target='_self' style='font-size:12px;color:#000000;text-decoration:none;'>关 闭</a></td></tr> </table> </div>");

//var imgheight_close;
//document.ns = navigator.appName == "Microsoft Internet Explorer"
//var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body;
 
 
 
//window.screen.width>800 ? imgheight_close=130:imgheight_close=130;
 
 function myload()
{
 myright.style.top = bdy.scrollTop+bdy.offsetHeight-imgheight_close;
 myright.style.left = bdy.offsetWidth-130;
mymove();
}
 function mymove()
 {
 myright.style.top=bdy.scrollTop+bdy.offsetHeight-imgheight_close;
 myright.style.left=bdy.scrollLeft+bdy.offsetWidth-130;
  //alert("top="+myright.style.top);
  //alert("left="+myright.style.left);
 
 setTimeout("mymove();",50);
 }

 
function close_float_right(){
	myright.style.visibility='hidden';
}

 
//myload()
 
function blink(objId){
   var obj = eval("document.all." + objId );
   var colors=new Array();
   colors[0]="#FF0000";
   colors[1]="#00FF00";
   colors[2]="#0000FF";
   colors[3]="#FF6600";
   colors[4]="#9933CC";
   colors[5]="#996600";
   colors[6]="#330066";
   colors[7]="#669933";
   
   var i = parseInt((colors.length-0+1) * Math.random() + 1)
   obj.style.color = colors[i];
   txid = setTimeout("blink('"+ objId +"')",500);
}

function reset(objId){
   clearTimeout(txid);
   var obj = eval("document.all." + objId );
   obj.style.color = 'red';
}
//以下是右边QQ联系
document.write("<style type='text/css'>"); 
document.write("body,td,th {	font-size: 12px;}");
document.write(".QQbox {	Z-INDEX: 99; RIGHT: 0px; WIDTH: 110px; POSITION: absolute; TOP: 40px} ");
document.write(".QQbox .Qlist .t {	FONT-SIZE: 1px; FLOAT: left; WIDTH: 108px; HEIGHT: 6px}");
document.write(".QQbox .Qlist .b {	FONT-SIZE: 1px; FLOAT: left; WIDTH: 108px; HEIGHT: 6px} ");
document.write(".QQbox .Qlist .con {	BACKGROUND: #fff; MARGIN: 0px auto; WIDTH: 80%}");
document.write(".QQbox .Qlist .con H2 {	BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid;   FONT: bold 12px/22px '宋体'; BORDER-LEFT: #666666 1px solid; COLOR: #fff; BORDER-BOTTOM: #666666 1px solid; HEIGHT: 22px; TEXT-ALIGN: center} ");
document.write(".QQbox .Qlist .con UL LI {	PADDING-RIGHT: 0px; PADDING-LEFT: 8px; BACKGROUND: #e8e8e8; PADDING-BOTTOM: 0px; PADDING-TOP: 5px; HEIGHT: 20px}");
document.write(".QQbox .Qlist .con UL LI.odd {	BACKGROUND: #fff}"); 
document.write("</style> ");
document.write("<div class='QQbox' id='divQQbox' >");
document.write(" <TABLE cellSpacing=0 cellPadding=0 width=103 style='border-left:1px solid #333333;border-top:1px solid #333333;border-right:1px solid #333333;font-size:12px;color:#ffffff'><TR bgcolor=#2E6287><TD height=20 align=center>客户服务中心</TD></TR></TABLE>");
document.write(" <table border='1' width='103' id='table1' bordercolor='#2E6287'  bgcolor='#f1f1f1'><tr bgcolor=#2E6287><td height=20 align=center>售前服务</td></tr>");
document.write("<tr><td>");


document.write("<table border='0' width='100%' cellSpacing=0 cellPadding=0 height=60>");
document.write("<tr><td bgcolor=#ffffff height=30> <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=709787111&Exe=QQ&Site=rantong.com&Menu=yes><span class='rantong'><img SRC=http://wpa.qq.com/pa?p=1:709787111:8 alt=你好，点击这里给我发消息 height='16' border=0></span></a></td></tr>");
document.write("<tr><td bgcolor=#ffffff height=30> <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=2369414783&Exe=QQ&Site=rantong.com&Menu=yes><span class='rantong'><img SRC=http://wpa.qq.com/pa?p=1:2369414783:8 alt=你好，点击这里给我发消息 height='16' border=0></span></a></td></tr>");
//document.write("<tr><td bgcolor=#f1f1f1><a target='_blank' href=' http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=60d158bb05661718@apps.messenger.live.com&mkt=zh-cn'><img style='border-style: none;' src='http://messenger.services.live.com/users/60d158bb05661718@apps.messenger.live.com/presenceimage?mkt=zh-cn' width='16' height='16' />MSN交谈</a></td></tr>");
//document.write("<tr><td bgcolor=#ffffff><a href='msnim:chat?contact=mtq12345@gmail.com'>MSN</a></td></tr>");
document.write("</table>");
document.write("</td></tr><tr bgcolor=#2E6287><td height=20 align=center>技术支持</td></tr><tr><td>");
document.write("<table border='0' width='100%' cellSpacing=0 cellPadding=0 height=30>");
document.write("<tr><td bgcolor=#ffffff height=30> <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=2603982764&Exe=QQ&Site=rantong.com&Menu=yes><span class='rantong'><img SRC=http://wpa.qq.com/pa?p=1:2603982764:8 alt=你好，点击这里给我发消息 height='16' border=0></span></a></td></tr>");
document.write("<tr><td bgcolor=#ffffff height=30> <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=2295713889&Exe=QQ&Site=rantong.com&Menu=yes><span class='rantong'><img SRC=http://wpa.qq.com/pa?p=1:2295713889:8 alt=你好，点击这里给我发消息 height='16' border=0></span></a></td></tr>");
document.write("<tr><td bgcolor=#ffffff height=30> <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=10990858&Exe=QQ&Site=rantong.com&Menu=yes><span class='rantong'><img SRC=http://wpa.qq.com/pa?p=1:10990858:8 alt=你好，点击这里给我发消息 height='16' border=0></span></a></td></tr>");
document.write("</table>");
document.write("</td></tr></table> ");

//document.write("<object id='MsgrObj' classid='clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28' codetype='application/x-oleobject' width='0' height='0'></object>");
//document.write("<a target='_blank' href=' http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=60d158bb05661718@apps.messenger.live.com&mkt=zh-cn'><img style='border-style: none;' src='http://messenger.services.live.com/users/60d158bb05661718@apps.messenger.live.com/presenceimage?mkt=zh-cn' width='16' height='16' /></a>");
//document.write("<input type=image src='MSN.gif' alt='在线MSN交流' onClick=\"SendMSNMessage('mtq12345@gmail.com')\" />");
document.write("<TABLE cellSpacing=0 cellPadding=0 width=103    style='border-left:1px solid #333333;border-top:1px solid #333333;border-right:1px solid #333333;font-size:12px;color:#ffffff'><tr bgcolor=#2E6287><TD style='CURSOR: hand' onclick=divQQbox.style.visibility='hidden' height=20 align=center>关闭</TD></tr></TABLE>");
document.write("</div>");

//<![CDATA[
var tips; var theTop = 40/*这是默认高度,越大越往下*/; var old = theTop;
function initFloatTips() {
  tips = document.getElementById('divQQbox');
  moveTips();
};
function moveTips() {
  var tt=50;
  if (window.innerHeight) {
    pos = window.pageYOffset
  }
  else if (document.documentElement && document.documentElement.scrollTop) {
    pos = document.documentElement.scrollTop
  }
  else if (document.body) {
    pos = document.body.scrollTop;
  }
  pos=pos-tips.offsetTop+theTop;
  pos=tips.offsetTop+pos/10;

  if (pos < theTop) pos = theTop;
  if (pos != old) {
    tips.style.top = pos+"px";
    tt=10;
  //alert(tips.style.top);
  }

  old = pos;
  setTimeout(moveTips,tt);
}
//!]]>
initFloatTips();



	function OnlineOver(){
		document.getElementById("divMenu").style.display = "none";
		document.getElementById("divOnline").style.display = "block";
		document.getElementById("divQQbox").style.width = "135px";
	}
	
	function OnlineOut(){
		document.getElementById("divMenu").style.display = "block";
		document.getElementById("divOnline").style.display = "none";

	}

 function hideMsgBox(theEvent){  //theEvent用来传入事件，Firefox的方式
 　       if (theEvent){
   　           var browser=navigator.userAgent;   //取得浏览器属性
   　           if (browser.indexOf("Firefox")>0){  //如果是Firefox
    　　             if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) {  //如果是子元素
     　　                  return;   //结束函式
                        } 
                  } 
                  if (browser.indexOf("MSIE")>0){  //如果是IE
                         if (document.getElementById('divOnline').contains(event.toElement)) {  //如果是子元素
                                return;  //结束函式
                          }
                   }
             }
            /*要执行的操作*/
		document.getElementById("divMenu").style.display = "block";
		document.getElementById("divOnline").style.display = "none";
 }
 

function SendMSNMessage(name)

{

 //Send a message through MSN , only for IE

 //and you must have installed MSN or Window Message

 MsgrObj.InstantMessage(name);

}

function AddMSNContact(name)

{

 //Add a people to MSN , only for IE

 //and you must have installed MSN or Window Message

 MsgrObj.AddContact(0, name);

}

 



 



 
