var message01="Veuillez entrer";
var message02="n'est pas une adresse e-mail valide";
var message03="Veuillez entrer les données suivantes";
var message04="Souhaitez-vous quitter cette application et retourner à";
var message05="Nous ne pouvons accepter une réservation avant le";
var message06="Nous ne pouvons accepter une réservation après le";
var message07="La date d'arrivée n'est pas correcte.";
var message08="La date de départ n'est pas correcte.";
var message09="La date de départ doit être postérieure à la date d'arrivée.";
var message10="Le nombre maximum d'adultes par chambre est:";
var message11="Le nombre maximum d'enfants par chambre est:";
var message12="Le nombre minimum d'occupants par chambre est:";
var message13="Le nombre maximum de nuits disponibles à la réservation est:";
var message14="Le nombre minimum de nuits disponibles à la réservation est:";
var message15="Le nombre maximum d'occupants par chambre est:";
function dialog01(){alert("Le nombre de chambres doit être supérieur à 0.");}
function dialog02(){alert("Le nombre d'occupants doit être supérieur à 0.");}
function dialog03(){alert("Aucune réservation n'a été effectuée.");}
function dialog04(){alert("Aucune réservation n'a été effectuée.");}
function dialog05(){alert("Toutes les réservations ont été effectuées.");}
function dialog07(){return(confirm("Souhaitez-vous annuler cette réservation?"));}
function dialog08(){return(confirm("Souhaitez-vous annuler toutes les réservations?"));}
function dialog09(){return(confirm("Souhaitez-vous annuler cette réservation?"));}
function dialog10(){return(confirm("Cette chambre est disponible. Souhaitez-vous faire une réservation?"));}
function dialog11(){alert("Vous ne pouvez pas ajouter plus de chambres.\n\nSi vous souhaitez ajouter plus de chambres, veuillez finir les modifications puis ajouter d'autres chambres à votre réservation.")}
function helpMessage01(){alert("Using our online reservation system you can:\n\n§  Check availability of rooms for the period of your proposed stay.\n§  Display a calendar showing the days on which the room you \n    require are availabile.\n§  Calculate room rates, extras, and the total cost of your stay.\n§  Reserve a room(s) including meals and any extra facilities that we \n    offer.\n§  Review your reservation(s) and make changes if required.\n§  Send your reservation details with our reservation server.\n\nContext sensitive help is also available for each page in our online\nreservation center.");}
function helpMessage02(){alert("Use the first form to display a calendar showing room availability:\n\n1. Select a room type.\n2. Enter the number of rooms you require.\n3. Press the \"Display Calendar\" button.\n\nUse the second form to check the availability of rooms for specific\ndates:\n\n1. Select a room type.\n2. Enter the number of rooms you require.\n3. Enter your arrival date.\n4. Enter your departure date.\n5. Press the \"Check Room Availability\" button.");}
function helpMessage03(){alert("1.   Select a room type.\n2.   Enter the number of rooms.\n3.   Enter the total number of persons occupying the room(s).\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 \"Reserve this Room\" to submit details of your stay to our\n      reservation server.");}
function helpMessage04(){alert("1. Make any changes you require to the reservation 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 room availability will be made.");}
function helpMessage05(){alert("Your reservation details are shown in the table at the top of the page. Use the icons in the first column if you wish to modify or delete reservation details.\n\n      §  The top icon is used to change the reservation.\n      §  The bottom icon is used to delete the reservation.\n\nUse the buttons at the bottom of the page to add a new reservation(s) to the list, delete all reservation details, or send reservation 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 Reservation(s)\" button to send reservation details to our reservation server.\n\nYour reservation 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 reservation details.\n\n      §  The top icon is used to change the reservation.\n      §  The bottom icon is used to delete the reservation.\n\nYou can also cancel all reservations by pressing \"Cancel Reservation(s)\"\n\nAfter you submit reservation 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.");}
