 var lpMTagConfig = {'lpServer' : "server.iad.liveperson.net",'lpNumber' : "71985075",'lpProtocol' : (document.location.toString().indexOf('https:')==0) ? 'https' : 'http'}; function lpAddMonitorTag(src){if(typeof(src)=='undefined'||typeof(src)=='object'){src=lpMTagConfig.lpMTagSrc?lpMTagConfig.lpMTagSrc:'/hcp/html/mTag.js';}if(src.indexOf('http')!=0){src=lpMTagConfig.lpProtocol+"://"+lpMTagConfig.lpServer+src+'?site='+lpMTagConfig.lpNumber;}else{if(src.indexOf('site=')<0){if(src.indexOf('?')<0)src=src+'?';else src=src+'&';src=src+'site='+lpMTagConfig.lpNumber;}};var s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('charset','iso-8859-1');s.setAttribute('src',src);document.getElementsByTagName('head').item(0).appendChild(s);} if (window.attachEvent) window.attachEvent('onload',lpAddMonitorTag); else window.addEventListener("load",lpAddMonitorTag,false);
 
/* **************** START Invitation Events **************************/
lpMTagConfig.inviteChatShown =  function (invitename){
	try{
		//Add web analytics code here to capture the Invitation Shown event
		genOmn.init('events:event51', {trackDef:'link', obj:true, linkType:'o'});
	}catch(e){}
	return true;
}

lpMTagConfig.inviteChatTimeout =  function (invitename){
	try{
		//Add web analytics code here to capture the Invitation Timed Out ("ignored") event
	}catch(e){}
	return true;
}
lpMTagConfig.inviteChatAccept =  function (invitename){
	try{
		//Add web analytics code here to capture the Invitation Accepted event
		genOmn.init('events:event52', {trackDef:'link', obj:true, linkType:'o'});
	}catch(e){}
	return true;
}
lpMTagConfig.inviteChatDeclined =  function (invitename){
	try{
		//Add web analytics code here to capture the Invitation Declined event
		genOmn.init('events:event53', {trackDef:'link', obj:true, linkType:'o'});
	}catch(e){}
	return true;
}
/* **************** END Invitation Events **************************/
