var message01="The following has been added to your booking list.";
var message02="Please enter";
var message03="is not a valid email address.";
var message04="Please enter the following data in the Address Details form.";
var message05="Do you wish to quit this application and return to the";
var message06="Cannot accept a card with expiry date of";
var message07="Cannot accept a booking before";
var message08="Cannot accept a booking after";
var message09="Arrival date is not valid.";
var message10="Departure date is not valid.";
var message11="Departure date must be later than arrival date.";
var message12="You have selected MORE persons than beds, please correct";
var message13="You have selected MORE persons than beds, please correct";
var message14="You have selected LESS persons than beds, please correct";
var message15="Maximum number of nights bookable is:";
var message16="Minimum number of nights bookable is:";
function dialog01(){alert("Number of beds must be greater than zero.");}
function dialog02(){alert("Number of personss must be greater than zero.");}
function dialog03(){alert("The booking list is already empty");}
function dialog04(){alert("Cannot continue because no booking has been made.");}
function dialog05(){alert("All bookings have been processed. If you would like\nto book more rooms please use the booking form.");}
function dialog07(){return(confirm("Delete this booking?"));}
function dialog08(){return(confirm("Are you sure you want to delete all bookings?"));}
function dialog09(){return(confirm("Do you want to cancel the booking procedure and delete all bookings?"));}
function dialog10(){return(confirm("Bed(s) available. Would you like to make a booking?"));}
function helpMessage01(){alert("Using our online booking system you can:\n\n§  Check availability of beds for the period of your proposed stay.\n§  Display a calendar showing the days on which the beds you require\n    are availabile.\n§  Calculate rates, extras, and the total cost of your stay.\n§  Book a bed(s) including meals and any extra facilities 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 room availability:\n\n1. Enter the number of beds you require.\n2. Press the \"Display Calendar\" button.\n\nUse the second form to check the availability of rooms for specific\ndates:\n\n1. Enter the number of beds you require.\n2. Enter your arrival date.\n3. Enter your departure date.\n4. Press the \"Check Availability\" button.");}
function helpMessage03(){alert("1.   Enter the number of beds.\n2.   Enter the total number of persons (male and female).\n3.   Enter your arrival and departure dates.\n4.   List any comments/special requirements in the box provided.\n5.   Press \"Calculate\" to show the total cost.\n6.   Press \"Book\" to send details to Bala Backpackers.");}
function helpMessage04(){alert("1. Make any changes you require to the booking details.\n2.   Press \"Calculate\" to show the total cost.\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\nbeds 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 delete all booking \ndetails, or send booking details to our reservation 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.");}

