if (typeof(tagVars)=="undefined")
	tagVars = "";
	
if (typeof(lpUASorderTotal)!="undefined" && lpUASorderTotal!=""){
	tagVars = tagVars + '&SESSIONVAR!OrderTotal=' + escape(lpUASorderTotal);
	tagVars = tagVars + '&SESSIONVAR!' + lpUASunit + '_OrderTotal=' + escape(lpUASorderTotal);
	tagVars = tagVars + '&SESSIONVAR!Conversion=1';
}

if (typeof(lpUASerrorName)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ErrorName=' + escape(lpUASerrorName);
	
if (typeof(lpUASsection)!="undefined")
	tagVars = tagVars + '&PAGEVAR!Section=' + escape(lpUASsection);
	
if (typeof(lpUASconversionAction)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ConversionAction=' + escape(lpUASconversionAction);

if (typeof(lpUASregisteredUser)!="undefined")
	tagVars = tagVars + '&PAGEVAR!RegisteredUser=' + escape(lpUASregisteredUser);

if (typeof(lpUASerrorCounter)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ErrorCounter=' + escape(lpUASerrorCounter);
	
if (typeof(lpUASvisitorID)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!VisitorID=' + escape(lpUASvisitorID);
	
if (typeof(lpUASplan)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Plan=' + escape(lpUASplan);

if (typeof(lpUASexpireDate)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ExpireDate=' + escape(lpUASexpireDate);

if (typeof(lpUASactive)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Active=' + escape(lpUASactive);
	
if (typeof(lpUASacceptedPromo)!="undefined")
	tagVars = tagVars + '&PAGEVAR!AcceptedPromo=' + escape(lpUASacceptedPromo);
	
if (typeof(lpUASgroupID)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!GroupID=' + escape(lpUASgroupID);
	
if (typeof(lpUASlastLoginDate)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!LastLoginDate=' + escape(lpUASlastLoginDate);
	
if (typeof(lpUASprobabilityToRenew)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ProbabilityToRenew=' + escape(lpUASprobabilityToRenew);
	
if (typeof(lpUASadmin)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Admin=' + escape(lpUASadmin);
	
if (typeof(lpUASaccountMgr_Email)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!AccountMgr_Email=' + escape(lpUASaccountMgr_Email);
	
if (typeof(lpUASaccountMgr_Name)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!AccountMgr_Name=' + escape(lpUASaccountMgr_Name);
	
	
var INITIAL_MAX_SIZE = 300;
var MAX_TAGVARSURL_SIZE = 1600;
var INITIAL_STRING = document.location.toString() + document.title;
var STRING_MAX_SIZE = INITIAL_STRING.length + INITIAL_MAX_SIZE;

if ((typeof(tagVars) == "undefined") || (tagVars == null))
	tagVars = "";
while ((tagVars.length + STRING_MAX_SIZE > MAX_TAGVARSURL_SIZE) && (tagVars.length > 0)) {
	var idx = tagVars.lastIndexOf("&");
	if (idx > 0)
		tagVars = tagVars.substring(0, idx);
	else
		tagVars = "";
}