if (typeof Car != "function") { function Car() { this.carType = null; this.carClass = null; } } if (typeof Location != "function") { function Location() { this.id = null; this.name = null; } } if (typeof Flight != "function") { function Flight() { this.legs = null; } } if (typeof Transfer != "function") { function Transfer() { this.insurance = null; this.holiday = null; this.returnTransfer = null; this.dateRange = null; this.price = null; this.forcedAttribute = null; this.name = null; this.pickupPoint = null; this.errata = null; this.visibilityAttribute = null; this.supplier = null; this.dropOffPoint = null; } } if (typeof Location != "function") { function Location() { this.id = null; this.name = null; } } if (typeof Hotel != "function") { function Hotel() { this.roomGroup = null; this.name = null; } } if (typeof SearchResults != "function") { function SearchResults() { this.totalResults = null; this.page = null; this.holidays = null; } } if (typeof Holiday != "function") { function Holiday() { this.yb = null; this.cf = 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 (Location == null) var Location = {}; Location._path = '/virgin-portlets/dwr'; Location.add = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'add', p0, callback); } Location.toString = function(callback) { dwr.engine._execute(Location._path, 'Location', 'toString', callback); } Location.addAll = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'addAll', p0, callback); } Location.getType = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getType', callback); } Location.getTimezoneOffset = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getTimezoneOffset', callback); } Location.addChild = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'addChild', p0, callback); } Location.setType = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setType', p0, callback); } Location.getChildren = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getChildren', p0, callback); } Location.getChildren = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getChildren', p0, callback); } Location.getChildren = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getChildren', callback); } Location.setChildren = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setChildren', p0, callback); } Location.isType = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'isType', p0, callback); } Location.addAllChildren = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'addAllChildren', p0, callback); } Location.getAllChildren = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getAllChildren', p0, callback); } Location.getAllParents = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getAllParents', callback); } Location.getArrivalAirportLinks = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getArrivalAirportLinks', callback); } Location.getArrivalAirports = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getArrivalAirports', callback); } Location.getArrivalAirports = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getArrivalAirports', p0, callback); } Location.getChildLocationLinks = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getChildLocationLinks', callback); } Location.getContexts = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getContexts', callback); } Location.getDepartureAirportLinks = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getDepartureAirportLinks', callback); } Location.getDepartureAirports = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getDepartureAirports', p0, callback); } Location.getDepartureAirports = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getDepartureAirports', callback); } Location.getGeoCode = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getGeoCode', callback); } Location.getParents = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getParents', callback); } Location.getReservationSystems = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getReservationSystems', callback); } Location.hasAnyContexts = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'hasAnyContexts', p0, callback); } Location.hasChildren = function(callback) { dwr.engine._execute(Location._path, 'Location', 'hasChildren', callback); } Location.hasContext = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'hasContext', p0, callback); } Location.hasContexts = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'hasContexts', p0, callback); } Location.hasContexts = function(callback) { dwr.engine._execute(Location._path, 'Location', 'hasContexts', callback); } Location.setContexts = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setContexts', p0, callback); } Location.setGeoCode = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setGeoCode', p0, callback); } Location.setParents = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setParents', p0, callback); } Location.setReservationSystems = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setReservationSystems', p0, callback); } Location.setTimezoneOffset = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setTimezoneOffset', p0, callback); } Location.getName = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getName', callback); } Location.setName = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setName', p0, callback); } Location.equals = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'equals', p0, callback); } Location.hashCode = function(callback) { dwr.engine._execute(Location._path, 'Location', 'hashCode', callback); } Location.getId = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getId', callback); } Location.getText = function(callback) { dwr.engine._execute(Location._path, 'Location', 'getText', callback); } Location.getText = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'getText', p0, callback); } Location.setText = function(p0, p1, callback) { dwr.engine._execute(Location._path, 'Location', 'setText', p0, p1, callback); } Location.setId = function(p0, callback) { dwr.engine._execute(Location._path, 'Location', 'setId', p0, callback); }