
var lhnTrack='';
if (typeof lhnInstalled !='undefined'){lhnTrack='f'}
var lhnInstalled=1;
var InviteRepeats;
var zbrepeat=1;
var bInvited=0;
InviteRepeats=0;

	if (typeof zCustomInvitation =='undefined'){
	var zCustomInvitation='';
	}
	
	if (zCustomInvitation=='')	{
		var LHdef=(document.location.protocol=='https:')?'.LVchat_window_top{width:282px;height:9px;overflow:hidden;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_top.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="https://www.livehelpnow.net/lhn/images/invite/chat_window_top.png", sizingMethod="crop");} .LVchat_window_bottom{width:282px;height:9px;overflow:hidden;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_bottom.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="https://www.livehelpnow.net/lhn/images/invite/chat_window_bottom.png", sizingMethod="crop");} .LVchat_window_middle{width:282px;overflow:hidden;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_middle.png) top left repeat-y;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="https://www.livehelpnow.net/lhn/images/invite/chat_window_middle.png", sizingMethod="scale");} .LVchat_window_middle_inner{width:263px;overflow:hidden;margin:0 9px;} .LVchat_window_blik{width:263px;overflow:hidden;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_blik.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="https://www.livehelpnow.net/lhn/images/invite/chat_window_blik.png", sizingMethod="crop");} .LVchat_window_message_top{font:normal 18px/140% Arial, Helvetica, sans-serif;letter-spacing:1px;color:#FFFFFF;text-align:center;margin:20px 0 0 0;} .LVchat_window_message_bottom{font:normal 14px/140% Arial, Helvetica, sans-serif;color:#FFFFFF;text-align:center;margin:5px 0 20px 0;white-space:normal;} .LVchat_window_buttons{text-align:center;margin:10px 0 20px 45px;} .LVchat_window_buttons a, .LVchat_window_buttons a:visited{text-decoration:none;display:block;height:22px;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_button.gif) top left repeat-x;border:1px solid #626262;float:left;padding:0 10px;margin:0 10px 0 0;font:bold 11px/200% Arial, Helvetica, sans-serif;color:#000000;text-decoration:none;} .LVchat_window_buttons a:hover{text-decoration:none;background:url(https://www.livehelpnow.net/lhn/images/invite/chat_window_button_active.gif) top left repeat-x;} .LVchat_window_message_bottom img {border:10px solid #D9D8D6;display:block;margin:0 auto;}</style>':'.LVchat_window_top{width:282px;height:9px;overflow:hidden;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_top.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.livehelpnow.net/lhn/images/invite/chat_window_top.png", sizingMethod="crop");} .LVchat_window_bottom{width:282px;height:9px;overflow:hidden;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_bottom.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.livehelpnow.net/lhn/images/invite/chat_window_bottom.png", sizingMethod="crop");} .LVchat_window_middle{width:282px;overflow:hidden;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_middle.png) top left repeat-y;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.livehelpnow.net/lhn/images/invite/chat_window_middle.png", sizingMethod="scale");} .LVchat_window_middle_inner{width:263px;overflow:hidden;margin:0 9px;} .LVchat_window_blik{width:263px;overflow:hidden;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_blik.png) top left no-repeat;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src="http://www.livehelpnow.net/lhn/images/invite/chat_window_blik.png", sizingMethod="crop");} .LVchat_window_message_top{font:normal 18px/140% Arial, Helvetica, sans-serif;letter-spacing:1px;color:#FFFFFF;text-align:center;margin:20px 0 0 0;} .LVchat_window_message_bottom{font:normal 14px/140% Arial, Helvetica, sans-serif;color:#FFFFFF;text-align:center;margin:5px 0 20px 0;white-space:normal;} .LVchat_window_buttons{text-align:center;margin:10px 0 20px 45px;} .LVchat_window_buttons a, .LVchat_window_buttons a:visited{text-decoration:none;display:block;height:22px;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_button.gif) top left repeat-x;border:1px solid #626262;float:left;padding:0 10px;margin:0 10px 0 0;font:bold 11px/200% Arial, Helvetica, sans-serif;color:#000000;text-decoration:none;} .LVchat_window_buttons a:hover{text-decoration:none;background:url(http://www.livehelpnow.net/lhn/images/invite/chat_window_button_active.gif) top left repeat-x;} .LVchat_window_message_bottom img {border:10px solid #D9D8D6;display:block;margin:0 auto;}</style>';
		if (document.body)
			{
				var LHss1 = document.createElement('style');
				LHss1.setAttribute("type", "text/css");
				if (LHss1.styleSheet) {   // IE
					LHss1.styleSheet.cssText = LHdef;
				} else {                // the world
					var LHtt1 = document.createTextNode(LHdef);
					LHss1.appendChild(LHtt1);
				}
			
				var lhndiv = document.createElement('div');
				lhndiv.id = 'Zsmenu';
				lhndiv.style.cssText="z-Index:10000000;width:282px;overflow:hidden;display:none;position:absolute; top:100px; left:-235px;";
				lhndiv.innerHTML='<div id="Zsleft"></div>';
				if (document.body.firstChild){document.body.insertBefore(lhndiv, document.body.firstChild);document.body.insertBefore(LHss1, document.body.firstChild);}else{document.body.appendChild(lhndiv);document.body.appendChild(LHss1);}
			}
		else 
			{
				document.write('<style>' + LHdef + '</style>');
				document.write('<div id="Zsmenu" style="z-Index:10000000;width:282px;overflow:hidden;display:none; position:absolute; top:100px; left:-235px;"><div id="Zsleft"></div></div>');
			}
		}
	
	var Zxxx = 0; var Zyyy = 0; var Zdist = ZdistX = ZdistY = 0; var Zstepx = 10; var Zstepy = 0; var Zmn = 'Zsmenu';
	var Zspeed = 2;
	var Zmutechime = '';

	var aDOM = 0, ieDOM = 0, nsDOM = 0; var stdDOM = document.getElementById;
	if (stdDOM) {aDOM = 1;} else {ieDOM = document.all; if (ieDOM) {aDOM = 1;} else {
	var nsDOM = ((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) ==4)); if (nsDOM) {aDOM = 1;}}}
	function xDOM(objectId, wS) {
	if (stdDOM) {return wS?document.getElementById(objectId).style:document.getElementById(objectId);}
	if (ieDOM) {return wS?document.all[objectId].style:document.all[objectId];}
	if (nsDOM) {return document.layers[objectId];}
	}
	function objZWidth(objectID) {var obj = xDOM(objectID,0); if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0;}
	function objZHeight(objectID) {var obj = xDOM(objectID,0); if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;}
	function setZObjVis(objectID,vis) {var objs = xDOM(objectID,1); objs.display = vis;}
	function moveZObjTo(objectID,x,y) {var objs = xDOM(objectID,1); objs.left = x; objs.top = y;}
	function pageZWidth() {return window.innerWidth != null? window.innerWidth: document.body != null? document.body.clientWidth:null;}
	function pageZHeight() {return window.innerHeight != null? window.innerHeight: document.body != null? document.body.clientHeight:null;}
	function posZLeft() {return typeof window.pageXOffset != 'undefined' ? window.pageXOffset: document.documentElement.scrollLeft? document.documentElement.scrollLeft: document.body.scrollLeft? document.body.scrollLeft:0;}
	function posZTop() {return typeof window.pageYOffset != 'undefined' ? window.pageYOffset: document.documentElement.scrollTop? document.documentElement.scrollTop: document.body.scrollTop? document.body.scrollTop:0;}
	function Zdistance(s,e) {return Math.abs(s-e);}
	function Zdirection(s,e) {return s>e?-1:1;}
	function Zrate(a,b) {return a<b?a/b:1;}
	function Zstart() {Zxxx = -315; Zyyy = 150; var ZeX = 45; var ZeY = 100; Zdist = ZdistX = Zdistance(Zxxx,ZeX); ZdistY = Zdistance(Zyyy,ZeY); Zstepx *= -Zdirection(Zxxx,ZeX) * Zrate(ZdistX,ZdistY); Zstepy *= Zdirection(Zyyy,ZeY) * Zrate(ZdistY,ZdistX); Zmoveit();setZObjVis(Zmn,'none');}
	function Zmoveit() {var Zx = (posZLeft()+Zxxx) + 'px'; var Zy = (posZTop()+Zyyy) + 'px'; moveZObjTo(Zmn,Zx,Zy);}
	function Zmover() {if (Zdist > 0) {Zxxx += Zstepx; Zyyy += Zstepy; Zdist -= Math.abs(Zstepx);} Zmoveit(); setTimeout('Zmover()',Zspeed);}
	function Zslide() {if (Zstepx==-10){setZObjVis(Zmn,'inline');} else {setZObjVis(Zmn,'none');}Zdist = ZdistX; Zstepx = -Zstepx; Zmoveit(); setTimeout('Zmover()',Zspeed);return false;}
	//onload = Zstart;
	setTimeout('Zstart()',1000);
	window.onscroll = Zmoveit;
	//window.setTimeout('Zslide();',200);	
		

	XMLHTTP = function() {
	// The following two options are configurable
	// you don't need to change the rest. Plug & play!
	var _maximumRequestLength = 1500
	//https://
	if (document.location.protocol=='https:')
	{	
			var _apiURL = 'https://www.livehelpnow.net/lhn/jsutil/getinvitationmessage.aspx?ip=38.107.191.100&lhnid=1'
	}
	else
	{
			var _apiURL = 'http://www.livehelpnow.net/lhn/jsutil/getinvitationmessage.aspx?ip=38.107.191.100&lhnid=1'
	}
	this.status = null
	this.statusText = null
	this.responseText = null
	this.responseXML = null
	this.synchronous = false
	this.readyState = 0
	this.onreadystatechange =  function() { }
	this.onerror = function() { }
	this.onload = function() { }
	this.abort = function() {
		_stop = true
		_destroyScripts()
	}
	this.getAllResponseHeaders = function() {
		// Returns all response headers as a string
		var result = ''
		for (property in _responseHeaders)
		result += property + ': ' + _responseHeaders[property] + '\r\n'
		return result
	}
	this.getResponseHeader = function(name) {
		// Returns a response header value
		// Note, that the search is case-insensitive
		for(property in _requestHeaders) {
		if(property.toLowerCase() == name.toLowerCase())
			return _responseHeaders[property]
		}
		return null
	}
	this.overrideMimeType = function(type) {
		_overrideMime = type
	}
	this.open = function(method, sync, userName, password) {
		// Setting the internal values
		if (!_checkParameters(method)) return
		_method = (method) ? method : ''
		_userName = (userName) ? userName : ''
		_password = (password) ? password : ''
		_setReadyState(1)
	}
	this.openRequest = function(method, sync, userName, password) {
		// This method is inserted for compatibility purposes only
		return this.open(method, sync, userName, password)
	}
	this.send = function(data) {
		if (_stop) return
		var src = _createQuery(data)
		_createScript(src)
	//    _setReadyState(2)
	}
	this.setRequestHeader = function(name, value) {
		// Set the request header. If the defined header
		// already exists (search is case-insensitive), rewrite it
		if (_stop) return
		for(property in _requestHeaders) {
		if(property.toLowerCase() == name.toLowerCase()) {
			_requestHeaders[property] = value; return
		}
		}
		_requestHeaders[name] = value
	}
	var zsLoc=escape(document.location)+'';
	var zzsLoc=zsLoc.replace(/#/g,'');
	var _method = ''
	var _url = ''
	var _userName = ''
	var _password = ''
	var _requestHeaders = {
		"HTTP-Referer": zzsLoc,
		"Content-Type": "application/x-www-form-urlencoded"
	}
	var _responseHeaders = { }
	var _overrideMime = ""
	var self = this
	var _id = ''
	var _scripts = []
	var _stop = false
	var _throwError = function(description) {
		// Stop script execution and run
		// the user-defined error handler
		//self.onerror(description)
		self.abort()
		return false
	}
	var _createQuery = function(data) {
		if(!data) data = ''
		var headers = ''
		for (property in _requestHeaders)
		headers += property + '=' + _requestHeaders[property] + '&'
		var originalsrc = '&za_id=' + _id
		var src = originalsrc
		var max =  _maximumRequestLength, request = []
		var total = Math.floor(src.length / max), current = 0
		while(src.length > 0) {
		var query = _apiURL + '&'
		+ 'za_id=' 
		+ '' + _id
		request.push(query)
		src = src.substr(max)
		}
		if(request.length == 1)
		src = _apiURL + '' + originalsrc
		else
		src = request
		return src
	}
	var _checkParameters = function(method) {
		// Check the method value (GET, POST, HEAD)
		// and the prefix of the url (http://)
		if(!method)
		return _throwError('Please, specify the query method (GET, POST or HEAD)')
		if(method.toLowerCase() != 'get' &&
		method.toLowerCase() != 'post' &&
		method.toLowerCase() != 'head')
		return _throwError('Please, specify either a GET, POST or a HEAD method')
		return true
	}
	var _createScript = function(src) {
		if ('object' == typeof src) {
		for(var i = 0; i < src.length; i++)
			_createScript(src[i])
		return
		}
		// Create the SCRIPT tag
		var script = document.createElement('script')
		script.src = src
		script.type = 'text/javascript'
		if (navigator.userAgent.indexOf('Safari'))
		script.charset = 'utf-8' // Safari bug
		if (document.getElementsByTagName('head')[0])
			script = document.getElementsByTagName('head')[0].appendChild(script)
		else
		  	script = document.appendChild(script)
		_scripts.push(script)
		return script
	}
	var _escape = function(string) {
		// Native escape() function doesn't quote the plus sign +
		string = escape(string)
		string = string.replace('+', '%2B')
		return string
	}
	var _destroyScripts = function() {
		// Removes the SCRIPT nodes used by the class
		for(var i = 0; i < _scripts.length; i++)
		_scripts[i].parentNode.removeChild(_scripts[i])
	}
	var _registerCallback = function() {
		// Register a callback variable (in global scope)
		// that points to current instance of the class
		_id = 'v' + Math.random().toString().substr(2)
		window[_id] = self
	}
	var _setReadyState = function(number) {
		// Set the ready state property of the class
		self.readyState = number
		self.onreadystatechange()
		if(number == 4) self.onload()
	}
	var _parseXML = function() {
		var type = self.getResponseHeader('Content-type') + _overrideMime
		if(!(type.indexOf('html') > -1 || type.indexOf('xml') > -1)) return
		if(document.implementation && document.implementation.createDocument) {
			var objDOMParser = new DOMParser()
			var xml = objDOMParser.parseFromString(self.responseText, "text/xml")
			self.responseXML = xml
		} else if (window.ActiveXObject) {
			var xml = new ActiveXObject('MSXML2.DOMDocument.3.0');
			xml.async = false;
			self.responseXML = xml.loadXML(self.responseText)
		} else {
			var xml = document.body.appendChild(document.createElement('div'))
			xml.style.display = 'none'
			xml.innerHTML = self.responseText
			_cleanWhitespace(xml, true)
			self.responseXML = xml.childNodes[0]
			document.body.removeChild(xml)
		}
	}
	var _cleanWhitespace = function(element, deep) {
		var i = element.childNodes.length; if(i == 0) return
		do {
		var node = element.childNodes[--i]
		if (node.nodeType == 3 && !_cleanEmptySymbols(node.nodeValue))
			element.removeChild(node)
		if (node.nodeType == 1 && deep)
			_cleanWhitespace(node, true)
		} while(i > 0)
	}
	var _cleanEmptySymbols = function(string) {
		string = string.replace('\r', '')
		string = string.replace('\n', '')
		string = string.replace(' ', '')
  		return (string.length == 0) ? false : true 
	}
	this._parse = function(object) {
		// Parse the received data and set all
		// the appropriate properties of the class
		if(_stop) return
		if(object.multipart) return
		if(!object.success)
		return _throwError(object.description)
		_responseHeaders = object.responseHeaders
		this.status = object.status
		this.statusText = object.statusText
		this.responseText = object.responseText
		_parseXML()
		_destroyScripts()
		_setReadyState(4)
	}
	_registerCallback()
	}



	window.setTimeout('LHNInvite()', 3000);

	function LHNInvite() {
		
		InviteRepeats=InviteRepeats+1;
		if (InviteRepeats>100)
		{
		zbrepeat=0;
		}
		if (zbrepeat==1) {
			if (document.location.protocol=='https:')
			{
				var url = 'http://www.livehelpnow.net/lhn/jsutil/getinvitationmessage.aspx?ip=38.107.191.100&lhnid=1'
			}
			else
			{
				var url = 'http://www.livehelpnow.net/lhn/jsutil/getinvitationmessage.aspx?ip=38.107.191.100&lhnid=1'
			}
			
			var transport = new XMLHTTP()

			transport.onerror = function(description) {
				//alert('Error: ' + description)
				return;
			}
			transport.onreadystatechange = function() {
				if(transport.readyState == 4)
					{
					//alert(transport.responseText);
					//alert('Total length of data received: ' + transport.responseText.length + '\r\nThese are the response headers:\r\n\r\n' + transport.getAllResponseHeaders())
					if (transport.responseText!='' && transport.responseText!=null  && transport.responseText!="0" && transport.responseText.indexOf('Server Error')==-1)
						{
						WriteLHNMessage(transport.responseText,0);
						bInvited=1;
						//zbrepeat=1;
						}
					}
			}
			
			transport.open('GET')
			
			pausecomp(200)
			transport.send()
			pausecomp(200)
			//setTimeout('LHNInvite()', 3000);

			if ((navigator.userAgent.indexOf('Opera') > -1) && (transport.responseText.length > 0) && (transport.responseText.indexOf('Server Error')==-1)) {

				WriteLHNMessage(transport.responseText,0);
				//zbrepeat=0;
			}

			window.setTimeout('LHNInvite()', 6000);
			return false
			}
	}
	
function CloseLHNInvite() {
Zslide();
if (document.location.protocol=='https:')
{
	var url = 'https://www.livehelpnow.net/lhn/jsutil/closeinvitationmessage.aspx?iplhnid=38.107.191.100|1|9/10/2010 3:26:53 PM'
}
else
{
	var url = 'http://www.livehelpnow.net/lhn/jsutil/closeinvitationmessage.aspx?iplhnid=38.107.191.100|1|9/10/2010 3:26:53 PM'
}

var oImage = new Image;
pausecomp(200);
oImage.src = url;
pausecomp(300);
return false;

}

var lhnInvitation='';

if (typeof zInvitationMessage !='undefined'){
lhnInvitation=zInvitationMessage;
}
else
{
lhnInvitation='Thank You for visiting !<br>Live Operators are on standby.<br>Please let us know if we may be of service.';
}

function displayAutoInvite()
{
WriteLHNMessage(lhnInvitation,1);
}


if (lhnInvitation!='' && bInvited==0) {
if (5000==0)
{
window.setTimeout('displayAutoInvite()',5000);
}
else
{
window.setTimeout('displayAutoInvite()',5000);
}
}

function pausecomp(millis) 
{
zadate = new Date();
var zcurDate = null;

do { var zcurDate = new Date(); } 
while(zcurDate-zadate < millis);
} 
	
var lhnjava;
var lhnreg = new RegExp('/');
var lhnreferrer = escape(document.referrer);
var lhnwindow='0';

var lhnpagetitle=escape(document.title);
var srnd;
var lhnsShortPath = escape(window.location.pathname);

var lhnsPath=escape(this.location);

if (lhnsShortPath=='/')
{
	var lhnsPage = escape(window.location.href);
}
else
{
	var lhnsPage = escape(lhnsShortPath.substring(lhnsShortPath.lastIndexOf('/') + 1));
}
if ( !(navigator.javaEnabled()) ) {
  lhnjava="No" ;
} else {
  lhnjava="Yes" ;
}
var lhnrand_no = Math.random();


var lhnsRes;
var lhnsDepth;
if (window.screen) {
lhnsRes=screen.width + 'x' + screen.height;
lhnsDepth=screen.colorDepth;
}

var lhnflashversion = 0;
var lhndetect = navigator.userAgent.toLowerCase();
var lhnOS,lhnbrowser,lhnversion,lhnthestring;

if (lhncheckIt('konqueror'))
{
	lhnbrowser = "Konqueror";
	lhnOS = "Linux";
}
else if (lhncheckIt('msie')) lhnbrowser = "Internet Explorer"
else if (lhncheckIt('firefox')) lhnbrowser = "Firefox"
else if (lhncheckIt('chrome')) lhnbrowser = "Google Chrome"
else if (lhncheckIt('safari')) lhnbrowser = "Safari"
else if (lhncheckIt('omniweb')) lhnbrowser = "OmniWeb"
else if (lhncheckIt('opera')) lhnbrowser = "Opera"
else if (lhncheckIt('webtv')) lhnbrowser = "WebTV";
else if (lhncheckIt('icab')) lhnbrowser = "iCab"
else if (!lhncheckIt('compatible'))
{
	lhnbrowser = "Netscape Navigator"
	lhnversion = lhndetect.charAt(8);
}
else lhnbrowser = "Unknown";

if (!lhnversion) lhnversion = lhndetect.charAt(lhnplace + lhnthestring.length);


function lhncheckIt(string)
{
	lhnplace = lhndetect.indexOf(string) + 1;
	lhnthestring = string;
	return lhnplace;
}

function WriteLHNMessage(lhnmes,AutoInvite)
{
	var LHpopwhat=(AutoInvite==1)?"OpenLHNChat();":"Invitation();";
	var url=(document.location.protocol=='https:')?"<img style='position:absolute;top:-5000px;left:-5000px;' width='1' height='1' src='https://www.livehelpnow.net/lhn/jsutil/showninvitationmessage.aspx?iplhnid=38.107.191.100|1|9/10/2010 3:26:53 PM' />":"<img style='position:absolute;top:-5000px;left:-5000px;' width='1' height='1' src='http://www.livehelpnow.net/lhn/jsutil/showninvitationmessage.aspx?iplhnid=38.107.191.100|1|9/10/2010 3:26:53 PM' />";

	if (zCustomInvitation==''){
		document.getElementById("Zsleft").innerHTML = "<div class=\"LVchat_window_top\"></div><div class=\"LVchat_window_middle\"><div class=\"LVchat_window_middle_inner\" style=\"background:#993333;\"><div class=\"LVchat_window_blik\"><div class=\"LVchat_window_message_top\">LiveHelpNow</div><div class=\"LVchat_window_message_bottom\">"+lhnmes+"</div><div class=\"LVchat_window_buttons\"><a onclick=\"CloseLHNInvite();return false;\" href=\"#\">No Thanks</a><a onclick=\"" + LHpopwhat + "return false;\" href=\"#\">Start Chat</a><div style=\"clear:both;width:1px;height:1px;overflow:hidden;\"></div></div></div></div></div><div class=\"LVchat_window_bottom\"></div>"+url;
		}
	else
		{
		document.getElementById("Zsleft").innerHTML = lhnmes+url;
		}
	

	if (Zstepx==-10)
		{
		Zslide();
		if (Zmutechime != '1')
		{
			if (lhncheckIt('msie'))
			{
			var body = document.getElementsByTagName("body");
			var divE = document.createElement('bgsound');
			divE.id = "LHNSound";
			divE.style.position = "absolute";
			divE.style.left = "0px";
			divE.style.top = "0px";
			divE.hidden = "true";
			if (document.location.protocol=='https:')
			{
				divE.src="https://www.livehelpnow.net/lhn/sounds/bell.wav";
			}
			else
			{
				divE.src="http://www.livehelpnow.net/lhn/sounds/bell.wav";
			}
			divE.autostart="true";
			divE.loop="0"
			body[0].appendChild(divE);
			setTimeout("document.getElementsByTagName('body')[0].removeChild(document.getElementById('LHNSound'))", 3000);
			}
			else
			{
			var body = document.getElementsByTagName("body");
			var divE = document.createElement('embed');
			divE.id = "zaBellSound";
			divE.style.position = "absolute";
			divE.style.left = "-100px";
			divE.style.top = "-100px";
			divE.style.width = "0";
			divE.style.height = "0";
			divE.visible = "false";
			//divE.autostart="true";
			if (document.location.protocol=='https:')
			{
				divE.src="https://www.livehelpnow.net/lhn/sounds/bell.wav";
			}
			else
			{
				divE.src="http://www.livehelpnow.net/lhn/sounds/bell.wav";
			}
			body[0].appendChild(divE);
			setTimeout("document.getElementsByTagName('body')[0].removeChild(document.getElementById('zaBellSound'))", 3000);
			}
		}
		}
   

}



function OpenLHNChat()
{
if(typeof CustomOpenLHNChat == 'function') { 
CustomOpenLHNChat();
return false;
}
var wleft = (screen.width - 580-32) / 2;
var wtop = (screen.height - 420-96) / 2;
<!--HTTPS OR NOT: RELEASENOTE-->
	if (document.location.protocol=='https:')
	{
		window.open('https://www.livehelpnow.net/lhn/livechatvisitor.aspx?zzwindow=' + lhnwindow + '&lhnid=' + 1 + '&d=' + 0,'lhnchat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
	}
	else
	{
		window.open('http://www.livehelpnow.net/lhn/livechatvisitor.aspx?zzwindow=' + lhnwindow + '&lhnid=' + 1 + '&d=' + 0,'lhnchat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
	}

    if (typeof Zstepx != 'undefined')
	{
    if (Zstepx==10) 
    {
    Zslide();
    }
    }
}
function Invitation()
{
var wleft = (screen.width - 580-32) / 2;
var wtop = (screen.height - 420-96) / 2;
	if (document.location.protocol=='https:')
	{
		window.open('https://www.livehelpnow.net/lhn/livechat.aspx?fullname=Visitor&email=unknown_email@livehelpnow.com&lhnmes=lhn&zzwindow=' + lhnwindow + '&lhnid=' + 1,'lhnchat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
	}
	else
	{
	    window.open('http://www.livehelpnow.net/lhn/livechat.aspx?fullname=Visitor&email=unknown_email@livehelpnow.net&lhnmes=lhn&zzwindow=' + lhnwindow + '&lhnid=' + 1,'lhnchat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
	}
   
    Zslide();
}

if ((''!='') && (''!=''))
{
	if (document.location.protocol=='https:')
	{
		document.write("<a href=\"#\" onclick=\"OpenLHNChat();return false;\"><img width= height= alt='Live Help' id=lhnchatimg border=0 nocache src='https://www.livehelpnow.net/lhn/functions/imageserver.ashx?lhnid=" + 1 + "&navname=" + lhnbrowser + "&java=" + lhnjava + "&referrer=" + lhnreferrer + "&pagetitle=" + lhnpagetitle + "&pageurl=" + lhnsPath + "&page=" + lhnsPage + "&zimg=" + 39 + "&sres=" + lhnsRes + "&sdepth=" + lhnsDepth + "&flash=" + lhnflashversion + "&custom1=&custom2=&custom3=&t=" +lhnTrack + "&d=0&rndstr=" + lhnrand_no + "'></a>");
	}
	else
	{
		document.write("<a href=\"#\" onclick=\"OpenLHNChat();return false;\"><img width= height= alt='Live Help' id=lhnchatimg border=0 nocache src='http://www.livehelpnow.net/lhn/functions/imageserver.ashx?lhnid=" + 1 + "&navname=" + lhnbrowser + "&java=" + lhnjava + "&referrer=" + lhnreferrer + "&pagetitle=" + lhnpagetitle + "&pageurl=" + lhnsPath + "&page=" + lhnsPage + "&zimg=" + 39 + "&sres=" + lhnsRes + "&sdepth=" + lhnsDepth + "&flash=" + lhnflashversion + "&custom1=&custom2=&custom3=&t=" +lhnTrack + "&d=0&rndstr=" + lhnrand_no + "'></a>");
	}

}
else
{
	if (document.location.protocol=='https:')
	{
		document.write("<a href=\"#\" onclick=\"OpenLHNChat();return false;\"><img alt='Live Help' id=lhnchatimg border=0 nocache src='https://www.livehelpnow.net/lhn/functions/imageserver.ashx?lhnid=" + 1 + "&navname=" + lhnbrowser + "&java=" + lhnjava + "&referrer=" + lhnreferrer + "&pagetitle=" + lhnpagetitle + "&pageurl=" + lhnsPath + "&page=" + lhnsPage + "&zimg=" + 39 + "&sres=" + lhnsRes + "&sdepth=" + lhnsDepth + "&flash=" + lhnflashversion + "&custom1=&custom2=&custom3=&t=" +lhnTrack + "&d=0&rndstr=" + lhnrand_no + "'></a>");
	}
	else
	{
		document.write("<a href=\"#\" onclick=\"OpenLHNChat();return false;\"><img alt='Live Help' id=lhnchatimg border=0 nocache src='http://www.livehelpnow.net/lhn/functions/imageserver.ashx?lhnid=" + 1 + "&navname=" + lhnbrowser + "&java=" + lhnjava + "&referrer=" + lhnreferrer + "&pagetitle=" + lhnpagetitle + "&pageurl=" + lhnsPath + "&page=" + lhnsPage + "&zimg=" + 39 + "&sres=" + lhnsRes + "&sdepth=" + lhnsDepth + "&flash=" + lhnflashversion + "&custom1=&custom2=&custom3=&t=" +lhnTrack + "&d=0&rndstr=" + lhnrand_no + "'></a>");
	}
}

