if (typeof(tagVars)=="undefined")
	tagVars = "";
	
if (typeof(lpUASorderTotal)!="undefined" && lpUASorderTotal!=""){
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_OrderTotal=' + escape(lpUASorderTotal);
	tagVars = tagVars + '&SESSIONVAR!Conversion=1';
	if (typeof(lpUASbusinessStatus)!="undefined" && lpUASbusinessStatus!=""){
		tagVars = tagVars + '&PAGEVAR!' + lpUASbusinessStatus + '_OrderTotal=' + escape(lpUASorderTotal);
	}
}

if (typeof(lpUASsection)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_Section=' + escape(lpUASsection);

if (typeof(lpUASconversionStage)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_ConversionStage=' + escape(lpUASconversionStage);

if (typeof(lpUASerrorName)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_ErrorName=' + escape(lpUASerrorName);

if (typeof(lpUASerrorCounter)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_ErrorCounter=' + escape(lpUASerrorCounter);

if (typeof(lpUASpageExclude)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_PageExclude=' + escape(lpUASpageExclude);

if (typeof(lpUASbusinessTurnover)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!' + lpUASunit + '_BusinessTurnover=' + escape(lpUASbusinessTurnover);

if (typeof(lpUAScartTotal)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_CartTotal=' + escape(lpUAScartTotal);

if (typeof(lpUASorderNumber)!="undefined")
	tagVars = tagVars + '&PAGEVAR!' + lpUASunit + '_OrderNumber=' + escape(lpUASorderNumber);

if (typeof(lpUASbusinessStatus)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!BusinessStatus=' + escape(lpUASbusinessStatus);

if (typeof(lpUASlegalStructures)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!LegalStructures=' + escape(lpUASlegalStructures);

if (typeof(lpUASadditionalBorrowAmount)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!AdditionalBorrowAmount=' + escape(lpUASadditionalBorrowAmount);

if (typeof(lpUASmainBusinessActivity)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!MainBusinessActivity=' + escape(lpUASmainBusinessActivity);

if (typeof(lpUASpayinAmount)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!PayinAmount=' + escape(lpUASpayinAmount);

if (typeof(lpUAScurrentBankers)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!CurrentBankers=' + escape(lpUAScurrentBankers);
	
if (typeof(lpUAscurrentBankerTenure)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!CurrentBankerTenure=' + escape(lpUAscurrentBankerTenure);

if (typeof(lpUASinternetBankingRegister)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!InternetBankingRegister=' + escape(lpUASinternetBankingRegister);

if (typeof(lpUAStelephoneBankingRegister)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!TelephoneBankingRegister=' + escape(lpUAStelephoneBankingRegister);

if (typeof(lpUASbusinessPlan)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!BusinessPlan=' + escape(lpUASbusinessPlan);

if (typeof(lpUASprojectedSales)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ProjectedSales=' + escape(lpUASprojectedSales);

if (typeof(lpUASnumberActiveDebtors)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!NumberActiveDebtors=' + escape(lpUASnumberActiveDebtors);

if (typeof(lpUASbusinessName)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!BusinessName=' + escape(lpUASbusinessName);

if (typeof(lpUAScontactName)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ContactName=' + escape(lpUAScontactName);

if (typeof(lpUAScontactNumber)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ContactNumber=' + escape(lpUAScontactNumber);

if (typeof(lpUAScontactEmail)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!ContactEmail=' + escape(lpUAScontactEmail);

if (typeof(lpUASserviceChargeIndication)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ServiceChargeIndication=' + escape(lpUASserviceChargeIndication);
	
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 = "";
}
