<!--
var mypath='http://www.goldking.com.cn/',mypaths;
/*for(i=0;i<document.scripts.length;i++)
  {
    if(document.scripts[i].src.indexOf('js/sk.js?')!='-1')
    {
      mypath=document.scripts[i].src ;
      mypaths=mypath.split('?') ;
      mypath=mypaths[1] ;
      break ;
    }
  }
*/

function WriteQqStr()
{
	document.write('<DIV id=backi style="RIGHT: 0px; OVERFLOW: visible; POSITION: absolute; TOP: 165px">');
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="72">');
	document.write('<tr><td><a href="javascript:close_float_left();void(0);" title="close"><IMG src="'+mypath+'img/sk/01.gif" border=0></a></td></tr>');
	//qq
	document.write('<tr height=30><td align=center background="'+mypath+'img/sk/02.gif"><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=1550950621&Site=Goldking&Menu=yes> <img border="0" SRC=http://wpa.qq.com/pa?p=5:1550950621:5 alt="Send a message!"></a></td></tr>');
	//document.write('<tr height=30><td align=center background="img/sk/02.gif"><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=471511193&Site=百巨晶水晶&Menu=yes> <img border="0" SRC=http://wpa.qq.com/pa?p=5:471511193:5 alt="点击这里给我发消息"></a></td></tr>');

	/*for(var i=0;i<online.length;i++){
		var tempStr='QQ客服'+(i+1).toString(10);
		//alert(tempStr);
		if (online[i]==1){
			document.write('<tr><td><A href="tencent://message/?uin=' + arrQQ[i] + '&Site=' + site + '&Menu=yes"><IMG src="'+mypath+'img/sk/02.gif" border=0></A></td></tr>');
			document.write('<tr><td style="color:white;font-size:10pt;" bgcolor="#FF7300" background="'+mypath+'img/sk/text_bg.gif" align=center>'+tempStr+'</td></tr>');
		} else {
			document.write('<tr><td><A href="tencent://message/?uin=' + arrQQ[i] + '&Site=' + site + '&Menu=yes"><IMG src="'+mypath+'img/sk/02_1.gif" border=0></A></td></tr>');
			document.write('<tr><td style="color:white;font-size:10pt;" bgcolor="#FF7300" background="'+mypath+'img/sk/text_bg.gif" align=center>'+tempStr+'</td></tr>');
		}

	}*/

	//网络电话
	//document.write('<tr><td><A href="img/sk/dial.php?headcall=83085112345"><IMG src="'+mypath+'img/sk/03.gif" border=0></A></td></tr>');
	//旺旺
	//document.write('<tr><td><A href="http://amos1.taobao.com/msg.ww?v=2&uid=1111a&s=2" target=_blank><IMG src="'+mypath+'img/sk/04.gif" border=0></A></td></tr>');
	//document.write('<tr><td><A href="msnim:chat?contact=sumuze@msn.com" target=_blank><IMG src="'+mypath+'img/sk/06.gif" border=0></A></td></tr>');
	document.write('<tr><td><A href="'+mypath+'feedback/index.php?lang=cn" target=_self><IMG src="'+mypath+'img/sk/05-1.gif" border=0></A></td></tr>');
	document.write('</table>');
	document.write('</DIV>');
}

function close_float_left(){backi.style.visibility='hidden';}

lastScrollY=0;
function heartBeat(){
	diffY=document.documentElement.scrollTop;
	percent=.1*(diffY-lastScrollY);
	if(percent>0)percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	//document.all.backi.style.pixelTop+=percent;
	document.getElementById('backi').style.pixelTop+=percent;
	lastScrollY=lastScrollY+percent;
}

if (!document.layers) {WriteQqStr();window.setInterval("heartBeat()",1); }
//-->
