// cached javascript var AjaxMethods = { getSessionID:function(callback,context){return new ajax_request(this.url + '?_method=getSessionID&_session=no','',callback, context);}, getCityTSM:function(destination,sessionID,callback,context){return new ajax_request(this.url + '?_method=getCityTSM&_session=no','destination=' + enc(destination)+ '\r\nsessionID=' + enc(sessionID),callback, context);}, getPrices:function(pAirportName,pAirportCode,pDateFrom,pDateTo,pDestinationName,pCity,pAccomodation,pNights,pPromoMsg,pReferer,pAirportNumber,pPlan,section,callback,context){return new ajax_request(this.url + '?_method=getPrices&_session=no','pAirportName=' + enc(pAirportName)+ '\r\npAirportCode=' + enc(pAirportCode)+ '\r\npDateFrom=' + enc(pDateFrom)+ '\r\npDateTo=' + enc(pDateTo)+ '\r\npDestinationName=' + enc(pDestinationName)+ '\r\npCity=' + enc(pCity)+ '\r\npAccomodation=' + enc(pAccomodation)+ '\r\npNights=' + enc(pNights)+ '\r\npPromoMsg=' + enc(pPromoMsg)+ '\r\npReferer=' + enc(pReferer)+ '\r\npAirportNumber=' + enc(pAirportNumber)+ '\r\npPlan=' + enc(pPlan)+ '\r\nsection=' + enc(section),callback, context);}, getAirportArrive:function(pDepartureFrom,pSectionName,pProductType,callback,context){return new ajax_request(this.url + '?_method=getAirportArrive&_session=no','pDepartureFrom=' + enc(pDepartureFrom)+ '\r\npSectionName=' + enc(pSectionName)+ '\r\npProductType=' + enc(pProductType),callback, context);}, getAirportArriveNoDeparture:function(pSectionName,pProductType,callback,context){return new ajax_request(this.url + '?_method=getAirportArriveNoDeparture&_session=no','pSectionName=' + enc(pSectionName)+ '\r\npProductType=' + enc(pProductType),callback, context);}, makeEstimate:function(pPipe,pOfferID,callback,context){return new ajax_request(this.url + '?_method=makeEstimate&_session=no','pPipe=' + enc(pPipe)+ '\r\npOfferID=' + enc(pOfferID),callback, context);}, getOfferDescription:function(idOffer,callback,context){return new ajax_request(this.url + '?_method=getOfferDescription&_session=no','idOffer=' + enc(idOffer),callback, context);}, getDepartureDates:function(pAirportName,pAirportCode,pDateFrom,pDateTo,pDestinationName,pCity,pAccomodation,pNights,pPromoMsg,pReferer,pAirportNumber,pPlan,section,pType,pRifTD,pNetwork,callback,context){return new ajax_request(this.url + '?_method=getDepartureDates&_session=no','pAirportName=' + enc(pAirportName)+ '\r\npAirportCode=' + enc(pAirportCode)+ '\r\npDateFrom=' + enc(pDateFrom)+ '\r\npDateTo=' + enc(pDateTo)+ '\r\npDestinationName=' + enc(pDestinationName)+ '\r\npCity=' + enc(pCity)+ '\r\npAccomodation=' + enc(pAccomodation)+ '\r\npNights=' + enc(pNights)+ '\r\npPromoMsg=' + enc(pPromoMsg)+ '\r\npReferer=' + enc(pReferer)+ '\r\npAirportNumber=' + enc(pAirportNumber)+ '\r\npPlan=' + enc(pPlan)+ '\r\nsection=' + enc(section)+ '\r\npType=' + enc(pType)+ '\r\npRifTD=' + enc(pRifTD)+ '\r\npNetwork=' + enc(pNetwork),callback, context);}, getFlights:function(idOffer,callback,context){return new ajax_request(this.url + '?_method=getFlights&_session=no','idOffer=' + enc(idOffer),callback, context);}, getAvailableRooms:function(idOffer,callback,context){return new ajax_request(this.url + '?_method=getAvailableRooms&_session=no','idOffer=' + enc(idOffer),callback, context);}, url:'/VACATION/vbwrapper/tui_vacation.AjaxMethods,tui_vacation.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i