/* 
BEGIN Basline-Configuration Script
(this should be called AFTER the section-specific Configuration scripts) 
*/
// Variable to be populated in function that triggers the click action
//--------------------------------------
function lpUASaction(lpUASvarName, lpUASvarValue){
var lpUASimgAction = new Image();
lpUASimgAction.src="https://server.iad.liveperson.net/hc/10502888/cmd/url/?site=10502888&page=https://server.iad.liveperson.net/hcp/width/img1.gif&SESSIONVAR!" + lpUASvarName + "=" + lpUASvarValue;
}
//--------------------------------------

var lpNumber;
if (typeof(lpNumber)=="undefined") {
	lpNumber = "10502888"; 
}

var lpServerName;
if (typeof(lpServerName)=="undefined") {
	lpServerName = "server.iad.liveperson.net";
}

var tagVars;
var lpUASexistingTagVars=null;
if (typeof(tagVars)=="undefined") {
	tagVars = ""; 
} else {
	lpUASexistingTagVars = tagVars;
}

var lpUASlanguage;
if (typeof(lpUASlanguage)=="undefined") {
	lpUASlanguage="english";
}

var lpUASimagesFolder;
if (typeof(lpUASimagesFolder)=="undefined")
	lpUASimagesFolder = lpUASunit + "-" + lpUASlanguage;
if (lpUASimagesFolder.indexOf("((shared))")==0)
	lpUASimagesFolder = lpUASimagesFolder.substring("((shared))".length);

var lpUASbuttonImagesFolder;
if (typeof(lpUASbuttonImagesFolder)=="undefined")
	lpUASbuttonImagesFolder = lpUASimagesFolder +"/button";
if (typeof(lpUASbuttonType)!="undefined")
	lpUASbuttonImagesFolder += "-" + lpUASbuttonType;

var lpUASInvitationImagesFolder;
if (typeof(lpUASInvitationImagesFolder)=="undefined")
	lpUASInvitationImagesFolder = lpUASimagesFolder +"/invitation";

var lpUASimageURL;
if (typeof(lpUASimageURL)=="undefined" && typeof(lpUASimagesPath)!="undefined")
	lpUASimageURL = lpUASimagesPath + "/" + lpUASInvitationImagesFolder;

var lpPosX = lpUASinvitePositionX;
var lpPosY = lpUASinvitePositionY;

if (typeof(lpUASunit)!="undefined")
	tagVars = tagVars + '&PAGEVAR!unit=' + escape(lpUASunit);

if (typeof(lpUASlanguage)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!language=' + escape(lpUASlanguage);

if (typeof(lpUASwebsite)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UASwebsite=' + escape(lpUASwebsite);

if (typeof(lpUASwebsite)!="undefined" && typeof(lpUASunit)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UASwebsiteUnit=' + escape(lpUASwebsite+":"+lpUASunit);

if (typeof(lpUAScontext)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UAScontext=' + escape(lpUAScontext);

var lpUAScontext;
if (typeof(lpUAScontext)=="undefined") {
	lpUAScontext = document.title;
}

var lpCustomImageURL;
if (typeof(lpCustomImageURL)=="undefined")
	lpCustomImageURL = lpUASimageURL + "/";


if (typeof(lpUASinvitationTitle)!="undefined") {
	lpCustomInvitationTitle = lpUASinvitationTitle;
} else {
	lpCustomInvitationTitle="Invitation popup window for live chat with a representative";
}

if (typeof(lpUASinvitationCloseTitle)!="undefined") {
	lpCustomInvitationCloseTitle = lpUASinvitationCloseTitle;
} else {
	lpUASinvitationCloseTitle="Close chat invitation";
}

if (typeof(lpUASbuttonTitle)=="undefined") {
	lpUASbuttonTitle = "Live Chat";
}

if (typeof(lpSaveRejectStatus)=="undefined") {
	lpSaveRejectStatus = true;
}


if (typeof(lpRejectStateTimeout)=="undefined") {
	lpRejectStateTimeout = 300;
}
function lpdbButtonAction() {}

/* 
END Configuration Script
*/
