	/* ------------------------------------------- Timer Start ------------------------ */	
	var strTimeOut	 = '10:00';
	var intTimeLimit 	= 0;
	var blnTimerEnable 	= true;
	var objTimer		= null;
	
	var strTimeOutLstMsg= "The #1 minutes timeout for completing this booking has expired.  You will now be transferred back to the flight selection page."
	var strTimeSesExpMsg= "Your Session Expired.";
	
	/* Timer Set */
	function setTimer(){
		if (top.strTimeOut != ""){
			if (document.images){
				var arrTimeLimit = top.strTimeOut.split(':');
				intTimeLimit = arrTimeLimit[0] * 60 + arrTimeLimit[1] * 1;
			}
			if (objTimer != null){
				clearTimeout(objTimer);
			}
			startTimer();
		}
	}
	
	/* Timer Start */
	function startTimer(){
		if (blnTimerEnable){
			if (intTimeLimit == 0){
				clearTimeout(objTimer);
				alert(replaceAll(strTimeOutLstMsg, "#1", strTimeOut));
				DivWrite("spnTimeMsg", "<font class='fntBold'>" + strTimeSesExpMsg + "<\/font>");
				//loadHomePage();
				loadMyHomePage();
			}else {
				var strCTime, intMin, intSec, intRemainMin;
				intTimeLimit-=1;
				
				intMin = Math.floor(intTimeLimit/60);
				intSec = intTimeLimit%60;
				intRemainMin = intMin+1;
				
				DivWrite("spnTimerValue", intRemainMin);
				//window.status = "This page will time-out in " + intRemainMin + " minute(s).";
     			objTimer = setTimeout('startTimer()',1000);
			}
		}
	}
	/* ------------------------------------------- Timer End ------------------------ */