if (typeof RoomInfo != "function") { function RoomInfo() { this.childrenAges = null; this.childrenNumber = null; this.adultNumber = null; } } if (typeof HotelSearchFilter != "function") { function HotelSearchFilter() { this.featMinibar = false; this.priceFrom = null; this.featRestaurant = false; this.boardAll = false; this.boardFB = false; this.featPool = false; this.boardHB = false; this.priceTo = null; this.boardRO = false; this.featDryer = false; this.stars5 = false; this.boardBB = false; this.stars4 = false; this.stars3 = false; this.hotelName = null; this.featAC = false; this.featParking = false; this.stars2 = false; this.featInternet = false; this.stars1 = false; this.featElevator = false; this.boardAI = false; this.starsAll = false; this.featSafe = false; } } if (typeof IdNameBean != "function") { function IdNameBean() { this.id = null; this.name = null; } } if (typeof HotelMapInfo != "function") { function HotelMapInfo() { this.id = 0; this.priceStr = null; this.starCode = null; this.address = null; this.name = null; this.longitude = 0; this.latitude = 0; this.distances = null; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (Subscription == null) var Subscription = {}; Subscription._path = '/dwr'; Subscription.getEmail = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getEmail', callback); } Subscription.setEmail = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'setEmail', p0, callback); } Subscription.generateConfirmationCode = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'generateConfirmationCode', p0, callback); } Subscription.subscribeDWR = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'subscribeDWR', p0, callback); } Subscription.unsubscribeDWR = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'unsubscribeDWR', p0, callback); } Subscription.subscribe = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'subscribe', callback); } Subscription.unsubscribe = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'unsubscribe', callback); } Subscription.getSession = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getSession', callback); } Subscription.hasErrors = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'hasErrors', callback); } Subscription.getSessionUser = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getSessionUser', callback); } Subscription.getSessionExtendedUser = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getSessionExtendedUser', callback); } Subscription.getSessionPerson = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getSessionPerson', callback); } Subscription.getSessionCompany = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getSessionCompany', callback); } Subscription.getErrors = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'getErrors', callback); } Subscription.isHasErrors = function(callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'isHasErrors', callback); } Subscription.isValidPhone = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'isValidPhone', p0, callback); } Subscription.formatPhone = function(p0, callback) { dwr.engine._execute(Subscription._path, 'Subscription', 'formatPhone', p0, callback); }