var web_path="/kf/",username="",xmlHttp=false,as114t,as114l,as114w,as114h,docHeight,docWidth,objTimer,i=0,px=document.doctype?"px":0,scrollwidth=navigator.userAgent.indexOf("Firefox")>0?16:0,iframeheight=170;String.prototype.Trim=function(){return this.replace(/^\s+|\s+$/g,"")};try{xmlHttp=new XMLHttpRequest}catch(trymicrosoft){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(othermicrosoft){try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(failed){xmlHttp=false}}}
function $kf(a){return typeof a=="string"?document.getElementById(a):a}function HideInvite(){$kf("kfwin").style.display="none"}function RefuseChat(){setCookie(user+"c",1,1/48)}function openZoosUrl(a){url=web_path+"chat.asp?a="+username+"&b="+user+"&c="+a;a=window.showModalDialog(url,window,"dialogWidth=630px;dialogHeight=460px;center=yes;")}
if(xmlHttp){username=getCookie(user+"username");if(username==null){var now=new Date,year=now.getYear(),month=now.getMonth()+1,day=now.getDate(),hour=now.getHours(),minute=now.getMinutes(),second=now.getSeconds();username=user+"_"+year+month+day+hour+minute+second+"_"+rnd_str(3);setCookie(user+"username",username,365)}}else alert("提示：启用Ajax功能失败，客服系统无法启用！");kefu();
function kefu(){var a="";a=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth;a="/kf/kefu.asp"+("?act=1&user="+user+"&username="+escape(username)+"&vreferrer="+escape(document.referrer)+"&vpage="+escape(document.URL)+"&vsize="+screen.width+","+screen.height+"&vcolor="+a+"&time="+new Date);xmlHttp.open("get",a,true);xmlHttp.setRequestHeader("Content-type","text/xml");xmlHttp.setRequestHeader("Connection","close");xmlHttp.onreadystatechange=kefuok;xmlHttp.send("")}
function kefuok(){if(xmlHttp.readyState==4)if(xmlHttp.status==200){var a=unescape(xmlHttp.responseText);if(a.indexOf("|||")!=-1){kf_str=a.split("|||");if(kf_str.length>=3){a=kf_str[0];if(a=="0"||a=="1"){c=getCookie(user+"c");if(c==null)c=0;else if(c==1)return;var b="您好，来自"+kf_str[4]+"的朋友：",d=kf_str[1],e="";if(kf_str[2]!=null&&kf_str[2]!="")e="<bgsound src='"+web_path+kf_str[2]+"'>";showwin(b,d,a,e,kf_str[3])}else if(kf_str[1]=="2"||kf_str[1]=="3"){window.onresize=as114ResizeDiv;a=kf_str[3];b=
kf_str[4];d=kf_str[5];e=kf_str[6];d=d!=""&&d!=null?'<a href="tencent://message/?uin='+d+'&amp;Site=鞍山114网&amp;Menu=yes"><img src="/gbook/images/qq.gif" border="0"/></a>':'<img src="/gbook/images/qq.gif" border="0"/>';if(b!=""&&b!=null)b='<img src="/gbook/images/sj.gif">'+b;else if(a!=""&&a!=null)b='<img src="/gbook/images/tel.gif">'+a;e=e!=""&&e!=null?'<a href="mailto:'+e+'"><img alt="点击给我发邮件" src="/gbook/images/mail.gif" border="0"/></a>':'<img alt="点击给我发邮件" src="/gbook/images/mail.gif" border="0"/>';
as114Messbox(kf_str[1],kf_str[2],b,d,e)}}}}}
function showwin(a,b,d,e,f){if(d==1){kfstr="<DIV style=\"Z-INDEX: 9999; display:;POSITION: absolute; MARGIN-TOP: 0px; MARGIN-LEFT: 0px; TOP: 87px; ; TOP: expression(eval(document.compatMode && document.compatMode=='CSS1Compat')?(documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2):(document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2)); LEFT: 496px; ; LEFT: expression(eval(document.compatMode && document.compatMode=='CSS1Compat')?(documentElement.scrollLeft + (document.documentElement.clientWidth-this.offsetWidth)/2):(document.body.scrollLeft + (document.body.clientWidth - this.clientWidth)/2))\" id=\"kfwin\">";kfstr+=
'<TABLE style="BORDER-BOTTOM: #8dc4eb 2px solid; BORDER-LEFT: #8dc4eb 2px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #e1effc; MARGIN: 2px; PADDING-LEFT: 0px; WIDTH: 420px; PADDING-RIGHT: 0px; BORDER-COLLAPSE: collapse; BORDER-TOP: #8dc4eb 2px solid; BORDER-RIGHT: #8dc4eb 2px solid; PADDING-TOP: 0px" id="LR_Tb2" align="center">';kfstr+="<TBODY>";kfstr+="<TR>";kfstr=kfstr+'<TD style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 20px; PADDING-TOP: 0px" vAlign=bottom width=400><FONT style="COLOR: #000000; MARGIN-LEFT: 12px; FONT-SIZE: 12px; FONT-WEIGHT: bold">'+
a+"</FONT></TD>";kfstr=kfstr+'<TD style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px" width=20 align=right><A onclick="HideInvite();RefuseChat();return false;" href="javascript:void(0)"><IMG border=0 src="'+web_path+'images/close.gif"></A>&nbsp;</TD>';kfstr+="</TR>";kfstr+="<TR><TD colSpan=2>";kfstr+='<TABLE style="BORDER-BOTTOM: #a7c5e3 1px solid; BORDER-LEFT: #a7c5e3 1px solid; BACKGROUND-COLOR: #ffffff; MARGIN: 0px 7px 7px; WIDTH: 400px; BORDER-COLLAPSE: collapse; BORDER-TOP: #a7c5e3 1px solid; BORDER-RIGHT: #a7c5e3 1px solid" id=LR_Tb3 align=center>';
kfstr+="<TBODY>";kfstr+="<TR>";kfstr+="<TD>";kfstr+='<TABLE style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 400px; PADDING-RIGHT: 0px; HEIGHT: 104px; BORDER-TOP: 0px; BORDER-RIGHT: 0px; PADDING-TOP: 0px" id=LR_Tb4 cellSpacing=0 cellPadding=0 align=center>';kfstr+="<TBODY>";kfstr+="<TR>";kfstr=kfstr+'<TD style="WIDTH: 110px" rowSpan=2 align=middle><IMG src="'+web_path+'images/p.gif"></TD>';kfstr=kfstr+'<TD style="PADDING-BOTTOM: 2px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 19px" vAlign=top align=left>'+
b+"</TD>";kfstr+="</TR>";kfstr+="<TR>";kfstr+="<TD height=30 align=right>";kfstr+='<TABLE style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 180px; PADDING-RIGHT: 0px; PADDING-TOP: 0px" border=0>';kfstr+="<TBODY>";kfstr+="<TR>";kfstr=kfstr+'<TD><A onclick="HideInvite();openZoosUrl(\'\');return false;" href="javascript:void(0)"><IMG border=0 src="'+web_path+'images/a_cn.gif"></A></TD>';kfstr+="<TD width=20></TD>";kfstr=kfstr+'<TD><A onclick="HideInvite();RefuseChat();return false;" href="javascript:void(0)"><IMG border=0 src="'+
web_path+'images/r_cn.gif"></A></TD>';kfstr+="<TD width=20></TD>";kfstr+="</TR>";kfstr+="</TBODY>";kfstr+="</TABLE>";kfstr+="</TD>";kfstr+="</TR>";kfstr+="</TBODY>";kfstr+="</TABLE>";kfstr+="</TD>";kfstr+="</TR>";kfstr+="</TBODY></TABLE>";kfstr+="</TD>";kfstr+="</TR></TBODY>";kfstr=kfstr+"</TABLE>"+e;kfstr+="</DIV>"}else{kfstr="<DIV style=\"Z-INDEX: 9999; POSITION: absolute; MARGIN-TOP: 0px; MARGIN-LEFT: 0px; TOP: 319px; ; TOP: expression(eval(document.compatMode && document.compatMode=='CSS1Compat')?(documentElement.scrollTop + 100):(document.body.scrollTop + 100)); RIGHT: 6px; LEFT: 1304px; ; LEFT: expression(eval(document.compatMode && document.compatMode=='CSS1Compat')?(documentElement.scrollLeft + document.documentElement.clientWidth-this.offsetWidth-6):(document.body.scrollLeft + document.body.clientWidth - this.clientWidth-6))\" id=kfwin>";
kfstr+="<TABLE border=0 cellSpacing=0 cellPadding=0 width=110><TBODY>";kfstr=kfstr+'<TR><TD width=110><IMG border=0 src="'+web_path+"images/"+f+'/top.gif"></TD></TR>';kfstr+="<TR>";kfstr=kfstr+'<TD vAlign=center background="'+web_path+"images/"+f+'/middle.gif" align=middle>';kfstr+='<TABLE border=0 cellSpacing=0 cellPadding=0 width=80 style="COLOR: #000000; FONT-SIZE: 12px; ">';kfstr+="</TABLE>";kfstr+="</TD></TR>";kfstr=kfstr+'<TR><TD width=110><IMG border=0 src="'+web_path+"images/"+f+'/bottom.gif"></TD></TR>';
kfstr=kfstr+"</TABLE>"+e;kfstr+="</div>"}a=document.createElement("div");document.body.insertAdjacentElement("beforeEnd",a);a.innerHTML=kfstr}function setCookie(a,b,d){var e=new Date;e.setTime(e.getTime()+d*24*60*60*1E3);document.cookie=a+"="+escape(b)+";expires="+e.toGMTString()}function getCookie(a){var b;return(b=document.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)")))?unescape(b[2]):null}
function delCookie(a){var b=new Date;b.setTime(b.getTime()-1);var d=getCookie(a);if(d!=null)document.cookie=a+"="+d+";expires="+b.toGMTString()}function rnd_str(a){var b=[],d,e;b[0]="0 1 2 3 4 5 6 7 8 9";b[0]=b[0].split(" ");d="";for(e=0;e<a;e++)d+=b[0][Math.round(Math.random()*(b[0].length-1))];return d}
function as114_collapse(a){ct=document.getElementById("tab_c_iframe");if(ct.style.display=="none"){ct.style.display="";a.src=a.src.replace("b.gif","a.gif")}else{ct.style.display="none";a.src=a.src.replace("a.gif","b.gif")}as114ResizeDiv()}
function as114Msg(){try{as114t=parseInt(document.getElementById("as114ly").style.top,10);as114l=parseInt(document.getElementById("as114ly").style.left,10);as114h=parseInt(document.getElementById("as114ly").offsetHeight,10);as114w=parseInt(document.getElementById("as114ly").offsetWidth,10);var a,b;if(typeof window.pageYOffset!="undefined"){a=window.pageYOffset;b=window.innerHeight}else if(typeof document.compatMode!="undefined"&&document.compatMode!="BackCompat"){a=document.documentElement.scrollTop;
b=document.documentElement.clientHeight}else if(typeof document.body!="undefined"){a=document.body.scrollTop;b=document.body.clientHeight}document.getElementById("as114ly").style.top=parseInt(a,10)+b+10+px;document.getElementById("as114ly").style.visibility="visible";objTimer=window.setInterval("as114_move_div()",10)}catch(d){}}
function as114ResizeDiv(){i+=1;try{as114h=parseInt(document.getElementById("as114ly").offsetHeight,10);as114w=parseInt(document.getElementById("as114ly").offsetWidth,10);var a,b;if(typeof window.pageYOffset!="undefined"){a=window.pageYOffset;b=window.innerHeight}else if(typeof document.compatMode!="undefined"&&document.compatMode!="BackCompat"){a=document.documentElement.scrollTop;b=document.documentElement.clientHeight}else if(typeof document.body!="undefined"){a=document.body.scrollTop;b=document.body.clientHeight}document.getElementById("as114ly").style.top=
b-as114h+parseInt(a,10)+px}catch(d){}}
function as114_move_div(){var a,b;if(typeof window.pageYOffset!="undefined"){a=window.pageYOffset;b=window.innerHeight}else if(typeof document.compatMode!="undefined"&&document.compatMode!="BackCompat"){a=document.documentElement.scrollTop;b=document.documentElement.clientHeight}else if(typeof document.body!="undefined"){a=document.body.scrollTop;b=document.body.clientHeight}if(parseInt(document.getElementById("as114ly").style.top,10)<=b-as114h+parseInt(a,10)){window.clearInterval(objTimer);objTimer=
window.setInterval("as114ResizeDiv()",1)}as114t=parseInt(document.getElementById("as114ly").style.top,10);document.getElementById("as114ly").style.top=as114t-10+px}
function as114Messbox(a,b,d,e,f){var g;if(a=="2")g='<table width="216" border="0" cellpadding="0" cellspacing="0" class="" id="tab_'+(b+3)+'" style="border:0px;"><tr><td align="right"></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="32" rowspan="2" valign="bottom"><img src="/gbook/images/ico'+b+'.gif"></td><td>&nbsp;</td></tr><tr><td align=right style="font-size:12px; background:url(/gbook/images/bg_'+
b+'.gif);line-height:21px;height:21px;border-top:1px solid #808080;border-right:1px solid #808080;padding-right:6px;color:#FFFFFF;" onDblClick="as114_collapse(this.firstChild.nextSibling)"><font color="#FFFFFF">在线留言</font> <img src="/gbook/images/ico_'+b+'a.gif" align="absmiddle" class="ioc'+b+'" onClick="as114_collapse(this)"></td></tr></table></td></tr></table><iframe src="/gbook/side.html" width="216" height="'+iframeheight+'" scrolling="NO" frameborder="0" id="tab_c_iframe"></iframe>';
else if(a=="3")g='<table width="216" border="0" cellpadding="0" cellspacing="0" class="" id="tab_'+(b+3)+'" style="border:0px;"><tr><td align="right"></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="32" rowspan="2" valign="bottom"><img src="/gbook/images/ico'+b+'.gif"></td><td>&nbsp;</td></tr><tr><td align=right style="font-size:12px; background:url(/gbook/images/bg_'+b+'.gif);line-height:21px;height:21px;border-top:1px solid #808080;border-right:1px solid #808080;padding-right:6px;color:#FFFFFF;" onDblClick="as114_collapse(this.firstChild.nextSibling)"><font color="#FFFFFF">在线留言</font> <img src="/gbook/images/ico_'+
b+'a.gif" align="absmiddle" class="ioc'+b+'" onClick="as114_collapse(this)"></td></tr></table></td></tr></table><iframe src="/gbook/side.html" width="216" height="'+iframeheight+'" frameborder="0" scrolling="NO" id="tab_c_iframe"></iframe><table width="216" border="0" cellspacing="0" cellpadding="3" height="69" style="border-left-width:1px;border-left-style:solid;border-left-color:#000;border-right-width:1px;border-right-style:solid;border-right-color:#000;border-top-width:0;border-bottom-width:1px; border-bottom-style:solid; border-bottom-color:#000000;"><tr><td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"><tr><td style="height:3px;"></td></tr></table><table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:url(/gbook/images/lxbg_'+
b+'.jpg)"><tr><td width="31%" align="center" valign="middle"><img src="/gbook/images/kefu.jpg" width="50" height="55" /></td><td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size:12px;color:#FFFFFF;"><tr><td width="50%" height="22" align="left" valign="bottom"><font color="#FFFFFF">在线QQ</font></td><td width="50%" align="left" valign="bottom"><font color="#FFFFFF">E-mail</font></td></tr><tr><td height="22" align="left">'+e+'&nbsp;</td><td height="22" align="left">'+
f+'</td></tr><tr><td height="22" colspan="2" align="center" valign="middle"><font color="#FFFFFF">'+d+'</font></td></tr></table></td></tr></table><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"><tr><td style="height:3px;"></td></tr></table></td></tr></table>';a=document.createElement("div");a.id="as114ly";a.style.position="absolute";a.style.zIndex="99999";a.style.width="220px";a.style.top="0px";a.style.right="0px";a.innerHTML=g;document.body.appendChild(a);as114Msg()}
