if (typeof SetHtmlEvent != "function") {
function SetHtmlEvent() {
this.operation = null;
this.elementId = null;
this.category = null;
this.subCategory = null;
this.html = null;
}
}
if (typeof SailingEvent != "function") {
function SailingEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.dates = null;
}
}
if (typeof DropDownOption != "function") {
function DropDownOption() {
this.id = null;
this.selected = false;
this.description = null;
this.code = null;
}
}
if (typeof SubmissionEvent != "function") {
function SubmissionEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.action = null;
this.method = null;
}
}
if (typeof HtmlUpdateEvent != "function") {
function HtmlUpdateEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
}
}
if (typeof FormActions != "function") {
function FormActions() {
}
}
if (typeof HtmlUpdateEvent != "function") {
function HtmlUpdateEvent() {
this.displayDialog = false;
this.elementId = null;
this.category = null;
this.subCategory = null;
}
}
if (typeof ThreeDSecureParameters != "function") {
function ThreeDSecureParameters() {
this.demo = 0;
this.exponent = 0;
this.merchantID = null;
this.xid = null;
this.failUrl = null;
this.okUrl = null;
this.digest = null;
this.deviceCategory = 0;
this.cardType = null;
this.purchAmount = 0;
this.version = null;
this.currency = null;
this.expiry = null;
this.pan = null;
this.description = null;
this.MD = null;
}
}
if (typeof PassengerNumbers != "function") {
function PassengerNumbers() {
this.seniors = 0;
this.adults = 0;
this.children = 0;
this.infants = 0;
}
}
if (typeof PresentationException != "function") {
function PresentationException() {
this.machineIdentifier = null;
this.javaClassName = null;
this.date = null;
}
}
if (typeof AdditionalPassengerEvent != "function") {
function AdditionalPassengerEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
}
}
if (typeof EditAttributeEvent != "function") {
function EditAttributeEvent() {
this.attributeName = null;
this.elementId = null;
this.category = null;
this.subCategory = null;
this.attributeValue = null;
}
}
if (typeof ThreeDSecureEvent != "function") {
function ThreeDSecureEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.action = null;
this.method = null;
this.params = null;
}
}
if (typeof SetValueEvent != "function") {
function SetValueEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.value = null;
this.forceUpdate = false;
}
}
if (typeof SessionTimeout != "function") {
function SessionTimeout() {
this.message = null;
this.javaClassName = null;
}
}
if (typeof MutableEvent != "function") {
function MutableEvent() {
this.textOutward = null;
this.may = null;
this.november = null;
this.april = null;
this.subCategory = null;
this.june = null;
this.today = null;
this.close = null;
this.december = null;
this.category = null;
this.march = null;
this.february = null;
this.january = null;
this.august = null;
this.july = null;
this.october = null;
this.textReturn = null;
this.september = null;
}
}
if (typeof BooleanEvent != "function") {
function BooleanEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.on = false;
}
}
if (typeof ValidationStatusEvent != "function") {
function ValidationStatusEvent() {
this.message = null;
this.category = null;
this.error = false;
this.subCategory = null;
}
}
if (typeof MutableEvent != "function") {
function MutableEvent() {
this.category = null;
this.subCategory = null;
}
}
if (typeof ErrorEvent != "function") {
function ErrorEvent() {
this.title = null;
this.category = null;
this.subCategory = null;
this.description = null;
}
}
if (typeof DropDownEvent != "function") {
function DropDownEvent() {
this.elementId = null;
this.category = null;
this.subCategory = null;
this.outbound = false;
this.options = null;
}
}
if (typeof SetVisibilityEvent != "function") {
function SetVisibilityEvent() {
this.elementId = null;
this.category = null;
this.sfxSpeedMillis = 0;
this.visible = false;
this.subCategory = null;
this.sfx = 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 (WidgetActions == null) var WidgetActions = {};
WidgetActions._path = '/dwr';
WidgetActions.submit = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'submit', callback);
}
WidgetActions.setVehicle = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setVehicle', p0, callback);
}
WidgetActions.setTrailer = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setTrailer', p0, callback);
}
WidgetActions.initialise = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'initialise', p0, callback);
}
WidgetActions.synchronise = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'synchronise', callback);
}
WidgetActions.setDepartureDay = function(p0, p1, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setDepartureDay', p0, p1, callback);
}
WidgetActions.setSailingTime = function(p0, p1, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setSailingTime', p0, p1, callback);
}
WidgetActions.closeVehicleOptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'closeVehicleOptions', callback);
}
WidgetActions.closeTrailerOptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'closeTrailerOptions', callback);
}
WidgetActions.resetTransport = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'resetTransport', p0, callback);
}
WidgetActions.setVehicleHeight = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setVehicleHeight', p0, callback);
}
WidgetActions.setVehicleLength = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setVehicleLength', p0, callback);
}
WidgetActions.setTrailerHeight = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setTrailerHeight', p0, callback);
}
WidgetActions.setTrailerLength = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setTrailerLength', p0, callback);
}
WidgetActions.setNumberOfPassengers = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setNumberOfPassengers', p0, callback);
}
WidgetActions.setOutwardOnly = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setOutwardOnly', p0, callback);
}
WidgetActions.setRouteOutward = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setRouteOutward', p0, callback);
}
WidgetActions.setRouteReturn = function(p0, p1, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'setRouteReturn', p0, p1, callback);
}
WidgetActions.getRoutes = function(p0, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'getRoutes', p0, callback);
}
WidgetActions.getVehicleDescriptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'getVehicleDescriptions', callback);
}
WidgetActions.getTrailerDescriptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'getTrailerDescriptions', callback);
}
WidgetActions.getDepartureDays = function(p0, p1, callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'getDepartureDays', p0, p1, callback);
}
WidgetActions.editVehicleOptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'editVehicleOptions', callback);
}
WidgetActions.editTrailerOptions = function(callback) {
dwr.engine._execute(WidgetActions._path, 'WidgetActions', 'editTrailerOptions', callback);
}