﻿function lhWR(x){document.write(x);}var lhIA=new Array();var lhOpera=false,lhBZ=navigator.userAgent;if (lhBZ.search(/Opera/)!=-1) lhOpera=true;lhIe=(document.all)?true:false;
lhNs4=(document.layers)?true:false;lhNs6=(document.getElementById&&!document.all)?true:false;lhAF=new Image(),lhCI=new Image(),lhOA=new Image(),lhWZ=new Image();
var lhCK=true,lhSF=1,lhRnd,lhC,lhG,lhP,lhAN,lhBV,lhPl,lhDm,lhRf,lhTl,lhTD,lhCT,lhAN=navigator.appName,lhBV=navigator.appVersion,lhPl=navigator.platform,lhDm=document.domain,lhRf=document.referrer,lhTl=document.title,lhPg=location.href;
var win=null;efaqWin=null;var lhST=window.screen.availHeight,lhSW=window.screen.availWidth,lhSD=window.screen.colorDepth;
var lhSM=lhST+"x"+lhSW;var lhJV,plnStr="",lhLang,lhLT,lhNow=new Date();lhLT=lhNow.valueOf();if (lhNs4){lhLang=navigator.language;for (pln in navigator.plugins){plnStr+=pln+",";}}
if (plnStr.length>499){plnStr=" ";}if (lhIe){lhLang=navigator.systemLanguage;}if (lhPl=="Win32"){if (lhOpera){lhAN="Opera";
var vR=/.*Opera(.*)\[/;var pR=/.*;.*;(.*)\)/;var lhPl=lhBV.match(pR)[1].replace(/\sW/,"W");lhBV=vR.exec(lhBZ)[1].replace(/\s/,"");
} else if (lhNs4){
var vR=/(.*)\[/
var pR=/\((.*);/;
var lhPl=pR.exec(lhBV)[1];var lhBV=vR.exec(lhBV)[1];} else if (lhNs6){var sy=lhBZ.split(";");var sz=lhBZ.split("Netscape6/");
if (sz.length>1){var sz=lhBZ.split("Netscape/");lhBV=sz[1].replace(/\s/,"");}lhPl=sy[2].replace(/\sW/,"W");} else if (lhIe){
var srt=new String(lhBV);lhPl=srt.split(";")[2].replace(/\)/,"");
var vR=/MSIE((.)*);/
var lhBV=srt.match(vR)[1].split(";")[0].split(" ")[1];}}if (!lhPg) lhPg="local url";function lhGW(c,g){var G1=unescape(g);var r=Math.random()+1;
var s="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=CHATWINDOWSIZE&COMPANYID="+escape(c)+"&GROUPNAME="+escape(G1)+"&r="+escape(r);
lhWZ.src=s;lhSF=4;}function lhLoadEfaq(c,g,p){var n="efaqwin";var u="http://newchat.livehelper.com/servlet/lhSelfHelp?ACTION=QUESTIONENTRYSCREEN&COMPANYID="+c;
window.open(u,n,'width=700,height=400,toolbar=no,menubar=no,directories=no,resizable=yes,scrollbars=yes');}
function lhLoadChat(c,g,p){var n="chat"; if (lhNs4) w='toolbar=no,menubar=no,directories=no,resizable=no';else w='toolbar=no,menubar=no,directories=no,resizable=yes';
if (parseInt(lhWZ.width)==8){var G1=unescape(g);var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDNAMEENTRYSCREEN&WINDOWSIZE=1&COMPANYID="+c+"&GROUPNAME="+escape(G1)+"&RND="+lhRnd+"&SSL=DISABLED";
if (win&&win.open&&!win.closed) win.focus(); else win=window.open(u,n,"width=450,height=350,top=265,left=500"+w);
}else{var G1=unescape(g);var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDNAMEENTRYSCREEN&WINDOWSIZE=0&COMPANYID="+c+"&GROUPNAME="+escape(G1)+"&RND="+lhRnd+"&SSL=DISABLED";
if (win&&win.open&&!win.closed) win.focus(); else win=window.open(u,n,"width=295,height=300,top=265,left=500"+w);}}
function lhLoadBrowse(c,g,p){var n="browse";var r=Math.random();if (lhNs4) w='toolbar=no,menubar=no,directories=no,resizable=no';
else w='toolbar=no,menubar=no,directories=no,resizable=yes';if (parseInt(lhWZ.width)==8){var G1=unescape(g);
var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDNAMEENTRYSCREEN&WINDOWSIZE=1&COMPANYID="+c+"&GROUPNAME="+escape(G1)+"&RND="+r+"&SSL=DISABLED";
win=window.open(u,n,"width=450,height=350"+w);} else{var G1=unescape(g);
var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDNAMEENTRYSCREEN&WINDOWSIZE=0&COMPANYID="+c+"&GROUPNAME="+escape(G1)+"&RND="+r+"&SSL=DISABLED";
win=window.open(u,n,"width=295,height=300"+w);}}function lhHereIE(){var i,s="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=STILLHERE&RND="+lhRnd+"&c="+lhC+"&nocache="+Math.random();
lhAF.src=s;if (lhAF.width!=0&&lhAF.width!=28&&lhAF.width!=8) i=30000;else i=20000;setTimeout('lhHereIE()',i);}
function lhHere(){var i,s="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=STILLHERE&RND="+lhRnd+"&c="+lhC+"&nocache="+Math.random();
if (lhNs6){var t=new Image();t.src=s;lhAF=t;}else lhAF.src=s;if (lhAF.width!=0&&lhAF.width!=28&&lhAF.width!=8){i=30000;}else i=20000;setTimeout('lhHere()',i);}
function lhOperaNewmsg(){lhG1=unescape(lhG);lhA1=unescape(lhAN);lhV1=unescape(lhBV);lhP1=unescape(lhP);lhDm1=unescape(lhDm);
lhRf1=unescape(lhRf);lhT1=unescape(lhTl);lhPg=unescape(lhPg);var I=new Image();I.src="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=NEW&RND="+Math.random();
lhAF.src="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=ISTHERENEWMSG&RND="+lhRnd+"&p="+lhP+"&c="+lhC+"&g="+escape(lhG)+"&r="+Math.random()+"&a="+escape(navigator.userAgent)+"&v="+escape(lhBV)+"&pl="+escape(lhPl)+"&dm="+escape(lhDm)+"&rf="+escape(lhRf)+"&tl="+escape(lhTl)+"&cs=true"+"&pg="+escape(lhPg)+"&sd1="+lhSM+"&sd2="+lhSD+"&jsv="+lhJV+"&ps="+plnStr+"&lot="+lhLT+"&ll="+lhLang;
clearTimeout(lhCR);setTimeout('lhOperaHere()',20000);}function lhOperaHere(){var r=Math.random()+1;var sc="a";sc="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=STILLHERE&RND="+lhRnd+"&c="+lhC+"&nocache="+Math.random();
lhAF.src=sc;setTimeout('lhOperaHere()',20000);}function lhGetImgIE(){var r=Math.random()+1;var sc="a";lhCK=false;
if (lhSF==6){clearTimeout(lhTD);return;}if (lhSF==1){lhSF=4;sc="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=NEW&RND="+r;lhCA.src=sc;}if (lhSF==4){
if (lhWZ.width==8||lhWZ.width==28||lhWZ.width==10) lhSF=2; else if (lhWZ.width==5) lhSF=6;}
if (lhSF==2){lhG1=unescape(lhG);lhA1=unescape(lhAN);lhV1=unescape(lhBV);lhP1=unescape(lhP);lhDm1=unescape(lhDm);lhRf1=unescape(lhRf);
lhT1=unescape(lhTl);lhPg=unescape(lhPg);lhP=unescape(lhP);lhSF=5;sc="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=ISTHERENEWMSG&RND="+escape(lhRnd)+"&p="+escape(lhP)+"&c="+escape(lhC)+"&g="+escape(lhG1)+"&r="+escape(r)+"&a="+escape(lhA1)+"&v="+escape(lhBV)+"&pl="+escape(lhPl)+"&dm="+escape(lhDm)+"&rf="+escape(lhRf)+"&tl="+escape(lhTl)+"&cs=true"+"&pg="+escape(lhPg)+"&sd1="+escape(lhSM)+"&sd2="+escape(lhSD)+"&jsv="+escape(lhJV)+"&ps="+escape(plnStr)+"&lot="+lhLT+"&ll="+lhLang;
lhAF.src=sc;}if (lhAF.width!=0&&lhSF==5) lhSF=3;if (lhSF==3){lhHereIE();clearTimeout(lhTD);return;}lhTD=setTimeout('lhGetImgIE()',3000);}
function lhGetImg(){var lhBZ=navigator.userAgent;if (lhOpera) lhOperaNewmsg();if (!document.layers&&!lhNs6){lhGetImgIE();return;}testImgWidth=parseInt(lhWZ.width);
var r=Math.random()+1;var sc="a";lhCK=false;if (lhSF==6){clearTimeout(lhTD);return;}
if (lhSF==1){lhSF=4;sc="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=NEW&RND="+r;lhCA.src=sc;}
if (lhSF==4){if (lhWZ.width==8||lhWZ.width==28||lhWZ.width==10){lhSF=2;}else if (lhWZ.width==5){lhSF=6;}}
if (lhSF==2){if (document.layers) setTimeout('lhHere()',8000);lhG1=unescape(lhG);lhA1=unescape(lhAN);lhV1=unescape(lhBV);
lhP1=unescape(lhP);lhDm1=unescape(lhDm);lhRf1=unescape(lhRf);lhT1=unescape(lhTl);lhPg=unescape(lhPg);lhP=unescape(lhP);lhSF=5;
sc="http://newbrowse.livehelper.com/servlet/lhBrowse?ACTION=ISTHERENEWMSG&RND="+escape(lhRnd)+"&p="+escape(lhP)+"&c="+escape(lhC)+"&g="+escape(lhG1)+"&r="+escape(r)+"&a="+escape(lhA1)+"&v="+escape(lhBV)+"&pl="+escape(lhPl)+"&dm="+escape(lhDm)+"&rf="+escape(lhRf)+"&tl="+escape(lhTl)+"&cs=true"+"&pg="+escape(lhPg)+"&sd1="+escape(lhSM)+"&sd2="+escape(lhSD)+"&jsv="+escape(lhJV)+"&ps="+escape(plnStr)+"&lot="+lhLT+"&ll="+lhLang;
lhAF.src=sc;}if ((testImgWidth!=0)&&(lhSF==5)) lhSF=3;if (lhSF==3){if (lhNs6) lhHere();clearTimeout(lhTD);return;}lhTD=setTimeout('lhGetImg()',3000);}
function setIconBsyImg(c,g,p,o,z,t){lhGW(c,g);lhGA(c,g);if (t=="image"){lhSetIcone(c,g,p,o,z,t);return;}
lhCM(c,g,p);var l="<a target='_self' href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\")'>";
lhWR('<table border="0" cellspacing="0" cellpadding="0"><tr><td align="middle" valign="top">'+l+o+'</a></td></tr></table>');}
function setIconBsyImg_NoTracker(c,g,p,a,z,t){lhGW(c,g);lhGA(c,g);if (t=="image"){lhSetIcone_noTracker(c,g,p,a,z,t);return;}
var l="<a href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\")' target='_self'>";if (parseInt(lhOA.width)==8) var chk=a;
else var chk=z;lhWR('<table border="0" cellspacing="0" cellpadding="0"><tr><td align="middle" valign="top">'+l+chk+'</a></td></tr></table>');}
function setIconText(c,g,p,t){lhGW(c,g);lhCM(c,g,p);var l="<a href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\")' target='_self'>";
lhWR('<table border="0" cellspacing="0" cellpadding="0"><tr><td align="middle" valign="top">'+l+t+'</a></td></tr></table>');}
function setIcon_NoTracker(c,g,p){lhGW(c,g);var l="<a name='chatLink' href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";
lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+l+'<img name="LivehelperIcon" src="http://www.livehelper.com/images4/logo9].gif" alt="Click here for live customer assistance" border="0"></a></td></tr></table>');}
function setIcon(c,g,p){if (!g) g=" ";lhGW(c,g);lhCM(c,g,p);var lnk="<a name='chatLink' href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";
lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+lnk+'<img name="LivehelperIcon" src="http://www.livehelper.com/images4/logo9].gif" alt="Click here for live customer assistance" border="0"></a></td></tr></table>');}
function setIconBrowse(c,g,p){lhGW(c,g);lhCM(c,g,p);var l="<a name='chatLink' href='javascript:lhLoadBrowse(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";
lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+l+'<img name="LivehelperIcon" src="http://www.livehelper.com/images4/logo9].gif" alt="Click here for live customer assistance" border="0"></a></td></tr></table>');}
function setIconEfaq(c,g,p){lhGW(c,g);lhCM(c,g,p);var l="<a name='chatLink' href='javascript:lhLoadEfaq(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";
lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+l+'<img name="LivehelperIcon" src="http://www.livehelper.com/images4/logo9].gif" alt="Click here for live customer assistance" border="0"></a></td></tr></table>');}
function lhCM(c,g,p){if (lhCK){lhC=c;lhG=g;lhP=p;lhRnd=Math.random();lhGetImg();}if (lhAF.width==8){var n="chat";
if (lhNs4) w='toolbar=no,menubar=no,directories=no,resizable=no';else w='toolbar=no,menubar=no,directories=no,resizable=yes';
if (parseInt(lhWZ.width)==8){lhG1=unescape(g);var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDCHATSCREEN&WINDOWSIZE=1&COMPANYID="+c+"&GROUPNAME="+escape(lhG1)+"&CHATTYPE=Text&CLIENTNAME=Visitor&RND="+lhRnd+"&SSL=DISABLED";
win=window.open(u,n,"width=450,height=350"+w);}else{lhG1=unescape(g);var u="http://newchat.livehelper.com/servlet/lhChat?ACTION=SENDCHATSCREEN&WINDOWSIZE=0&COMPANYID="+c+"&GROUPNAME="+escape(lhG1)+"&CHATTYPE=Text&CLIENTNAME=Visitor&RND="+lhRnd+"&SSL=DISABLED";
win=window.open(u,n,"width=295,height=300"+w);}lhAF=new Image();}var ch="lhCM('"+c+"','"+g+"','"+p+"')";setTimeout(ch,3000);}
function lhSetIcone(c,g,p,o,z,type){if (o==z){setIconImg(c,g,p,o);return;}var a="lh"+Math.floor(Math.random()*100000);
var l="<a name='chatLink' href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";var k='<img name="'+a+'" id="'+a+'" border="0" src="';
k+='http://newchat.livehelper.com/servlet/lhChat?ACTION=GIVEIMAGE&COMPANYID='+c+'&ONLINEURL='+escape(o)+'&OFFLINEURL='+escape(z)+'&rnd='+Math.random();
k+='"></a></td></tr></table>';lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+l+k);
lhIA[a]=new Object();lhIA[a].on=new Image();lhIA[a].off=new Image();lhIA[a].on.src=o;lhIA[a].off.src=z;setTimeout("lhSCI('"+c+"','"+g+"','"+o+"','"+z+"','"+a+"')",60000);
var x="lhCM('"+c+"','"+g+"','"+p+"')";setTimeout(x,0);}function lhSCI(c,g,o,z,a){if (document.images){if (parseInt(lhOA.width)==8){ document.images[a].src=lhIA[a].on.src; } else{document.images[a].src=lhIA[a].off.src;}}
setTimeout("lhSCI('"+c+"','"+g+"','"+o+"','"+z+"','"+a+"')",60000);setTimeout("lhGA('"+c+"','"+g+"')",60000);}
function lhGA(c,g){G1=unescape(g);var s="http://newchat.livehelper.com/servlet/lhChat?ACTION=ISOPERATORONLINE&COMPANYID="+escape(c)+"&GROUPNAME="+escape(G1)+"&r="+Math.random();
lhOA.src=s;}function lhSetIcone_noTracker(c,g,p,o,z,t){var a="lh"+Math.floor(Math.random()*100000);
var l="<a name='chatLink' href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\");' target='_self'>";var k='<img name="'+a+'" id="'+a+'" border="0" src="';
k+='http://newchat.livehelper.com/servlet/lhChat?ACTION=GIVEIMAGE&COMPANYID='+c+'&ONLINEURL='+escape(o)+'&OFFLINEURL='+escape(z)+'&rnd='+Math.random();
k+='"></a></td></tr></table>';lhWR('<table border="0" cellspacing="0" cellpadding=0><tr><td align="middle" valign="top">'+l+k);
lhIA[a]=new Object();lhIA[a].on=new Image();lhIA[a].off=new Image();lhIA[a].on.src=o;lhIA[a].off.src=z;setTimeout("lhSCI('"+c+"','"+g+"','"+o+"','"+z+"','"+a+"')",60000);}
function setIconImg(c,g,p,i){lhGW(c,g);var l="<a href='javascript:lhLoadChat(\""+c+"\",\""+g+"\",\""+p+"\")' target='_self'><img border=0 src='"+i+"'></a>";
lhWR(l);lhCM(c,g,p);}function large(aws,wt,hg){window.open(aws,"_blank","toolbars=no,top=100,left=100,height="+hg+",width="+wt+"");}
