var TQKF = 
{
	version				: "2.4.1",
	date				: "2010-4-29",
	js_url				: "http://sysimages.tq.cn/js/vip/090901/",
	image_url			: "http://sysimages.tq.cn/",
	swf_url				: "http://sysimages.tq.cn/js/vip/",
	vip_server_url		: "http://vip.tq.cn/vip/",
	invite_server_url	: "http://vipwebscreen.tq.cn",
	webchat_url			: "http://vipwebchat.tq.cn",
	domain_url			: "http://qtt.tq.cn/show/default.html",
	minimess_submit_url	: "http://vip.tq.cn/vip/minimess.do",

	getIsNewMsgIntever:1000*10,appDelayTime:1000*1,appInterval:1000*1,not_reshow_time:10,mini_interval_of_bad_click:60,source_page_life_time:30,open_win_w:600,open_win_h:480,filterURLs:["baidu.com","baidu.com.cn","baidu.cn","google.com","google.com.cn","google.cn","sogou.com","sogou.com.cn","sogou.cn","soso.com","yahoo.com","yahoo.cn"],keyParaNames:["wd","word","q","w","p","query"],color:["#AECEF8","#58B7F6","#EEB3F7","#F67171","#FAB776","#F9DB9F","#90DA94","#8FD2C3","#DDE0E2","#606060"],userDefined:{defer:false,forceLoadRequiredJS:3,forceWriteCSS:0,debug:0,creatDOMType:1,loadCSSType:"auto",tacticFloaterWidth:"auto",appendDOMType:"insertBefore",kefuCloseArea:{isShow:0,width:"20px",height:"20px",rightSpace:"5px"},kefuMiniArea:{isShow:0,width:"20px",height:"20px",rightSpace:"5px",miniImgOffline:"a.gif",miniImgOnline:"b.gif",miniImgWidth:"80px",miniImgHeight:"30px",miniPos:"RB"}}};TQKF.page_url="";TQKF.local_url="";TQKF.source_page_url="";TQKF.reffer_url="";TQKF.visit_title="";TQKF.float_image_url=TQKF.image_url+"float_images/",TQKF.invite_image_url=TQKF.image_url+"images/vip/",TQKF.leavemsg_url=TQKF.vip_server_url+"pageinfo.do";TQKF.winSize=window.screen.width+"*"+window.screen.height;TQKF.winColor=window.screen.colorDepth;TQKF.isFloater=(tq_type==""||tq_type=="1"||tq_type=="2"||tq_type=="4");if((typeof(tq_useraccount)=="undefined"||tq_useraccount==""||tq_useraccount<"1")&&tq_type=="3")TQKF.isInviter=1;else TQKF.isInviter=tq_useraccount;TQKF.isMinimess=(typeof(tq_is_minimess)!="undefined"&&tq_is_minimess==1);TQKF.isMinimessLoaded=false;TQKF.jsloaded=false;TQKF.ltype_str="";TQKF.uingroup="";TQKF.onlineUins=new Array();TQKF.words=new Array();TQKF.words_zh=new Array();TQKF.words_en=new Array();TQKF.floater=new Object();TQKF.inviter=new Object();TQKF.AS=new Object();TQKF.miniChat=new Object();TQKF.miniChatmini=new Object();TQKF.mess=new Object();TQKF.antiBadClick=new Object();TQKF.clientInfo=new Object();TQKF.cookieObject_all=new Object();TQKF.words_zh[0]=unescape("TQ%u6D3D%u8C08%u901A");TQKF.words_zh[1]=unescape("%u5173%u95ED");TQKF.words_zh[2]=unescape("%u7F51%u7AD9%u7BA1%u7406%u5458%u8BF7%u6C42%u548C%u60A8%u901A%u8BDD%uFF08%u672C%u7CFB%u7EDF%u7531TQ%u63D0%u4F9B%uFF09");TQKF.words_zh[3]=unescape("%u70B9%u51FB%u54A8%u8BE2");TQKF.words_zh[4]=unescape("%u60A8%u597D%uFF01%u80FD%u4E3A%u60A8%u505A%u4E9B%u4EC0%u4E48%u5417%uFF1F");TQKF.words_zh[5]=unescape("%u5B8C%u6BD5");TQKF.words_zh[6]=unescape("%u70B9%u51FB%u7559%u8A00");TQKF.words_zh[7]=unescape("%u5728%u65B0%u7A97%u53E3%u4E2D%u6253%u5F00");TQKF.words_zh[8]=unescape("%u6700%u5C0F%u5316");TQKF.words_zh[9]=unescape("\n\n%u8B66%u544A%uFF01%u672C%u7AD9%u53D1%u73B0%u6076%u610F%u70B9%u51FB%u5ACC%u7591%uFF0C%u60A8%u5DF2%u88AB%u5217%u5165%u9ED1%u540D%u5355%uFF0C\n\n\n\n%u8BF7%u7ACB%u5373%u7EC8%u6B62%u6076%u610F%u884C%u4E3A%u5E76%u91CD%u542F%u7535%u8111%uFF0C%u5426%u5219%u7535%u8111%u5C06%u53D7%u635F%uFF01\n\n");TQKF.words_zh[10]=unescape("%u8BA4%u5B9A%u6076%u610F%u70B9%u51FB%uFF01");TQKF.words_zh[11]=unescape("%u786E%u5B9A%u8981%u9000%u51FA%u5417?");TQKF.words_zh[12]=unescape("%u5728%u7EBF");TQKF.words_zh[13]=unescape("%u7559%u8A00");TQKF.words_zh[14]=unescape("%u514D%u8D39%u7535%u8BDD");TQKF.words_zh[15]=unescape("%u6B22%u8FCE%u60A8%uFF0C%u6765%u81EA%24%7Barea%7D%u7684%u5BA2%u4EBA%uFF01");TQKF.words_zh[16]=unescape("%u8FD8%u539F");TQKF.words_en[0]="TQ Messenger";TQKF.words_en[1]="close";TQKF.words_en[2]="Apply to talk with you! (Powered by TQ.CN)";TQKF.words_en[3]="Click here";TQKF.words_en[4]="Hello!Can I help you?";TQKF.words_en[5]="finish";TQKF.words_en[6]="Message";TQKF.words_en[7]="Open in new Window";TQKF.words_en[8]="Minimize";TQKF.words_en[9]="Worning!You had written in blacklist for your bad clicking,please stop to do so,or your computer will be harmed!";TQKF.words_en[10]="bad click!";TQKF.words_en[11]="are you sure to exit?";TQKF.words_en[12]="Online";TQKF.words_en[13]="Message";TQKF.words_en[14]="Free Call";TQKF.words_en[15]="Welcome, visitor from ${area}!";TQKF.words_en[16]="Restore";TQKF.CreatURL=function(url,action,uin){if(!TQUtils.IsUndefined('tq_clientname')){if(tq_clientname.indexOf("^")==-1){tq_clientname=encodeURI(tq_clientname).replace(/%/gi,"^")}}var argv=TQKF.CreatURL.arguments;var argc=TQKF.CreatURL.arguments.length;var tracq_url=url+"?action="+action+"&admiuin="+tq_adminid+((uin=="")?"":"&uin="+uin)+"&acd="+tq_acd+"&type_code="+((3<argc)?argv[3]:tq_tactic_id)+"&ltype="+tq_language+"&tq_ltype="+tq_language+"&chattype="+this.chattype+"&rand="+((TQUtils.IsUndefined('TQKF.clientInfo')||TQUtils.IsUndefined('TQKF.clientInfo.rand'))?"":this.clientInfo.rand)+"&comtimes="+((TQUtils.IsUndefined('TQKF.clientInfo')||TQUtils.IsUndefined('TQKF.clientInfo.comTimes'))?"":this.clientInfo.comTimes)+"&iscallback="+tq_iscallback+"&agentid="+tq_agentid+"&clientid="+tq_clientid+((TQUtils.IsUndefined('tq_clientname')||tq_clientname=='')?"":"&clientname="+tq_clientname)+"&uingroup="+this.uingroup+"&isnoshowuser="+tq_isnoshowuser+((TQUtils.IsUndefined('tq_para1')||tq_para1=='')?"":"&para1="+tq_para1)+((TQUtils.IsUndefined('tq_para2')||tq_para2=='')?"":"&para2="+tq_para2)+((TQUtils.IsUndefined('tq_para3')||tq_para3=='')?"":"&para3="+tq_para3)+((TQUtils.IsUndefined('tq_para4')||tq_para4=='')?"":"&para4="+tq_para4)+((TQUtils.IsUndefined('tq_para5')||tq_para5=='')?"":"&para5="+tq_para5)+"&page="+this.page_url+"&localurl="+this.local_url+"&spage="+this.source_page_url+(TQUtils.IsUndefined('_tq_collect_page_type')?"":"&cpage="+_tq_collect_page_type);return tracq_url};TQKF.OpenWindow=function(url){if(url.indexOf("leavemsg")!=-1&&tq_isFullScreenLeavmsg)window.open(url);else{window.open(url,"","width="+this.open_win_w+",height="+this.open_win_h+",location=no,resizable=1,scrollbars=0,status=no,toolbar=no,menu=no,top=100,left=200");this.clientInfo.TalkTimes=parseInt(this.clientInfo.TalkTimes)+1;try{this.AS.WriteCookie(this.clientInfo)}catch(e){}}};TQKF.setWindowStatus=function(){try{window.status=TQKF.words[5]}catch(e){}setTimeout(TQKF.setWindowStatus,500)};TQKF.loadRequiredJS=function(){if(TQKF.jsloaded==true){return}try{TQ_DEBUG("TQKF.loadRequiredJS",3)}catch(e){}TQKF.jsloaded=true;if((tq_type=="2"&&tq_acd=="1"||tq_type=="3"&&tq_acd=="1")&&typeof(isalloffline)=="undefined"&&typeof(tq_isalloffline)=="undefined")TQUtils.LoadJS(TQKF.vip_server_url+'getOnlineFlag.do?adminuin='+tq_adminid+'&type_code='+tq_tactic_id+'&rand='+Math.random(),false);if(tq_type=="4"&&typeof(tq_tacticTermOnlineFlag)=="undefined")TQUtils.LoadJS2(TQKF.vip_server_url+'getOnlineFlag.do?adminuin='+tq_adminid+'&type_code='+tq_language_type+'&type=4&rand='+Math.random(),function(){TQKF.floater.CreatDOM();setTimeout(TQKF.floater.Init,500)});if(TQKF.isFloater)TQUtils.LoadJS(TQKF.js_url+'float.js',TQKF.userDefined.defer);if(TQKF.isInviter>0){TQUtils.LoadJS(TQKF.js_url+'invite.js',TQKF.userDefined.defer)}if(TQKF.isMinimess){TQUtils.LoadJS(TQKF.js_url+'minimess_core.js',TQKF.userDefined.defer);TQKF.isMinimessLoaded=true}};TQKF.SetValue=function(from,to){for(var prop in to){var temp=eval("typeof(tq_"+prop+")!='undefined' && tq_"+prop+"!= null && tq_"+prop+" != 'null' && tq_"+prop+" != ''");if(temp){to[prop]=eval("tq_"+prop)}}};TQKF.CopyValue=function(from,to){for(var prop in from){if(from[prop]!=null&&from[prop]!="null"&&from[prop]!=""){if(typeof(from[prop])=="object"){TQKF.CopyValue(from[prop],to[prop])}to[prop]=from[prop]}}};var TQUtils={tq_fixJQueryMouseMoveEvent:null,browserType:navigator.userAgent.toLowerCase(),isDOM:(document.getElementById?true:false),isNS4:(document.layers?true:false),isNS:navigator.appName=="Netscape",IE:((navigator.appName.toLowerCase()=="microsoft internet explorer")&&(parseInt(navigator.appVersion)>=4)),Chrome:navigator.userAgent.toLowerCase().indexOf("chrome")!=-1,NS:(document.layers)?1:0,isIE4:document.all&&!(document.getElementById),FF:navigator.userAgent.toLowerCase().indexOf("firefox")!=-1,IsUndefined:function(name){return eval("typeof("+name+")=='undefined'")},SetValueIfUndefined:function(name,value){if(this.IsUndefined(name)){var tqtemp=value;eval(name+"=tqtemp")}},SetValueIfUndefinedOrEmpty:function(name,value){if(this.IsUndefined(name)||eval(name)===""){var tqtemp=value;eval(name+"=tqtemp")}},SetDefaultValue:function(name,value){if(name=="")name=value},LoadJS:function(url,isDefer){try{var jsID="TQJS"+Math.random();var jsDOM=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(jsDOM);jsDOM.id=jsID;if(isDefer==true&&TQUtils.IE==true)jsDOM.defer="defer";jsDOM.src=url}catch(e){}},LoadJS2:function(url,callback){var jsID="TQJS"+Math.random();var jsDOM=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(jsDOM);jsDOM.id=jsID;jsDOM.src=url;try{jsDOM.onreadystatechange=function(){if(jsDOM.readyState=="loaded")callback()}}catch(e){}try{jsDOM.onload=callback}catch(e){}},LoadJSAndAutoRemoveSelf:function(scriptId,url){if(this.IE){this.GetObj(scriptId).src=url}else{var jsID="TQJS"+Math.random();var jsDOM=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(jsDOM);jsDOM.id=jsID;jsDOM.src=url;if(this.FF||this.Chrome){var callback=function(){try{setTimeout(function(){jsDOM.parentNode.removeChild(jsDOM)},2000)}catch(e){}};try{jsDOM.onreadystatechange=function(){if(jsDOM.readyState=="complete"||jsDOM.readyState=="loaded")callback()}}catch(e){}try{jsDOM.onload=callback}catch(e){}}}},LoadCSS:function(url){try{var cssID="TQCSS"+Math.random();var cssDOM=document.createElement("link");cssDOM.setAttribute("rel","stylesheet");cssDOM.setAttribute("type","text/css");cssDOM.rel="stylesheet";cssDOM.type="text/css";document.getElementsByTagName("head")[0].appendChild(cssDOM);cssDOM.id=cssID;cssDOM.href=url}catch(e){}},AppendDOM:function(dom){if(TQKF.userDefined.appendDOMType=="appendChild"){try{document.body.appendChild(dom)}catch(e){try{setTimeout(function(){document.body.appendChild(dom)},10000)}catch(e){}}}else{try{document.body.insertBefore(dom,document.body.firstChild)}catch(e){try{setTimeout(function(){document.body.appendChild(dom)},10000)}catch(e){}}}},toJSONString:function(json){var s="{";for(var t in json){if(typeof(json[t])=="object"){s+="\""+t+"\":"+this.toJSONString(json[t])+","}else{s+=typeof(json[t])=="number"?("\""+t+"\":"+json[t]+","):("\""+t+"\":\""+json[t]+"\",")}}s=s.substring(0,s.length-1)+"}";return s},Drag:{canDrag:true,obj:null,init:function(o,oRoot,minX,maxX,minY,maxY,bSwapHorzRef,bSwapVertRef,fXMapper,fYMapper){o.onmousedown=TQUtils.Drag.start;o.hmode=bSwapHorzRef?false:true;o.vmode=bSwapVertRef?false:true;o.root=oRoot&&oRoot!=null?oRoot:o;if(o.hmode&&isNaN(parseInt(o.root.style.left)))o.root.style.left="0px";if(o.vmode&&isNaN(parseInt(o.root.style.top)))o.root.style.top="0px";if(!o.hmode&&isNaN(parseInt(o.root.style.right)))o.root.style.right="0px";if(!o.vmode&&isNaN(parseInt(o.root.style.bottom)))o.root.style.bottom="0px";o.minX=typeof minX!='undefined'?minX:null;o.minY=typeof minY!='undefined'?minY:null;o.maxX=typeof maxX!='undefined'?maxX:null;o.maxY=typeof maxY!='undefined'?maxY:null;o.xMapper=fXMapper?fXMapper:null;o.yMapper=fYMapper?fYMapper:null;o.root.onDragStart=new Function();o.root.onDragEnd=new Function();o.root.onDrag=new Function()},start:function(e){if(!(TQUtils.Drag.canDrag))return;var o=TQUtils.Drag.obj=this;e=TQUtils.Drag.fixE(e);var y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom);var x=parseInt(o.hmode?o.root.style.left:o.root.style.right);o.root.onDragStart(x,y);o.lastMouseX=e.clientX;o.lastMouseY=e.clientY;if(o.hmode){if(o.minX!=null)o.minMouseX=e.clientX-x+o.minX;if(o.maxX!=null)o.maxMouseX=o.minMouseX+o.maxX-o.minX}else{if(o.minX!=null)o.maxMouseX=-o.minX+e.clientX+x;if(o.maxX!=null)o.minMouseX=-o.maxX+e.clientX+x}if(o.vmode){if(o.minY!=null)o.minMouseY=e.clientY-y+o.minY;if(o.maxY!=null)o.maxMouseY=o.minMouseY+o.maxY-o.minY}else{if(o.minY!=null)o.maxMouseY=-o.minY+e.clientY+y;if(o.maxY!=null)o.minMouseY=-o.maxY+e.clientY+y}if(TQUtils.tq_fixJQueryMouseMoveEvent==null)TQUtils.tq_fixJQueryMouseMoveEvent=document.onmousemove;document.onmousemove=TQUtils.Drag.drag;document.onmouseup=TQUtils.Drag.end;return false},drag:function(e){e=TQUtils.Drag.fixE(e);var o=TQUtils.Drag.obj;var ey=e.clientY;var ex=e.clientX;var y=parseInt(o.vmode?o.root.style.top:o.root.style.bottom);var x=parseInt(o.hmode?o.root.style.left:o.root.style.right);var nx,ny;if(o.minX!=null)ex=o.hmode?Math.max(ex,o.minMouseX):Math.min(ex,o.maxMouseX);if(o.maxX!=null)ex=o.hmode?Math.min(ex,o.maxMouseX):Math.max(ex,o.minMouseX);if(o.minY!=null)ey=o.vmode?Math.max(ey,o.minMouseY):Math.min(ey,o.maxMouseY);if(o.maxY!=null)ey=o.vmode?Math.min(ey,o.maxMouseY):Math.max(ey,o.minMouseY);nx=x+((ex-o.lastMouseX)*(o.hmode?1:-1));ny=y+((ey-o.lastMouseY)*(o.vmode?1:-1));if(o.xMapper)nx=o.xMapper(y);else if(o.yMapper)ny=o.yMapper(x);TQUtils.Drag.obj.root.style[o.hmode?"left":"right"]=nx+"px";TQUtils.Drag.obj.root.style[o.vmode?"top":"bottom"]=ny+"px";TQUtils.Drag.obj.lastMouseX=ex;TQUtils.Drag.obj.lastMouseY=ey;TQUtils.Drag.obj.root.onDrag(nx,ny);return false},end:function(){document.onmousemove=TQUtils.tq_fixJQueryMouseMoveEvent;document.onmouseup=null;TQUtils.Drag.obj.root.onDragEnd(parseInt(TQUtils.Drag.obj.root.style[TQUtils.Drag.obj.hmode?"left":"right"]),parseInt(TQUtils.Drag.obj.root.style[TQUtils.Drag.obj.vmode?"top":"bottom"]));TQUtils.Drag.obj=null},fixE:function(e){if(typeof e=='undefined')e=window.event;if(typeof e.layerX=='undefined')e.layerX=e.offsetX;if(typeof e.layerY=='undefined')e.layerY=e.offsetY;return e}},GetScrollTop:function(){var tq_posY=0;if(document.documentElement&&document.documentElement.scrollTop){tq_posY=document.documentElement.scrollTop}else if(document.body){tq_posY=document.body.scrollTop}else if(window.innerHeight){tq_posY=window.pageYOffset}if(tq_posY=="undefined")tq_posY=0;return tq_posY},GetScrollLeft:function(){var tq_posX=0;if(document.documentElement&&document.documentElement.scrollLeft){tq_posX=document.documentElement.scrollLeft}else if(document.body){tq_posX=document.body.scrollLeft}else if(window.innerWidth){tq_posX=window.pageXOffset}if(tq_posX=="undefined")tq_posX=0;return tq_posX},GetWinSize:function(){var size=new Object();if(this.IE){if(document.documentElement.clientHeight==0){size.h=document.body.clientHeight;size.w=document.body.clientWidth}else{size.h=document.documentElement.clientHeight-2;size.w=document.documentElement.clientWidth-2}}else{try{size.h=(Math.min(document.body.clientHeight,document.documentElement.clientHeight))}catch(e){size.h=document.documentElement.clientHeight}if(size.h<10)size.h=document.documentElement.clientHeight;try{size.w=(Math.min(document.body.clientWidth,document.documentElement.clientWidth))}catch(e){size.w=document.documentElement.clientWidth}if(size.w<10)size.w=document.documentElement.clientWidth}return size},GetObj:function(id){if(this.isDOM)return document.getElementById(id);if(this.isIE4)return document.all[id];if(this.isNS4)return document.layers[id]},GetCookieVal:function(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr))},GetCookie:function(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen){var j=i+alen;if(document.cookie.substring(i,j)==arg){return this.GetCookieVal(j)}i=document.cookie.indexOf(" ",i)+1;if(i==0)break}return""},SetCookie:function(name,value){var argv=TQUtils.SetCookie.arguments;var argc=TQUtils.SetCookie.arguments.length;var expires=new Date();expires.setTime(expires.getTime()+((2<argc)?argv[2]:365*24)*60*60*1000);var expires_time=expires;var path=(3<argc)?argv[3]:null;var domain=(4<argc)?argv[4]:null;var secure=(5<argc)?argv[5]:false;document.cookie=name+"="+value+((expires==null)?"":("; expires="+expires_time.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"")},GetTime:function(){var d=new Date();var mon=d.getMonth()+1;var nowtime=d.getFullYear()+'-'+mon+'-'+d.getDate()+' '+d.getHours()+':'+d.getMinutes()+':'+d.getSeconds();return nowtime},GetTime_invite:function(){var d=new Date();var mon=d.getMonth()+1;var nowtime=d.getFullYear()+'-'+mon+'-'+d.getDate()+','+d.getHours()+':'+d.getMinutes()+':'+d.getSeconds();return nowtime},GetTime_debug:function(){var d=new Date();var mon=d.getMonth()+1;var nowtime=d.getFullYear()+'-'+mon+'-'+d.getDate()+' '+d.getHours()+':'+d.getMinutes()+':'+d.getSeconds()+':'+d.getMilliseconds();return nowtime},GetPageSize:function(){var b=(document.compatMode!="CSS1Compat")?document.body:document.documentElement;var size=new Object();size.w=Math.max(b.scrollWidth,b.clientWidth);size.h=Math.max(b.scrollHeight,b.clientHeight);return size},AddEvent:function(event,fn){if(typeof window.addEventListener!="undefined"){window.addEventListener(event,fn,false)}else if(typeof document.addEventListener!="undefined"){document.addEventListener(event,fn,false)}else if(typeof window.attachEvent!="undefined"){this.AddListener(window,"on"+event,fn)}else if(typeof eval("window.on"+event)=="function"){var fnOld=eval("window.on"+event);eval("window.on"+event+" = function() {fnOld();fn();}")}else{eval("window.on"+event+" = fn")}},AddListener:function(target,eventType,fn){target.attachEvent(eventType,fn)},HeartBeat:function(obj,inteval,timer,lastPos,isHeartbeat){if(!isHeartbeat)return;var tq_diffY1=TQUtils.GetScrollTop();var tq_diffX1=TQUtils.GetScrollLeft();if(tq_diffY1!=lastPos.y){var tq_percent1=.1*(tq_diffY1-lastPos.y);if(tq_percent1>0){tq_percent1=Math.ceil(tq_percent1)}else{tq_percent1=Math.floor(tq_percent1)}if(TQUtils.NS){document.tracqfloater1.top+=tq_percent1}obj.style.top=tq_percent1+parseInt(obj.style.top)+"px";lastPos.y=lastPos.y+tq_percent1}if(tq_diffX1!=lastPos.x){var tq_percent1=.1*(tq_diffX1-lastPos.x);if(tq_percent1>0){tq_percent1=Math.ceil(tq_percent1)}else{tq_percent1=Math.floor(tq_percent1)}if(TQUtils.NS){document.tracqfloater1.left+=tq_percent1}obj.style.left=tq_percent1+parseInt(obj.style.left)+"px";lastPos.x=lastPos.x+tq_percent1}timer=setTimeout(function(){TQUtils.HeartBeat(obj,inteval,timer,lastPos,isHeartbeat)},inteval)},GetTitle:function(){var tq_visit_title="";try{tq_visit_title=document.title;if(tq_visit_title!="undefined"&&tq_visit_title!=null&&tq_visit_title!=""&&tq_visit_title.length>22)tq_visit_title=tq_visit_title.substring(0,22);tq_visit_title=encodeURI(tq_visit_title)}catch(e){}return tq_visit_title},GetLocalURL:function(){var local_url=window.location.href.replace(/\&/g,"*");if(local_url.length>150)local_url=local_url.substring(0,150);return local_url},GetSourcePageURL:function(time,keyparas){var source_page_url=this.GetCookie("tq_source_page_url");if(source_page_url==null||source_page_url==""){var reffer=this.GetReffer();if(reffer!=""){source_page_url=this.ReCreatReffer(reffer,keyparas);this.SetCookie("tq_source_page_url",source_page_url.replace(/\%/g,"^"),time)}}else{try{source_page_url=source_page_url.replace(/\^/g,"%")}catch(e){}}return source_page_url},GetReffer:function(){var tq_refTemp='';if(document.referrer.length>0){tq_refTemp=document.referrer}try{if(tq_refTemp.length==0&&opener&&opener.location.href.length>0){tq_refTemp=opener.location.href}}catch(e){}return tq_refTemp},GetPara:function(url,name){if(url==null||url=="")return"";var reg=new RegExp("(^|&)"+name+"=([^&]*)(&|$)");var r=url.substr(url.indexOf("\?")+1).match(reg);if(r!=null){return(r[2])}return""},ReCreatReffer:function(url,keyparas){if(url==null||url.length==0)return"";for(var i=0;i<keyparas.length;i++){var keyword=this.GetPara(url,keyparas[i]);if(keyword!=""){var domain=url.substring(0,url.indexOf("?"));if(domain.indexOf("google")!=-1){if(this.FF){keyword=encodeURI(encodeURI(keyword))}else{try{keyword=decodeURI(keyword)}catch(e){}}}if(url.length>300)url=url.substring(0,300);return domain+"?"+keyparas[i]+"="+keyword}}if(url.length>150)url=url.substring(0,150);return url.replace(/\&/g,"*")},SetConfigValue:function(prefix,config){for(var v in config){if(eval("typeof("+prefix+v+")!='undefined'")){if(eval(prefix+v)!="")config[v]=eval(prefix+v)}}},FillInnertip:function(str){return str.replace(/&quot;/g,'"').replace(/&#039;/g,"'").replace(/&lt;/g,'<').replace(/&gt;/g,'>').replace(/&amp;/g,"&")}};TQUtils.ieVersion=/msie (\d+)/.exec(TQUtils.browserType);TQUtils.higherThanIE6=TQUtils.ieVersion&&parseInt(TQUtils.ieVersion[1])>6;try{TQUtils.onQuirkMode=document.compatMode&&document.compatMode.indexOf('Back')==0}catch(e){TQUtils.onQuirkMode=false}TQUtils.isSupportFixedPos=window.addEventListener||TQUtils.higherThanIE6&&(!TQUtils.onQuirkMode);if(TQUtils.ieVersion&&!(TQUtils.higherThanIE6)){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}var tq_debugFrame=null;var tq_debug=3;var tq_info=2;var tq_error=1;function TQ_DEBUG(info,level){try{if(level<=TQKF.userDefined.debug){if(tq_debugFrame==null){tq_debugFrame=window.open("about:blank","tq_debugFrame","width=600,height=400,location=no,resizable=1,scrollbars=1,status=no,toolbar=no,menu=no,top=100,left=200");if(TQUtils.IE){tq_debugFrame.document.body.style.backgroundColor="#EBE9ED";tq_debugFrame.document.title="debug info";tq_debugFrame.document.body.innerHTML+='<span style="font-size:14px;color:#00A600"><b>debug info:</b></span>';tq_debugFrame.document.body.innerHTML+='<div id=debug_div style="word-wrap:break-word;word-break:break-all;font-size:12px;width:100%;	border: 1px solid;	border-color: threedshadow threedhighlight threedhighlight threedshadow;display: block;background-color:#000000;"></div>'}}if(level==1)color="red";else if(level==2)color="yellow";else color="white";var functionText="";if(TQUtils.IE){tq_debugFrame.document.getElementById("debug_div").innerHTML+=("<span style='color:white'><b>"+TQUtils.GetTime_debug()+"&nbsp;&nbsp;---->></b>"+functionText+"</span><span style='color:"+color+"'>"+info+"</span><br>")}else{tq_debugFrame.document.body.innerHTML+="<div style='word-wrap:break-word;word-break:break-all;font-size:12px;width:100%;	border: 0px;background-color:#000000;;color:"+color+"'>"+("<span style='color:white'><b>"+TQUtils.GetTime_debug()+"&nbsp;&nbsp;---->></b>"+functionText+"</span><span style='color:"+color+"'>"+info+"</span><br>")+"</div>"}tq_debugFrame.scroll(0,90000)}}catch(e){}}TQKF.reffer_url=TQUtils.GetReffer();TQKF.page_url=TQUtils.ReCreatReffer(TQKF.reffer_url,TQKF.keyParaNames);TQKF.visit_title=TQUtils.GetTitle();TQKF.local_url=TQUtils.GetLocalURL();TQKF.source_page_url=TQUtils.GetSourcePageURL(TQKF.source_page_life_time*(1/60),TQKF.keyParaNames);TQUtils.SetValueIfUndefinedOrEmpty("tq_if_tryout",0);if(tq_if_tryout==0){TQUtils.SetValueIfUndefinedOrEmpty("tq_invit_style",1);tq_displaytype="0";tq_invit_color="1";tq_language_type="";tq_iscallback=1;TQUtils.SetValueIfUndefinedOrEmpty("tq_type",1);TQKF.invite_server_url="http://webscreen2006.tq.cn:8000";TQKF.webchat_url2="http://webchat.tq.cn/sendmain.jsp";TQKF.leavemsg_url="http://www.tq.cn/leavemsg.do";tq_acd=0;tq_is_anti_bad_click=0;if(tq_type==2&&typeof(tq_isnoshowuser)!="undefined"&&tq_isnoshowuser=="")tq_isnoshowuser="no";TQKF.open_win_w=596;TQKF.open_win_h=438}if(tq_language=="2")tq_language="100";if(tq_language=="100"){TQKF.ltype_str="_en";TQKF.words=TQKF.words_en}else{TQKF.words=TQKF.words_zh}if(tq_type=="2"&&tq_acd!="1"){TQKF.chattype='5';try{for(var i=0;i<tq_member_uins.length;i++){if(i==0){TQKF.uingroup+=tq_member_uins[i]}else{TQKF.uingroup+=("|"+tq_member_uins[i])}}}catch(e){}}if(tq_iscallback=="")tq_iscallback="1";TQUtils.SetValueIfUndefinedOrEmpty("tq_is_mask",0);TQUtils.SetValueIfUndefinedOrEmpty("tq_not_reshow",0);TQUtils.SetValueIfUndefinedOrEmpty("tq_type","1");TQUtils.SetValueIfUndefinedOrEmpty("tq_invit_style","1");TQUtils.SetValueIfUndefinedOrEmpty("tq_displaytype","1");TQUtils.SetValueIfUndefinedOrEmpty("tq_invit_color","1");TQUtils.SetValueIfUndefinedOrEmpty("TQKF.webchat_url2",TQKF.vip_server_url+"pageinfo.do");TQUtils.SetValueIfUndefinedOrEmpty("TQKF.vipserver_url",TQKF.vip_server_url+"pageinfo.do");TQUtils.SetValueIfUndefined("TQKF.chattype","");TQUtils.SetValueIfUndefined("tq_isnoshowuser","no");TQUtils.SetValueIfUndefined("tq_isFullScreenLeavmsg",false);TQUtils.SetValueIfUndefined("tq_agentid","0");TQUtils.SetValueIfUndefined("tq_clientid","");if(!TQUtils.IsUndefined("tqUserDefined"))TQKF.CopyValue(tqUserDefined,TQKF.userDefined);self.onerror=function(){return true};window.onerror=function(){return true};TQKF.setWindowStatus();try{var tqhasbody=document.body.nodeType}catch(e){TQ_DEBUG("get document.body.nodeType error try creat body tag",3);document.writeln("<body><\/body>")}document.writeln('<script src="'+TQKF.js_url+'as.js">\<\/script\>');if(tq_is_anti_bad_click=="1")document.writeln('<script src="'+TQKF.js_url+'antibadclick.js">\<\/script\>');if(tq_type=="4"||tq_type=="1"){if(TQKF.userDefined.loadCSSType=="auto"){TQUtils.LoadCSS(TQKF.invite_image_url+"tracqfloat.css");if(TQKF.userDefined.forceWriteCSS==1)document.write('<link rel="stylesheet" type="text/css" href="'+TQKF.invite_image_url+'tracqfloat.css"/>')}}if(TQKF.isInviter>0){document.write("<script id=TQGetrequestUser_JS>\<\/script>");document.write("<script id=TQGetIsNewMsg_JS>\<\/script>");if(TQKF.userDefined.loadCSSType=="auto"){TQUtils.LoadCSS(TQKF.invite_image_url+"tq_invit_s"+tq_invit_style+"_t"+tq_displaytype+".css");if(TQKF.userDefined.forceWriteCSS==1)document.write('<link rel="stylesheet" type="text/css" href="'+TQKF.invite_image_url+'tq_invit_s'+tq_invit_style+'_t'+tq_displaytype+'.css"/>')}}if(TQUtils.IE){if(document.readyState=="complete"){TQ_DEBUG("IE, all DOM loaded,begin to load TQJS",3);TQKF.loadRequiredJS()}else{TQ_DEBUG("IE, DOM have not loaded,load TQJS later",3);if(TQKF.userDefined.forceLoadRequiredJS>0)setTimeout(TQKF.loadRequiredJS,parseInt(TQKF.userDefined.forceLoadRequiredJS)*1000);TQUtils.AddEvent("load",TQKF.loadRequiredJS);document.onreadystatechange=function(){if(document.readyState=="complete"){TQ_DEBUG("IE,document.readyState==complete,load TQJS now",3);TQKF.loadRequiredJS()}}}}else TQKF.loadRequiredJS();if(TQKF.isInviter>0&&typeof(tq_if_tryout)!="undefined"&&tq_if_tryout!=1&&tq_iscallback=="1"&&tq_language!=100){document.write('<script language=JavaScript src="'+TQKF.js_url+'webcall.js">\<\/script>')}TQ_DEBUG("TQKF.reffer_url="+TQKF.reffer_url,3);TQ_DEBUG("TQKF.page_url="+TQKF.page_url,3);TQ_DEBUG("TQKF.visit_title="+TQKF.visit_title,3);TQ_DEBUG("TQKF.local_url="+TQKF.local_url,3);TQ_DEBUG("TQKF.source_page_url="+TQKF.source_page_url,3);