//function sendValue(conDesTo,DestTo,Destination,DestFrom,dptDate,DptMonYr,retDate,RetMonYr,Adult,Child,infant,sngRoom,twnRoom,dblRoom,tplRoom,AirLine,RequestType,JrnType,rdotype,conDesName,allCountry,desIndex,fulldestination,desttoindex,fromdest,FHDptDate,FHDptMon,FHDptYr,FHRetDate,FHRetMon,FHRetYr)
//	{
	function sendValue(AirLine,DestFrom,DestTo,DayMonth,DayMonYr,DayMonRet,RetDate,Adult,Child,infant,sngRoom,twnRoom,dblRoom,tplRoom,NonStop)
	{
	document.flthtlSearch1.FHAirLine.value= "ALL";	
	document.flthtlSearch1.FHDestFrom.value= DestFrom;
	document.flthtlSearch1.FHDestTo.value= DestTo ;
	document.flthtlSearch1.FHDayMonth.value= DayMonth ;
	document.flthtlSearch1.FHDptDateDDMMYY.value=DayMonYr ;
	document.flthtlSearch1.FHDayMonthRet.value=DayMonRet ;
	document.flthtlSearch1.FHRetDateDDMMYY.value=RetDate ;
	
	document.flthtlSearch1.FHAdult.value=Adult;
	document.flthtlSearch1.FHChild.value=Child;	
	document.flthtlSearch1.FHInfant.value=infant;
	document.flthtlSearch1.FHSngRoom.value=sngRoom;	
	document.flthtlSearch1.FHTwnRoom.value=twnRoom;
	document.flthtlSearch1.FHDblRoom.value=dblRoom;	
	document.flthtlSearch1.FHTplRoom.value=tplRoom;
	document.flthtlSearch1.FHNonStop.value=0;
	
	
	document.flthtlSearch1.RequestType.value = "FLTHTL";

//	document.flthtlSearch1.fullfrom.value=conDesTo+"("+DestFrom+")";
//	document.flthtlSearch1.FHDptDate.value=dptDate;
//	document.flthtlSearch1.FHDptMonYr.value=DptMonYr;
//	document.flthtlSearch1.FHRetDate.value=retDate;
//	document.flthtlSearch1.FHRetMonYr.value=RetMonYr;
//	document.flthtlSearch1.Destination.value=Destination;
//	document.flthtlSearch1.fulldest.value=conDesName+"("+DestTo+")";
//	
//	
//	document.flthtlSearch1.rdotype.value=rdotype;
//	document.flthtlSearch1.conDesName.value=conDesName;	
//	document.flthtlSearch1.allCountry.value=allCountry;	
//	document.flthtlSearch1.hFHDestFromIndex.value=desIndex;
//	document.flthtlSearch1.hFHAirLineIndex.value=0;
//    if(fulldestination.toUpperCase()=="ABUDHABI")
//    {document.flthtlSearch1.hFHDestToTxt.value="Abu Dhabi";}
//    else{document.flthtlSearch1.hFHDestToTxt.value=fulldestination;}
//	document.flthtlSearch1.hFHDestToIndex.value=desttoindex;
//	document.flthtlSearch1.fromdest.value=fromdest;
//	document.flthtlSearch1.FHDptMon.value=FHDptMon;
//	document.flthtlSearch1.FHDptYr.value=FHDptYr;
//	document.flthtlSearch1.FHRetMon.value=FHRetMon;
//	document.flthtlSearch1.FHRetYr.value=FHRetYr;
//	document.flthtlSearch1.hodval.value=1;
	document.flthtlSearch1.method="post";
	document.flthtlSearch1.target="_top";document.flthtlSearch1.action="flighthotel.aspx";
	document.flthtlSearch1.submit();	
	}

currentvalue =1;   
scrollStep=1

timerLeft=""
timerRight=""

function toLeft(id){
  document.getElementById(id).scrollLeft=0
}

function scrollDivLeft(id){

  clearTimeout(timerRight) 
  document.getElementById(id).scrollLeft+=scrollStep
  timerRight=setTimeout("scrollDivLeft('"+id+"')",10)
}

function scrollDivRight(id){

  clearTimeout(timerLeft)
  document.getElementById(id).scrollLeft-=scrollStep
  timerLeft=setTimeout("scrollDivRight('"+id+"')",10)
}

function scrollDivBottom(id){

  clearTimeout(timerRight)

  document.getElementById(id).scrollTop -= scrollStep
  timerRight=setTimeout("scrollDivBottom('"+id+"')",20)
 
}
function scrollDivTop(id){

  clearTimeout(timerRight)
if(currentvalue == document.getElementById(id).scrollTop)
  document.getElementById(id).scrollTop = 0;
  currentvalue = document.getElementById(id).scrollTop;
  document.getElementById(id).scrollTop += scrollStep
  timerRight=setTimeout("scrollDivTop('"+id+"')",100)
  
}
function Test(id)
{
  clearTimeout(timerRight)

  document.getElementById(id).scrollTop -= scrollStep
  timerRight=setTimeout("Test('"+id+"')",20)

}
function loopDelay(numberMillis) { 
var now = new Date(); 
var exitTime = now.getTime() + numberMillis; 
while (true) { 
now = new Date(); 
if (now.getTime() > exitTime) 
return; 
} 
} 


function scrollDivBottom(id){
  clearTimeout(timerLeft)
  document.getElementById(id).scrollBottom-=scrollStep
  timerLeft=setTimeout("scrollDivBottom('"+id+"')",10)
}

function toRight(id){
  document.getElementById(id).scrollLeft=document.getElementById(id).scrollWidth
}

function stopMe(){
  clearTimeout(timerRight) 
  clearTimeout(timerLeft)
}

