﻿// JavaScript Document
document.write('<DIV id=divStayTopleft style="POSITION: absolute; right:0px;"><table width="110" border="0" cellspacing="0" cellpadding="0" align="right"><tr><td align="left" valign="top"><img src="images/qq_01.gif" width="110" height="70" /></td></tr><tr><td align="left" valign="top" background="images/qq_02.gif"><table width="90%" border="0" cellspacing="0" cellpadding="5" align="left"><tr><td width="30%" align="center" valign="middle"></td><td width="70%" align="left" valign="middle"><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=541911063&amp;Site=杭州半球汽车配件有限公司&amp;Menu=yes" target="blank"><IMG src="images/qqkefu01.gif" border="0"></a></td></tr><tr><td width="30%" align="center" valign="middle"></td><td width="70%" align="left" valign="middle"><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=1243274588&amp;Site=杭州半球汽车配件有限公司&amp;Menu=yes" target="blank"><IMG src="images/qqkefu02.gif" border="0"></a></td></tr></table></td></tr><tr><td align="left" valign="top"><img src="images/qq_03.gif" width="110" height="31" /></td></tr></table></DIV>')

function CloseQQ() {
	document.getElementById("table_qq").style.display="none";
}

function showQQ() {
	document.getElementById("table_qq").style.display="block";
}
    var tips; var theTop = 135/*默细叨,越越*/; var old = theTop;
    function initFloatTips() {
      tips = document.getElementById('divStayTopleft');
      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();