// cached javascript var AjaxService = { LoadCountryList:function(callback,context){return new ajax_request(this.url + '?_method=LoadCountryList&_session=r','',callback, context);}, LoadCountryList_TN:function(callback,context){return new ajax_request(this.url + '?_method=LoadCountryList_TN&_session=r','',callback, context);}, LoadCityList:function(cntyCode,callback,context){return new ajax_request(this.url + '?_method=LoadCityList&_session=r','cntyCode=' + enc(cntyCode),callback, context);}, LoadCityList_TN:function(cntyCode,callback,context){return new ajax_request(this.url + '?_method=LoadCityList_TN&_session=r','cntyCode=' + enc(cntyCode),callback, context);}, SendHttpRequest:function(cntyCode,cityCode,chkInDt,chkOtDt,rmTyp1,rmCnt1,rmCot1,chdAg1,rmTyp2,rmCnt2,rmCot2,chdAg2,rmTyp3,rmCnt3,rmCot3,chdAg3,htlRng,htlLct,currCat,hhName,callback,context){return new ajax_request(this.url + '?_method=SendHttpRequest&_session=r','cntyCode=' + enc(cntyCode)+ '\r\ncityCode=' + enc(cityCode)+ '\r\nchkInDt=' + enc(chkInDt)+ '\r\nchkOtDt=' + enc(chkOtDt)+ '\r\nrmTyp1=' + enc(rmTyp1)+ '\r\nrmCnt1=' + enc(rmCnt1)+ '\r\nrmCot1=' + enc(rmCot1)+ '\r\nchdAg1=' + enc(chdAg1)+ '\r\nrmTyp2=' + enc(rmTyp2)+ '\r\nrmCnt2=' + enc(rmCnt2)+ '\r\nrmCot2=' + enc(rmCot2)+ '\r\nchdAg2=' + enc(chdAg2)+ '\r\nrmTyp3=' + enc(rmTyp3)+ '\r\nrmCnt3=' + enc(rmCnt3)+ '\r\nrmCot3=' + enc(rmCot3)+ '\r\nchdAg3=' + enc(chdAg3)+ '\r\nhtlRng=' + enc(htlRng)+ '\r\nhtlLct=' + enc(htlLct)+ '\r\ncurrCat=' + enc(currCat)+ '\r\nhhName=' + enc(hhName),callback, context);}, SendHttpRequest_TN:function(cityCode,pickUpCode,dropOffCode,serviceDate,currCode,paxCount,langCode,callback,context){return new ajax_request(this.url + '?_method=SendHttpRequest_TN&_session=r','cityCode=' + enc(cityCode)+ '\r\npickUpCode=' + enc(pickUpCode)+ '\r\ndropOffCode=' + enc(dropOffCode)+ '\r\nserviceDate=' + enc(serviceDate)+ '\r\ncurrCode=' + enc(currCode)+ '\r\npaxCount=' + enc(paxCount)+ '\r\nlangCode=' + enc(langCode),callback, context);}, GetLocationByCityCode:function(cityCode,callback,context){return new ajax_request(this.url + '?_method=GetLocationByCityCode&_session=r','cityCode=' + enc(cityCode),callback, context);}, LoadRoomStatusLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadRoomStatusLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadStarRatingLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadStarRatingLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadFixLocationLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadFixLocationLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadRoomFacilityLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadRoomFacilityLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadHotelFacilityLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadHotelFacilityLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadNearCityCenterLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadNearCityCenterLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, LoadNearMetroLowestPrice:function(skey,callback,context){return new ajax_request(this.url + '?_method=LoadNearMetroLowestPrice&_session=r','skey=' + enc(skey),callback, context);}, ValidateSiteCode:function(siteid,callback,context){return new ajax_request(this.url + '?_method=ValidateSiteCode&_session=r','siteid=' + enc(siteid),callback, context);}, url:'/Interface/GlobalHotel/t-en/ajax/Business.AjaxService,App_Code.ashx' } function _getTable(n,e){for(var i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;}