	var LS;
	var Z="";
	var Zpro="";
	var Z1="";
	var cyl=0;
	var imgload=false;
	var l2s_ls30101;
	var offimg=new Image();
	var onimg=new Image();
	var l2s_winchk = 0;
	// window.onerror = noerr;
	function noerr(){
		return true;
	}
	function getCookie(NameOfCookie)
	{ if (document.cookie.length > 0) 
		{ begin = document.cookie.indexOf(NameOfCookie+"="); 
			if (begin != -1) 
			{ begin += NameOfCookie.length+1; 
				end = document.cookie.indexOf(";", begin);
				if (end == -1) end = document.cookie.length;
				return unescape(document.cookie.substring(begin, end)); 
			} 
		}
		return null; 
	}
	function setCookie(NameOfCookie, value, expiredays) 
	{ var ExpireDate = new Date ();
		ExpireDate.setTime(ExpireDate.getTime() + (expiredays * 24 * 3600 * 1000));
		document.cookie = NameOfCookie + "=" + escape(value) + 
		((expiredays == null) ? "" : "; expires=" + ExpireDate.toGMTString())+
	      (";path=/");
	}
	pvalue=getCookie("ssid30101");
	l2_pv=getCookie("l2_pv");
	if (pvalue==null) {
				pvalue="257104c552c9cc7a7a";
		setCookie("ssid30101", pvalue);
	}
	if (l2_pv==null) {
		l2_pv=1;
		setCookie("l2_pv", l2_pv,700);
	} else {
		l2_pv++;
		if (l2_pv > 99) {
			l2_pv=100;
		}
		setCookie("l2_pv", l2_pv,700);
	}
			l2s_ls30101=getCookie("l2s_ls30101");
		if (l2s_ls30101==null) {
			l2s_ls30101=pvalue;
			setCookie("l2s_ls30101", l2s_ls30101,700);
		}
		var jsid=30101;
	var refrate=15000;
	var sttime=tstamp();
	var nimg;
	var chat_opened = "N" ;
	var prop_opened = "N" ;
	var chatinit = 0 ;
	var chatinv = new Image();
	

function browser(id1){
ie=document.all;
nn4=document.layers;
  if(nn4) {
  	path = document.layers[id1]
  }
  else if(ie) {
  	path = document.all[id1]
  } 
  else {
  	path = document.getElementById(id1)
  }
return path  
}

function hideLayer() {
	document.getElementById('l2s_frm').src='http://www.live2support.net/lsn/userout.php?ipadd=&lyr=1&sid=30101&csesid='+pvalue;
	var l2s_layer = browser("l2s_ch");
	if(!nn4){
 		l2s_layer.style.visibility="hidden"	
	} else{
		l2s_layer.visibility="hidden"
	}
}

function centerElement(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function l2s_lyr_pos(){
// Position layer		
var calculate=ns? "" : "px"
var ie=(document.all);
var ns=(document.layers);
var ns6=(document.getElementById && !ie);
if (ie){
	documentWidth = (centerElement().offsetWidth)/2+centerElement().scrollLeft-(330/2);
	documentHeight = (centerElement().offsetHeight)/2+centerElement().scrollTop-(370/2);
}
else if (ns){
	documentWidth=window.innerWidth/2+window.pageXOffset-(330/2);
	documentHeight=window.innerHeight/2+window.pageYOffset-(370/2);
}
else if (ns6){
	documentWidth=self.innerWidth/2+window.pageXOffset-(330/2);
	documentHeight=self.innerHeight/2+window.pageYOffset-(370/2);
}
documentWidth=parseInt(documentWidth);
documentHeight=parseInt(documentHeight);
var l2s_layer = browser("l2s_ch");
if(document.layers)	   //NN4+
{
   l2s_layer.top = documentHeight+calculate;
   l2s_layer.left = documentWidth+calculate;
}
 else if(document.getElementById)	  //gecko(NN6) + IE 5+
{
	l2s_layer.style.top = documentHeight+calculate;
	l2s_layer.style.left = documentWidth+calculate;
    }
else if(document.all)	// IE 4
{
	l2s_layer.style.top= documentHeight+calculate;
	l2s_layer.style.left= documentWidth+calculate;
    }
// end Position layer	
}


function l2s_layerchat(l2surl)
	{
		var l2s_layer = browser("l2s_ch");
	
		var content='<IFR'+'AME SRC="'+l2surl+'" id="l2s_frm" name="l2s_frm" WIDTH="330" HEIGHT="370" MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER="NO" SCROLLING="no"';
		content=content+'STYLE="border-width:1; border-color:#445599; border-style:solid;"> </IFR'+'AME><table border=1 cellpadding=0 cellspacing=0 bgcolor=#000000 width="330" ><tr><td><p align=right><a href="#" onclick="javascript:hideLayer()"><font color=ffffff>Close</font></a></p></td></tr></table></DIV>';
		l2s_lyr_pos();
		if(nn4) {
			l2s_layer.document.open()
			l2s_layer.document.write(content)
			l2s_layer.document.close()
			l2s_layer.visibility="visible"	
		}
		else {		     
			l2s_layer.innerHTML = content
			l2s_layer.style.visibility="visible"
		}
		
	}
	function winchk(l2surlchat) {
		if (l2s_winchk==0) {
			// l2s_layerchat(l2surlchat);
		}
	}
	function set1Events(l2surlchat,njsid) {
		var objChild;                           // Window
		var reWork = new RegExp('object','gi');	// Regular expression
		var winno="ls"+njsid;
		try {
			// objChild = window.open('','child','width=50,height=50,status=no,resizable=yes'); 
			objChild = window.open(l2surlchat,winno,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=330,height=370");
			// objChild.close();
		}
		catch(e) { }
		if(!reWork.test(String(objChild))) {
			l2s_layerchat(l2surlchat);
		} else {
			objChild.focus() ;
			wchk = setTimeout("winchk(l2surlchat)",10000);
		}
	}
	function lswin(Z,njsid)
	{
		var winno="ls"+njsid;
		var chwin;

					l2surlchat="http://www.live2support.net/lsn/chat.php?&init=f&"+Z;
			set1Events(l2surlchat,njsid);
			//chwin=window.open("http://www.live2support.net/lsn/chat.php?&init=f&"+Z,winno,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=330,height=370");
				// chwin.focus() ;
	}
	function propop(njsid,newr)
	{
		var pwinno="prop"+njsid;
		var ctime1=tstamp();
		if (newr=="N") {
// here is window opening
			phwin=window.open("http://www.live2support.net/lsn/prop.php?"+Zpro+"&"+ctime1,pwinno,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=500");
			phwin.focus() ;
		} else {
			top.location="http://www.live2support.net/lsn/prop.php?"+Zpro+"&"+ctime1;
		}
	}
	function imgdsp() {
		var ctime=tstamp();
		var diftime=ctime-sttime;
		if (diftime > 900000)
			refrate=120000;
		if (diftime > 1800000)
			refrate=180000;
		if (diftime > 7200000)
			refrate=25000000;
		nimg=new Image();
		if (cyl==0) {
			nimg.src="http://www.live2support.net/lsn/lstrk.php?"+Z+"&ct="+ctime;
			cyl=1;
		} else {
			nimg.src="http://www.live2support.net/lsn/lstrk.php?"+Z1+"&ls_n=1&ct="+ctime;
		}
		nimg.onload = chatintr;
		tid = setTimeout("imgdsp()",refrate);
	}
	function chatintr()
	{
		chatinit = nimg.width ;
		if ( ( chatinit  == 2 ) && chat_opened=="N" )
		{
			chat_opened = "Y" ;
			lswin(Z,jsid);
		}
		else if ( ( chatinit != 2 ) && (chat_opened=="Y") ) {
			chat_opened = "N" ;
		}
		if ( ( chatinit  == 8 ) && prop_opened=="N" )
		{
			prop_opened = "Y" ;
			propop(jsid,"N");
		}
		else if ( ( chatinit != 8 ) && (prop_opened=="Y") ) {
			prop_opened = "N" ;
		}
		if ( ( chatinit  == 9 ) && prop_opened=="N" )
		{
			prop_opened = "Y" ;
			propop(jsid,"R");
		}
		else if ( ( chatinit != 9 ) && (prop_opened=="Y") ) {
			prop_opened = "N" ;
		}
			}
	function cleartid() {
		window.clearTimeout(tid);
	}
	function live2sp30101()
	{
		var t = new Date();
		tmc=(((escape(t.getTimezoneOffset()))/60)*-1);
		tmcabs=Math.floor(tmc);
		tdiff=tmc-tmcabs;
		ntdiff=(tdiff/5)*3;
		ntmc=tmcabs+ntdiff;
		Z+="tz="+ntmc;
		Z+="&ch="+escape(t.getHours())+"H:"+escape(t.getMinutes())+"M";
		Z+="&ti=";
		Z+="&js=Yes";
		Z+="&sid="+jsid;
		Z+="&l2_pv="+l2_pv;
		Z+="&slevel=3";
		Z+="&ul="+(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
		if(typeof(screen)=="object")
		{ 
			Z+="&sr="+screen.width+"x"+screen.height;
			Z+="&cd="+screen.colorDepth;
			Z+="&jo="+(navigator.javaEnabled()?"Yes":"No");
		}
		Z+="&url="+escape(window.document.URL);
		Z+="&rf="+escape(window.document.referrer);
		Z+="&rot=1";
		Z+="&ssid30101="+pvalue;
		Z1+="sid="+jsid;
		Z1+="&slevel=3";
		Z1+="&rot=2";
		Z1+="&ssid30101="+pvalue;
		Zpro="sid="+jsid+"&ssid30101="+pvalue;
		ab="<A HREF='javascript: void(0)' onMouseOver='window.status=\"Live Chat\"; return true;' onMouseOut='window.status=\"\"; return true;' onClick='javascript:lswin(";
		ab=ab+'"'+Z+'"'+',"'+jsid+'"'+");'>";		
		document.write(ab);
					document.write('.');
			document.write('<IMG NAME="L2S1" BORDER="0" SRC="http://www.live2support.net/lsn/lstrk.php?'+Z+'&ls_n=1">');	
				document.write('</a>');
		document.write('<style>#l2s_ch{position:absolute; visibility:hidden; z-index:2}</style>');
		document.write('<DIV name="l2s_ch" id="l2s_ch" STYLE="left:150; top:50; width:330; height:370;" ></DIV>');
		tid = setTimeout("imgdsp()",3000);	
	}	
	function tstamp()
	{
		var ndate = new Date() ; return ndate.getTime() ; 
	}
	live2sp30101();
