function getCookie(name) { var offset = document.cookie.indexOf(name+"="); if (offset != -1) { offset += name.length+1; var end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; return document.cookie.substring(offset, end); }else return ""; }var kftype=2; if (typeof(onliner_id)=="undefined"){ var onliner_id=1; function hishow(id) { var divname="hsdiv"+id; if(document.getElementById(divname).style.display=="") { document.getElementById(divname).style.display="none"; }else { document.getElementById(divname).style.display=""; } } eval("function OnlinerIcon(){ this.preferences=new Array(); this.left=0; this.top=0; this.last_left=0;this.last_top=0; this.diffY=0; this.diffX=0; this.diffW=0;this.diffH=0; this.WCC_scrollTimer=null; this.floatHtml=null; this.dreamsim=null; this.autoScroll=WCC_autoScroll;this.imageTimer=onliner_imageTimer; this.get_com=onliner_get_com;this.get_tip_str=onliner_get_tip_str; this.wopen=onliner_wopen; this.start=onliner_start;this.get_clost_str=onliner_get_close_str;this.hidden=hidden_div;}"); eval("var kfshow=\"\";var isNS6 = (document.getElementById&&!document.all) ? 1: 0;var isIE = (document.all) ? 1: 0;var isNS = (navigator.appName==\"Netscape\" && navigator.appVersion.charAt(0)==\"4\") ? 1: 0;"); eval("function WCC_autoScroll(){ this.imageTimer(); this.diffY = document.body.scrollTop; this.diffX = document.body.scrollLeft; if(this.diffY==0){ this.diffY = document.documentElement.scrollTop; } if(this.diffX==0){ this.diffX = document.documentElement.scrollLeft; } if(isIE){ this.diffH = document.documentElement.offsetHeight; this.diffW = document.documentElement.offsetWidth; }else{ this.diffH = document.body.offsetHeight; this.diffW = document.body.offsetWidth; } if(this.dreamsim.style.top!=(this.diffY+this.preferences[\"alignH\"])){ var dreamsheight=this.diffY+this.preferences[\"alignH\"]-this.dreamsim.offsetTop; this.top=this.dreamsim.offsetTop+dreamsheight; } if(this.preferences[\"alignx\"]==1){ if(parseInt(this.dreamsim.style.left)!=(this.diffX+this.diffW)){ var dreamswidth=this.diffX+this.preferences[\"alignW\"]-this.dreamsim.offsetLeft; dreamswidth=(dreamswidth>0?1:-1)*Math.ceil(Math.abs(dreamswidth)); this.left=this.dreamsim.offsetLeft+dreamswidth; } }else{ if(parseInt(this.dreamsim.style.left)!=(this.diffX+this.diffW-parseInt(this.dreamsim.style.width)-this.preferences[\"alignW\"]-20)){ var dreamswidth=this.diffX+this.diffW-parseInt(this.dreamsim.style.width)-this.preferences[\"alignW\"]-20-this.dreamsim.offsetLeft; dreamswidth=(dreamswidth>0?1:-1)*Math.ceil(Math.abs(dreamswidth)); this.left=this.dreamsim.offsetLeft+dreamswidth; } } this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); if(this.last_top!=this.top || this.last_left!=this.left){ this.last_top=this.top; this.last_left=this.left; this.get_tip_str(); document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML=this.floatHtml; dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); } this.imageTimer();}"); if(kftype==1) { eval("function onliner_get_tip_str(){ var d=new Date(); var tt=\"\"; if (this.preferences[\"iframe_flag\"]==1){ tt += \"\"; } var con_img=\"\"; tt += \"
\"+this.get_clost_str()+con_img+\"
\"; this.floatHtml=tt;}"); }else { eval("function onliner_get_tip_str(){ var d=new Date(); var img=\"\"; if (this.preferences[\"isonline\"]==1) img=this.preferences[\"img_on\"]; else img=this.preferences[\"img_off\"]; var tt=\"\"; if (this.preferences[\"iframe_flag\"]==1){ tt += \"\"; } if (this.preferences[\"logo_id\"]==11 || this.preferences[\"logo_id\"]==12 || this.preferences[\"logo_id\"]==20 || this.preferences[\"logo_id\"]==22 || this.preferences[\"logo_id\"]==23 || this.preferences[\"logo_id\"]==40 || this.preferences[\"logo_id\"]==1001){ tt = \"\"; } var con_img=\"\"; if (this.preferences[\"record_url\"]!=\"\" && this.preferences[\"isonline\"]==0){ con_img=\"\"; } tt += \"
\"+con_img+\"
\"; this.floatHtml=tt;}"); } eval("function onliner_get_close_str(){ if(0==1) return \"\"; return \"\";}"); eval("function hidden_div(){ kfshow=\"none\";document.getElementById(this.preferences[\"wccfloater\"]).style.display=\"none\";eval( \"clearInterval(onlinerIcon\\\"+this.preferences[\\\"onliner_id\\\"]+\\\".WCC_scrollTimer);\")}"); eval("function onliner_get_com(){ var tt=\"\"; tt+=this.preferences[\"style_id\"]; tt+=this.preferences[\"language\"]; tt+=this.preferences[\"lytype\"]; tt+=this.preferences[\"lyurl\"]; tt+=this.preferences[\"copartner\"]; tt+=this.preferences[\"username\"]; tt+=this.preferences[\"userinfo\"]; tt+=this.preferences[\"introurl\"]; tt+=this.preferences[\"kf\"]; tt+=this.preferences[\"referer\"]; tt+=this.preferences[\"keyword\"]; return tt;}"); eval("function onliner_wopen(com) { if (this.preferences[\"is_zdyurl\"]==1) window.open(this.preferences[\"zdyurl\"],\"_blank\",\"height="+463+",width="+690+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no\"); else window.open(this.preferences[\"path\"]+\"/company.php?arg=\"+this.preferences[\"arg\"]+com,\"_blank\",\"height="+463+",width="+690+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no\");}"); eval("function onliner_imageTimer(){ if (true) { if(document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.gif')==-1 && document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.jpg')==-1 && document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.swf')==-1) { this.get_tip_str(); document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML=this.floatHtml; this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); } }}"); eval("function onliner_start(){ document.write('
'); this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]);}"); } else{ onliner_id++; } eval("var onlinerIcon"+onliner_id+"=new OnlinerIcon();"); eval("onlinerIcon"+onliner_id+".preferences[\"onliner_id\"]=onliner_id;"); eval("onlinerIcon"+onliner_id+".preferences[\"arg\"]=\"xgwinning\";"); eval("onlinerIcon"+onliner_id+".preferences[\"logo_id\"]=1051;"); eval("onlinerIcon"+onliner_id+".preferences[\"style_id\"]=\"&style=1\";"); eval("onlinerIcon"+onliner_id+".preferences[\"isonline\"]=0;"); eval("onlinerIcon"+onliner_id+".preferences[\"img_on\"]=\"http://kf.web08.net/img/kflogo/default/kf_enmm3.gif\";"); eval("onlinerIcon"+onliner_id+".preferences[\"img_off\"]=\"http://kf.web08.net/img/kflogo/default/kf_enmm3_off.gif\";"); eval("onlinerIcon"+onliner_id+".preferences[\"height\"]=81;"); eval("onlinerIcon"+onliner_id+".preferences[\"width\"]=149;"); eval("onlinerIcon"+onliner_id+".preferences[\"alignx\"]=1;"); eval("onlinerIcon"+onliner_id+".preferences[\"alignW\"]=1;"); eval("onlinerIcon"+onliner_id+".preferences[\"alignH\"]=200;"); eval("onlinerIcon"+onliner_id+".preferences[\"language\"]=\"&language=en\";"); eval("onlinerIcon"+onliner_id+".preferences[\"username\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"userinfo\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"introurl\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"lytype\"]=\"&lytype=0\";"); eval("onlinerIcon"+onliner_id+".preferences[\"lyurl\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"copartner\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"kf\"]=\"&zdkf=yes&kf=xgwinning,Xgwinning-01,Eddy\";"); eval("onlinerIcon"+onliner_id+".preferences[\"referer\"]=\"&referer=\";"); eval("onlinerIcon"+onliner_id+".preferences[\"keyword\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"record_url\"]=\"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"zdyurl\"]=\"?&lytype=0&referer=\";"); eval("onlinerIcon"+onliner_id+".preferences[\"is_zdyurl\"]=\"0\";"); eval("onlinerIcon"+onliner_id+".preferences[\"path\"]=\"http://kf.web08.net\";"); eval("onlinerIcon"+onliner_id+".preferences[\"iframe_flag\"]=1;"); eval("onlinerIcon"+onliner_id+".preferences[\"wccfloater\"]=\"wccfloater"+onliner_id+"\";"); eval("onlinerIcon"+onliner_id+".preferences[\"dreamsdiv\"]=\"dreamsdiv"+onliner_id+"\";"); eval("onlinerIcon"+onliner_id+".start();"); eval("onlinerIcon"+onliner_id+".WCC_scrollTimer = window.setInterval(\"onlinerIcon"+onliner_id+".autoScroll()\", 500); ");