﻿function Moveduilian3() {
var x = 0;                                                 //浮动广告层固定于浏览器的x方向位置
var y = 120;                                                //浮动广告层固定于浏览器的y方向位置
var diff = (document.documentElement.scrollTop + y - document.all.duilian3.style.posTop)*.40;
var y = document.documentElement.scrollTop + y - diff;
eval('document.all.duilian3.style.posTop = y');
eval('document.all.duilian3.style.posRight = x');         //移动广告层
setTimeout("Moveduilian3();", 80);                   //设置20毫秒后再调用函数MoveLayer()
}
function winload() 
{ 
	document.all.duilian3.style.top=85; 
	document.all.duilian3.style.right=0; 
	var nm=readCookie("service");
	if(nm!="")
	{
		setduilian3(nm);
	}
} 
function setduilian3(nm)
{
	var whichEle;
	whichEle = document.getElementById("table01");
	var djEle;
	djEle=document.getElementById("dj");
	var djimg;
	djimg=document.getElementById("imgs");	
	
	if(nm=="off")	
	{
		whichEle.style.display="block";
		  djEle.title="[点击显示]";
		  djimg.src="/service/kefu1.gif";
	}
	if(nm=="on")	
	{
		 whichEle.style.display="none";	
		  djEle.title="[点击隐藏]";
		  djimg.src="/service/kefu2.gif";
	}
}
function changelayer()
{
		var whichEle;
		whichEle = document.getElementById("table01");
		var djEle;
		djEle=document.getElementById("dj");
		var djimg;
		djimg=document.getElementById("imgs");
		
		if(whichEle.style.display=="block")
		{
		  whichEle.style.display="none";	
		  djEle.title="[点击显示]";
		  djimg.src="/service/kefu2.gif";
		  SetCookie("on")  
		 
		  
		}
		else
		if(whichEle.style.display=="none"){
		  whichEle.style.display="block";
		  djEle.title="[点击隐藏]";
		  djimg.src="/service/kefu1.gif";
		  SetCookie("off")	  
		}
}

function  SetCookie(value)
//设定Cookie值
{	
	var Days = 30; //此 cookie 将被保存 30 天
    var exp  = new Date();    //new Date("December 31, 9998");
    exp.setTime(exp.getTime() + Days*24*60*60*1000);
	document.cookie  =  "service"  +  "="  +  escape  (value)  + ";  expires="+  exp.toGMTString() +";  domain=.xzuan.com" ;
	
}
function readCookie(name)
{ 　　 
	var cookieValue = "";
	var search = name + "=";
	if(document.cookie.length > 0)
	{
		offset = document.cookie.indexOf(search);
		if (offset != -1)
		{ 　　 
			offset += search.length;
			end = document.cookie.indexOf(";", offset); 　　 
			if (end == -1) end = document.cookie.length; 　　 
			cookieValue = unescape(document.cookie.substring(offset, end)) 　　 
		} 　　 
	} 　　 
	return cookieValue; 　　
} 

function changelayer2()
{
		var whichEle;
		whichEle = document.getElementById("table01");
		if(whichEle.style.display=="none"){
		  whichEle.style.display="block";		
		}
}

{ 


document.write("<div id=duilian3 class='service'>");
document.write("<table width='18'  border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<a id='dj' href='#' title='[点击显示]'onMouseOver='changelayer()' onFocus='this.blur()' ><td valign='top' height='420'>");
document.write("<img id='imgs' src='/service/kefu2.gif' width='18' height='107'  border='0'/>");
document.write("</td></a>");
document.write("<td id='table01' style='display:none;'>");
document.write("<div class='tabbg'>");
document.write("<div class='divbg1'>种善因 得善果</div>");
document.write("<div style='; line-height:20px; font-size:12px; padding-bottom:5px;'>");

document.write("<div style='text-align:center;'>");
document.write("<img src='/service/amtf.gif' />");
document.write("</div>");

document.write("<div style='text-align:center;color:#df2183; font-weight:bold;line-height:20px;padding-top:10px;'>");
document.write("电话400-766-7758");
document.write("</div>");

document.write("<div style='text-align:center;line-height:20px; font-size:12px; padding-top:0px; padding-bottom:0px;'>");
document.write("(早8:30-晚21:00)");
document.write("</div>");


document.write("<div class='divbg2'>在线洽谈</div>");
document.write("<div style='margin-left:0px;font-size:12px; padding-top:0px; padding-bottom:5px;'>");
document.write("<table width='100' height='80px' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='100' style='padding-left:9px;height:22px;'>");
document.write("<a href=http://float2006.tq.cn/static.jsp?version=vip&admiuin=8712148&uin=8739009&ltype=0&iscallback=1 target=_blank>客服椰子<img src=http://float2006.tq.cn/staticimg.jsp?version=vip&admiuin=8712148&uin=8739009&ltype=0&style=1 border='0'></a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='100' style='padding-left:9px;height:22px;'>");
document.write("<a href=http://float2006.tq.cn/static.jsp?version=vip&admiuin=8712148&uin=8739006&ltype=0&iscallback=1 target=_blank>客服小灵<img src=http://float2006.tq.cn/staticimg.jsp?version=vip&admiuin=8712148&uin=8739006&ltype=0&style=1 border='0'></a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='100' style='padding-left:9px;height:22px;'>");
document.write("<a href=http://float2006.tq.cn/static.jsp?version=vip&admiuin=8712148&uin=8712148&ltype=0&iscallback=1 target=_blank>客服小杨<img src=http://float2006.tq.cn/staticimg.jsp?version=vip&admiuin=8712148&uin=8712148&ltype=0&style=1 border='0'></a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='100' style='padding-left:3px;padding-top:3px;height:31px;'>");
document.write("<a href='http://vip.tq.cn/vip/leavemsg.do?admiuin=8712148&uin=8712148&ltype=1&iscallback=1&agentid=0&clientid=&color=5&style=1&tq_right_infocard_url=&page=http://www.fojiaoyongpin.com/&localurl=http://www.fojiaoyongpin.com/goods-2084.html&tq_bottom_ad_url=' target='_blank'><img src='/service/bot_new_001.gif' /></a>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");


document.write("<div style='margin-left:0px;font-size:12px; padding-top:0px; padding-bottom:5px;'>");
document.write("<table width='100' height='40px' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='40' align='right' style='padding-right:5px;'>");
document.write("<a target=blank href=tencent://message/?uin=1033220951&Site=在线咨询&Menu=yes title='联系我'><img border='0' SRC=http://wpa.qq.com/pa?p=1:1033220951:4 alt='' align='middle'></a>");
document.write("</td>");
document.write("<td width='60' align='left'>");
document.write("<a target=blank href=tencent://message/?uin=1033220951&Site=在线咨询&Menu=yes title='联系我'>客服一</a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='40' align='right' style='padding-right:5px;'>");
document.write("<a target=blank href=tencent://message/?uin=1027884620&Site=在线咨询&Menu=yes title='联系我'><img border='0' SRC=http://wpa.qq.com/pa?p=1:1027884620:4 alt='' align='middle'></a>");
document.write("</td>");
document.write("<td width='60' align='left'>");
document.write("<a target=blank href=tencent://message/?uin=1027884620&Site=在线咨询&Menu=yes title='联系我'>客服二</a>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");

document.write("<div style='width:80%; height:10x; border-bottom:1px dashed #666; font-size:0px; line-height:0px; margin:0px auto;'></div>");

document.write("<div style='margin-left:0px;font-size:12px; padding-top:5px; padding-bottom:5px;'>");
document.write("<table width='100' height='40px' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='100' align='right' style='padding-right:5px;padding-top:3px;'>");
document.write("<a target='_blank' href='http://amos1.taobao.com/msg.ww?v=2&uid=%E9%9B%8D%E5%92%8C%E4%BD%9B%E5%85%B7&s=1' ><img border='0' src='http://amos1.taobao.com/online.ww?v=2&uid=%E9%9B%8D%E5%92%8C%E4%BD%9B%E5%85%B7&s=1' alt='联系我' /></a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='100' align='right' style='padding-right:5px;padding-top:3px;'>");
document.write("<a target='_blank' href='http://amos1.taobao.com/msg.ww?v=2&uid=%E4%BD%9B%E5%85%B7%E6%89%B9%E5%8F%91&s=1' ><img border='0' src='http://amos1.taobao.com/online.ww?v=2&uid=%E4%BD%9B%E5%85%B7%E6%89%B9%E5%8F%91&s=1' alt='联系我' /></a>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");


document.write("<div style='width:80%; height:10x; border-bottom:1px dashed #666; font-size:0px; line-height:0px; margin:0px auto;'></div>");


document.write("<div style='font-size:12px;'>");
document.write("<table width='100' height='20px' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='40' align='right' style='padding-right:5px;padding-top:2px;'>");
document.write("<a target=blank href=msnim:chat?contact=baopifa_01@hotmail.com title='MSN 客服'><img border='0' width='16' height='16' SRC='/service/msn.gif' alt='' align='middle'></a>");
document.write("</td>");
document.write("<td width='60' align='left' style='padding-top:2px;'>");
document.write("<a target=blank href=msnim:chat?contact=baopifa_01@hotmail.com title='MSN 客服'>MSN 客服</a>");
document.write("</td>");
document.write("</tr>");

document.write("</table>");
document.write("</div>");

document.write("</div>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write(" </div>");

} 
winload() ;
Moveduilian3(); 
