var message01="Por favor inserte";
var message02="No es un email valido";
var message03="Por favor inserte los siguente datos en  la forma de detalles de direccion";
var message04="Desea cerrar la aplicacion y regresar a";
var message05="No se puede aceptar una reservacion antes del";
var message06="No se puede aceptar una reservacion despues del";
var message07="La fecha de llegada no es valida";
var message08="La fecha de salida no es valida";
var message09="La fecha de salida tiene que ser posterior a la fecha de llegada";
var message10="El maximo numero de adultos por cuarto es:";
var message11="El maximo numero de niņos por cuarto es:";
var message12="El minimo numero de personas por cuarto es:";
var message13="El maximo numero de noches que se pueden reservar es:";
var message14="El minimo numero de noches es:";
var message15="El maximo numero de personas por cuarto es:";
var message16="La fecha de llegada tiene que ser:";
function dialog01(){alert("El numero de cuartos tiene que ser mas grande que cero");}
function dialog02(){alert("El numero de personas tiene que ser mayor que cero");}
function dialog03(){alert("La lista de reservacion esta ya vacia");}
function dialog04(){alert("No se puede seguir porque no se ha hecho una reservacion");}
function dialog05(){alert("Las reservacion ha sido procesada.");}
function dialog07(){return(confirm("Borrar esta reservacion?"));}
function dialog08(){return(confirm("Esta seguro que quiere borrar todas las reservaciones?"));}
function dialog09(){return(confirm("Quiere cancelar el procedimiento y borrar todas las reservaciones?"));}
function dialog10(){return(confirm("Alojamiento disponible. Quiere hacer una reservacion?"));}
function dialog11(){alert("No puede aņadir mas cuartos a una reservacion que ha sido cancelada.\n\nSi quiere aņadir mas cuartos primero envie los cambios a esta reservacion. Despues vaya a reservar otro cuarto")}
function dialog12(){alert("Ya ha sido agregado un codigo promocional.\nSolo se puede insertar un codigo.");}
function helpMessage01(){alert("Using our online booking system you can:\n\n§  Check availability for the period of your proposed stay.\n§  Display a calendar showing the days on which the \n    accommodation require is availabile.\n§  Calculate rates, extras, and the total cost of your stay.\n§  Book accommodation including meals and any extra facilities\n    that we offer.\n§  Review your booking(s) and make changes if required.\n§  Send your booking details with our reservation server.\n\nContext sensitive help is also available for each page in our online\nbooking centre.");}
function helpMessage02(){alert("Use the first form to display a calendar showing availability:\n\n1. Select accommodation type.\n2. Enter the number of rooms you require.\n3. Press the \"Display Calendar\" button.\n\nUse the second form to check the availability for specific dates:\n\n1. Select accommodation type.\n2. Enter the number of rooms you require.\n3. Enter your arrival date.\n4. Enter your departure date.\n5. Press the \"Check Availability\" button.");}
function helpMessage03(){alert("1.   Select a accommodation type.\n2.   Enter the number of rooms.\n3.   Enter the total number of persons.\n4.   Enter your arrival and departure dates.\n5.   List any comments/special requirements in the box provided.\n6.   Press \"Calculate\" to show the room rate per night, cost of\n      extras per night and the total cost for your stay etc.\n7.   Press \"Book this Room\" to submit details of your stay to our\n      reservation server.");}
function helpMessage04(){alert("1. Make any changes you require to the booking details.\n2. Press the \"Calculate\" button to show the room rate per night,\n    cost of extras per night and the total cost for your stay etc.\n3. Press \"Save Changes\" to confirm the changes and return to\n    the previous page.\n\nIf you change the arrival date, departure date, or the number of\nrooms another check of availability will be made.");}
function helpMessage05(){alert("Your booking details are shown in the table at the top of the page\nUse the icons in the first column if you wish to modify or delete\nbooking details.\n\n      §  The top icon is used to change the booking.\n      §  The bottom icon is used to delete the booking.\n\nUse the buttons at the bottom of the page to add a new booking(s)\nto the list, delete all booking details, or send booking details to our\nreservation server.");}
function helpMessage06(){alert("Enter your name and address details in the form at the top of the\npage then press the \"Submit Bookings\" button to send booking\ndetails to our reservation server.\n\nYour booking details are shown in the table at the bottom of the\npage. Use the icons in the first column if you wish to modify or\ndelete booking details.\n\n      §  The top icon is used to change the booking.\n      §  The bottom icon is used to delete the booking.\n\nYou can also cancel all bookings by pressing \"Cancel Bookings\"\n\nAfter you submit booking details you will be transferred to our\nsecure server where you will be asked to enter your credit card\nnumber. All details are encrypted for safety.");}
