var MznService=function() {
MznService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MznService.prototype={
requestPhone:function(hotelID,hotelName,visitorMobile,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'requestPhone',false,{hotelID:hotelID,hotelName:hotelName,visitorMobile:visitorMobile},succeededCallback,failedCallback,userContext); },
requestRatesEmail:function(mznReqModel,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'requestRatesEmail',false,{mznReqModel:mznReqModel},succeededCallback,failedCallback,userContext); },
MMTRequestRates:function(mznReqModel,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'MMTRequestRates',false,{mznReqModel:mznReqModel},succeededCallback,failedCallback,userContext); },
storeStats:function(mznModel,sitesChecked,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'storeStats',false,{mznModel:mznModel,sitesChecked:sitesChecked},succeededCallback,failedCallback,userContext); },
getHTMLHotels:function(hotelID,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getHTMLHotels',false,{hotelID:hotelID},succeededCallback,failedCallback,userContext); },
getFloatingMZNUnit:function(hotelID,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getFloatingMZNUnit',false,{hotelID:hotelID},succeededCallback,failedCallback,userContext); },
getHTMLHotelsLanding:function(cityName,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getHTMLHotelsLanding',false,{cityName:cityName},succeededCallback,failedCallback,userContext); },
getHTMLDestination:function(cityID,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getHTMLDestination',false,{cityID:cityID},succeededCallback,failedCallback,userContext); },
getHTMLDestinationWithoutShowHotels:function(cityID,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getHTMLDestinationWithoutShowHotels',false,{cityID:cityID},succeededCallback,failedCallback,userContext); },
getHTMLDestinationLanding:function(cityName,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'getHTMLDestinationLanding',false,{cityName:cityName},succeededCallback,failedCallback,userContext); },
exitPopupMailer:function(cityName,emailID,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'exitPopupMailer',false,{cityName:cityName,emailID:emailID},succeededCallback,failedCallback,userContext); },
TrackThis:function(button,url,succeededCallback, failedCallback, userContext) {
return this._invoke(MznService.get_path(), 'TrackThis',false,{button:button,url:url},succeededCallback,failedCallback,userContext); }}
MznService.registerClass('MznService',Sys.Net.WebServiceProxy);
MznService._staticInstance = new MznService();
MznService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MznService._staticInstance._path = value; }
MznService.get_path = function() { return MznService._staticInstance._path; }
MznService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
MznService._staticInstance._timeout = value; }
MznService.get_timeout = function() { 
return MznService._staticInstance._timeout; }
MznService.set_defaultUserContext = function(value) { 
MznService._staticInstance._userContext = value; }
MznService.get_defaultUserContext = function() { 
return MznService._staticInstance._userContext; }
MznService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MznService._staticInstance._succeeded = value; }
MznService.get_defaultSucceededCallback = function() { 
return MznService._staticInstance._succeeded; }
MznService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MznService._staticInstance._failed = value; }
MznService.get_defaultFailedCallback = function() { 
return MznService._staticInstance._failed; }
MznService.set_path("/Hotels/MznService.asmx");
MznService.requestPhone= function(hotelID,hotelName,visitorMobile,onSuccess,onFailed,userContext) {MznService._staticInstance.requestPhone(hotelID,hotelName,visitorMobile,onSuccess,onFailed,userContext); }
MznService.requestRatesEmail= function(mznReqModel,onSuccess,onFailed,userContext) {MznService._staticInstance.requestRatesEmail(mznReqModel,onSuccess,onFailed,userContext); }
MznService.MMTRequestRates= function(mznReqModel,onSuccess,onFailed,userContext) {MznService._staticInstance.MMTRequestRates(mznReqModel,onSuccess,onFailed,userContext); }
MznService.storeStats= function(mznModel,sitesChecked,onSuccess,onFailed,userContext) {MznService._staticInstance.storeStats(mznModel,sitesChecked,onSuccess,onFailed,userContext); }
MznService.getHTMLHotels= function(hotelID,onSuccess,onFailed,userContext) {MznService._staticInstance.getHTMLHotels(hotelID,onSuccess,onFailed,userContext); }
MznService.getFloatingMZNUnit= function(hotelID,onSuccess,onFailed,userContext) {MznService._staticInstance.getFloatingMZNUnit(hotelID,onSuccess,onFailed,userContext); }
MznService.getHTMLHotelsLanding= function(cityName,onSuccess,onFailed,userContext) {MznService._staticInstance.getHTMLHotelsLanding(cityName,onSuccess,onFailed,userContext); }
MznService.getHTMLDestination= function(cityID,onSuccess,onFailed,userContext) {MznService._staticInstance.getHTMLDestination(cityID,onSuccess,onFailed,userContext); }
MznService.getHTMLDestinationWithoutShowHotels= function(cityID,onSuccess,onFailed,userContext) {MznService._staticInstance.getHTMLDestinationWithoutShowHotels(cityID,onSuccess,onFailed,userContext); }
MznService.getHTMLDestinationLanding= function(cityName,onSuccess,onFailed,userContext) {MznService._staticInstance.getHTMLDestinationLanding(cityName,onSuccess,onFailed,userContext); }
MznService.exitPopupMailer= function(cityName,emailID,onSuccess,onFailed,userContext) {MznService._staticInstance.exitPopupMailer(cityName,emailID,onSuccess,onFailed,userContext); }
MznService.TrackThis= function(button,url,onSuccess,onFailed,userContext) {MznService._staticInstance.TrackThis(button,url,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(MznCombinedModel) === 'undefined') {
var MznCombinedModel=gtc("MznCombinedModel");
MznCombinedModel.registerClass('MznCombinedModel');
}
