var AjaxMethods = { 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);}, getDestination:function(pDestinationType,callback,context){return new ajax_request(this.url + '?_method=getDestination&_session=no','pDestinationType=' + enc(pDestinationType),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);}, url:'/vbwrapper/EMWEB.TUI.AjaxMethods,EMWEB.TUI.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