if (typeof(tagVars)=="undefined")
	tagVars = "";

if (typeof(lpUAScurrentProducts)!="undefined")
	tagVars = tagVars + '&PAGEVAR!CurrentProducts=' + escape(lpUAScurrentProducts);

if (typeof(lpUASsympaticoQualified)!="undefined")
	tagVars = tagVars + '&PAGEVAR!SympaticoQualified=' + escape(lpUASsympaticoQualified);

if (typeof(lpUASerrorCount)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ErrorCount=' + escape(lpUASerrorCount);	

if (typeof(lpUASunitCountWireline)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UnitCountWireline=' + escape(lpUASunitCountWireline);

if (typeof(lpUASunitCountBellMobility)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UnitCountBellMobility=' + escape(lpUASunitCountBellMobility);

if (typeof(lpUASunitCountSatellite)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UnitCountSatellite=' + escape(lpUASunitCountSatellite);

if (typeof(lpUASunitCountDigitalVoice)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UnitCountDigitalVoice=' + escape(lpUASunitCountDigitalVoice);

if (typeof(lpUASunitCountSympatico)!="undefined")
	tagVars = tagVars + '&PAGEVAR!UnitCountSympatico=' + escape(lpUASunitCountSympatico);

if (typeof(lpUASconversionDetails)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ConversionDetails=' + escape(lpUASconversionDetails);

if (typeof(lpUASorderDetails)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderDetails=' + escape(lpUASorderDetails);

if (typeof(lpUASorderTotal)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotal=' + escape(lpUASorderTotal);

if (typeof(lpUASorderTotalSympaticoMonthly)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalSympaticoMonthly=' + escape(lpUASorderTotalSympaticoMonthly);

if (typeof(lpUASorderTotalSympaticoOneTime)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalSympaticoOneTime=' + escape(lpUASorderTotalSympaticoOneTime);

if (typeof(lpUASorderTotalMonthly)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalMonthly=' + escape(lpUASorderTotalMonthly);

if (typeof(lpUASorderTotalOnetime)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalOnetime=' + escape(lpUASorderTotalOnetime);

if (typeof(lpUASorderTotalDigitalVoice)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalDigitalVoice=' + escape(lpUASorderTotalDigitalVoice);

if (typeof(lpUASorderTotalSatelliteMonthly)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalSatelliteMonthly=' + escape(lpUASorderTotalSatelliteMonthly);

if (typeof(lpUASorderTotalSatelliteOneTime)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalSatelliteOneTime=' + escape(lpUASorderTotalSatelliteOneTime);

if (typeof(lpUASorderTotalWirelessMonthly)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalWirelessMonthly=' + escape(lpUASorderTotalWirelessMonthly);

if (typeof(lpUASorderTotalWirelessNow)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalWirelessNow=' + escape(lpUASorderTotalWirelessNow);

if (typeof(lpUASorderTotalWirelineMonthly)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalWirelineMonthly=' + escape(lpUASorderTotalWirelineMonthly);

if (typeof(lpUASorderTotalWirelineNow)!="undefined")
	tagVars = tagVars + '&PAGEVAR!OrderTotalWirelineNow=' + escape(lpUASorderTotalWirelineNow);

if (typeof(lpUASconversionStage)!="undefined")
	tagVars = tagVars + '&PAGEVAR!ConversionStage=' + escape(lpUASconversionStage);		

if (typeof(lpUAScustomer)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Customer=' + escape(lpUAScustomer);

if (typeof(lpUASbuyLater)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!BuyLater=' + escape(lpUASbuyLater);

if (typeof(lpUASprovince)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Province=' + escape(lpUASprovince);

if (typeof(lpUASemailAddress)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!EmailAddress=' + escape(lpUASemailAddress);	

if (typeof(lpUASnoOfCategories)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!NoOfCategories=' + escape(lpUASnoOfCategories);
	
if (typeof(lpUAScategoryName)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!CategoryName=' + escape(lpUAScategoryName);	

if (typeof(lpUASsection)!="undefined")
	tagVars = tagVars + '&SESSIONVAR!Section=' + escape(lpUASsection);
	
// Checks the length of tagVars and trims tagVars if tagVars exceeds 1600 chars.
var INITIAL_MAX_SIZE = 300;
var MAX_TAGVARSURL_SIZE = 1900;
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 = "";
}
