if (typeof(tagVars)=="undefined")
	tagVars = "";
	
if (typeof(lpUASsb_orderTotal)!="undefined" && lpUASsb_orderTotal!=""){
	tagVars = tagVars + '&PAGEVAR!sb_OrderTotal=' + escape(lpUASsb_orderTotal);
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + 'sb_OrderTotal=' + escape(lpUASsb_orderTotal);
	tagVars = tagVars + '&SESSIONVAR!Conversion=1';
}

if (typeof(lpUASorderTotal)!="undefined" && lpUASorderTotal!=""){
	tagVars = tagVars + '&PAGEVAR!OrderTotal=' + escape(lpUASorderTotal);
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_OrderTotal=' + escape(lpUASorderTotal);
	tagVars = tagVars + '&SESSIONVAR!Conversion=1';
}

if (typeof(lpUASerrorCounter)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ErrorCounter=' + escape(lpUASerrorCounter);
	
if (typeof(lpUASappStarted)!="undefined")
	tagVars = tagVars + '&PAGEVAR!AppStarted=' + escape(lpUASappStarted);
	
if (typeof(lpUASsb_appStarted)!="undefined")
	tagVars = tagVars + '&PAGEVAR!sb_AppStarted=' + escape(lpUASsb_appStarted);
	
if (typeof(lpUASconversionStage)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ConversionStage=' + escape(lpUASconversionStage);
	
if (typeof(lpUASappSubmitted)!="undefined")
	tagVars = tagVars + '&PAGEVAR!AppSubmitted=' + escape(lpUASappSubmitted);
	
if (typeof(lpUASppc)!="undefined")
	tagVars = tagVars + '&PAGEVAR!Ppc=' + escape(lpUASppc);
	
if (typeof(lpUASorderNumber)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderNumber=' + escape(lpUASorderNumber);
	
if (typeof(lpUAScardType)!="undefined")
	tagVars = tagVars + '&PAGEVAR!CardType=' + escape(lpUAScardType);
	
if (typeof(lpUASusCitizen )!="undefined")
	tagVars = tagVars + '&SESSIONVAR!UsCitizen=' + escape(lpUASusCitizen );
	
if (typeof(lpUASsection )!="undefined") {
	tagVars = tagVars + '&PAGEVAR!Section=' + escape(lpUASsection );
	tagVars = tagVars + '&SESSIONVAR!SectionA=' + escape(lpUASsection );
}
	
	
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 = "";
}