lastScrollY=0; 
function heartBeat(){ 
var scrollPos; 
if (typeof window.pageYOffset != 'undefined') { 
   scrollPos = window.pageYOffset; 
} 
else if (typeof document.compatMode != 'undefined' && 
     document.compatMode != 'BackCompat') { 
   scrollPos = document.documentElement.scrollTop; 
} 
else if (typeof document.body != 'undefined') { 
   scrollPos = document.body.scrollTop; 
} 

diffY=scrollPos;
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.all.duilian3.style.pixelTop+=percent; 
lastScrollY=lastScrollY+percent; 
} 
window.setInterval("heartBeat()",1); 



function winload() 
{ 
	document.all.duilian3.style.top=150; 
	document.all.duilian3.style.right=0; 
	var nm="on";
	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="http://www.fm-job.com/images/kefu1.gif";
	}
	if(nm=="on")	
	{
		 whichEle.style.display="none";	
		  djEle.title="[点击显示]";
		  djimg.src="http://www.fm-job.com/images/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="http://www.fm-job.com/images/kefu2.gif";
		  SetCookie("on")  
		 
		  
		}
		else
		if(whichEle.style.display=="none"){
		  whichEle.style.display="block";
		  djEle.title="[点击隐藏]";
		  djimg.src="http://www.fm-job.com/images/kefu1.gif";
		  SetCookie("off")	  
		}
}


{ 


document.write("<div id=duilian3 style='position: absolute;visibility:visible;z-index:1' >");
document.write("<table width='16' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td valign='top'>");
document.write("<div style='height:25px; font-size:1px;'></div>");
document.write("<a id='dj' href='#' title='[点击隐藏]' onclick='changelayer()' onFocus='this.blur()'><img id='imgs' src='http://www.fm-job.com/images/kefu1.gif' width='16' height='142'  border='0'/></a>");
document.write("</td>");
document.write("<td id='table01' style='display:block;'>");
document.write("<div style='background:url(http://www.fm-job.com/images/kefu_t.gif); height:25px; width:116px; text-align:center'></div>");
document.write("<div style=' border-left: #283564 solid 1px; border-right:#283564 solid 1px; width:116px; background:#f7fafd'>");
document.write("<div style='margin-left:5px; line-height:20px; font-size:12px; padding-top:5px; padding-bottom:5px;'>");
document.write("&nbsp;&nbsp;<a href='http://www.fm-job.com/why.asp' target='_blank' title='为什么选择飞马'><img src='http://www.fm-job.com/images/mm.gif'  border='0' align='absmiddle'/><br/>她们都选择了飞马,您呢?</a><br/>");
document.write("</div>");
document.write("<div style='background:url(http://www.fm-job.com/images/t1.gif); width:104px; height:18px; margin-left:5px; color:#54699E; font-size:12px; margin-top:2px; text-align:center; padding-top:2px;'>欢迎直接电话联系</div>");
document.write("<div style='margin-left:10px; line-height:20px; font-size:12px; padding-top:0px; padding-bottom:0px;'>");
document.write("0757-28207506<br/>15918008106");
document.write("</div>");


document.write("<div style='background:url(http://www.fm-job.com/images/t1.gif); width:104px; height:18px; margin-left:5px; color:#54699E; font-size:12px; margin-top:2px; text-align:center; padding-top:2px;'>咨询开通VIP会员</div>");
document.write("<div style='margin-left:0px;font-size:12px; padding-top:0px; padding-bottom:5px;'>");
document.write("<table width='100' height='20px' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td width='40' height='10px'>");
document.write("</td>");
document.write("</tr>")
document.write("<tr>");
document.write("<td width='150' >");
document.write("<a target=blank href=http://www.fm-job.com/vipprice.asp>[开通VIP费用]</a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' >");
document.write("<a target=blank href=http://www.fm-job.com/vippay.asp> [汇款方式]</a>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' >");
document.write("<a target=blank href=http://www.fm-job.com/vipshow.asp> [申请VIP流程] </a>");document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");

document.write("<div style='background:url(http://www.fm-job.com/images/t1.gif); width:104px; height:18px; margin-left:5px; color:#54699E; font-size:12px; margin-top:2px; text-align:center; padding-top:2px;'>售后客服在线QQ</div>");
document.write("<div style='margin-left:0px;font-size:12px; padding-top:0px; padding-bottom:5px;'>");

document.write("</div>");
document.write("<div style='background:url(); width:104px; height:18px; margin-left:5px; color:#54699E; font-size:12px; font-weight:bolder;margin-top:2px; text-align:center; padding-top:2px;'><img src=http://www.fm-job.com/images/dianhua0.gif border=0 align=middle></div>");
document.write("</div>");
document.write("<div style='background:url(http://www.fm-job.com/images/kefu_e.gif); height:4px; width:116px; font-size:1px;'></div></td>");
document.write("</tr>");
document.write("</table>");
document.write(" </div>");

} 
winload() ;

