var message01="The following has been added to your shopping basket.";
var message02="Please enter";
var message03="is not a valid email address.";
var message04="Please enter the following data in the billing form.";
var message05="Please enter the following data in the shipping form.";
var message06="Do you wish to quit this demo application and return to the";
var message07="Cannot accept a card with expiry date of";
function dialog01(){alert("Quantity must be a number greater than zero.");}
function dialog02(){alert("Quantity must be a number, zero or greater.\n\n"
+"If you wish to delete an item set its quantity to\nzero then click \"Update Basket\", or click the\n"
+"\"Remove\" button.");}
function dialog03(){alert("The shopping basket is already empty");}
function dialog04(){alert("Check out cannot continue because\nyour shopping basket is empty.");}
function dialog05(){alert("Your shopping basket is empty.\nReturning to product pages.");}
function dialog06(){alert("The contents of your shopping basket are stored in\n"
+"your computers memory. If you press your browsers\n\"Reload\" or \"Refresh\" button whilst shopping this\n"
+"may also empty your shopping basket.\n\nUsing your browsers \"Back\" of \"Forward\" buttons\n"
+"will not change the basket contents.");}
function dialog07(){return(confirm("Remove this item from the shopping basket?"));}
function dialog08(){return(confirm("Are you sure you want to empty your shopping basket?"));}
function dialog09(){return(confirm("Do you want to cancel the purchase and empty the contents of your shopping basket?"));}
function dialog10(){return(confirm("Did you print this order form?\n\n"
+"If not click \"OK\" to print it now\nor \"Cancel\" to abort printing."));}
function dialog11(){alert("Enter Switch/Delta card issue number");}
function dialog12(){alert("Order details sent.\n\nPlease wait for our server to reply.");}
function dialog13(){alert("Missing data cannot continue.\n"
+"Please ensure you have entered\nthe following information:\n\n"
+"Card Type\nCard Number\nExpiry Date");}
function helpMessage01(){
alert("Choose an item you wish to purchase from one of the product pages. Next select any\n"
+"options you required, if these are available, enter the quantity required and press the\n"
+"\"Buy!\" button.\n\nRepeat this process to add any other items you want, then click the \"Cashier\" button\n"
+"at the left of the browser window. This will take you to the check out counter.\n\n"
+"Complete the address forms then select the method of payment (\"Email Order\" or \"Credit\n"
+"Card\" to pay on-line).\n\n"
+"A new page will be displayed showing the contents of your basket, the price of the items\n"
+"you selected, the cost of delivery to your shipping address, and the total cost of the order.\n"
+"If you want to change an items quantity, or delete items click the \"Edit Basket\" button\n"
+"which will take you back to the view basket page. If you are satisfied that the contents\n"
+"of your basket are correct click the \"Send Order\" or \"Purchase\" button.\n\n"
+"If you opted for credit card payment you will only be asked to enter your card details after\n"
+"you have been transferred to our secure server where you can enter this data in safety.\n\n"
+"If you opted for an email order our server will acknowledge receipt of the details.\n\n"
+"If you wish to send your order by mail make sure your printer is turned on then press the\n"
+"\"Print\" button or icon.\n\nYou can check, edit, or empty the contents of your shopping basket at any time by\n"
+"clicking the \"View Basket\" button, then return to the product pages to add new items."
+"\n\n                         Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage02(){
alert("1. Choose the product you wish to purchase.\n2. Select the options you require.\n"
+"3. Enter the number of items you wish to purchase.\n4. Click the \"Buy!\" button.\n\n"
+"Continue to add items from the catalogue pages then click on \"Cashier\"\nto proceed to then checkout page.\n\n"
+"You can view the contents of your shopping basket at any time by\nclicking on \"View Basket\"."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage03(){
alert("1. Choose the product you wish to purchase.\n2. Enter the number of items you wish to purchase.\n"
+"3. Click the \"Buy!\" button.\n\nContinue to add items from the catalogue pages then click on \"Cashier\"\n"
+"to proceed to the checkout page.\n\nYou can view the contents of your shopping basket at any time by\n"
+"clicking on \"View Basket\"."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage04(){
alert("This pages shows the contents of your shopping basket.\n\nTo change an items quantity enter the new number then press the \"Tab\"\n"
+"key, or click the \"Update Basket\" button, and your basket will be updated.\nIf you wish to delete an item from the basket click the \"Remove\" button.\n"
+"All items can be deleted by clicking on the \"Empty Basket\" button.\n\n"
+"You can return to the catalogue pages at any time and add more items to\nyour basket."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage05(){
alert("1. Complete the details an the billing address form.\n2. If billing and shipping addresses are the same check the\n"
+"    \"Same as billing\" box in the shipping adress form.\n3. If the shipping address is different complete the form.\n"
+"4. Click on the method of payment you require. (Credit card\n    transactions are carried out on a secure server)\n\n"
+"If you choose credit card payment you will be able to review, change,\nor cancel your order before you enter your card details.\n\n"
+"Please ensure that you enter the following data otherwise we will be\nunable to process your order.\n		First name\n"
+"		Last name\n		Full address\n		E-mail address"
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage06(){
alert("This page shows your order details, the cost of shipping to the address\nyou specified on the shipping form, and the total amount that will be\n"
+"charged to your credit card.\n\nClick on \"Purchase\" to proceed to our secure server where you will be\n"
+"asked to enter your credit card details.\n\nIf you wish to change, add or delete items click the \"Edit Basket\" button.\n\n"
+"Clicking the \"Cancel\" button will empty your basket and terminate the\ntransaction."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage07(){
alert("Enter your credit card details then click the \"Purchase\" button to\nprocess the transaction. Our secure server will confirm the transaction\n"
+"status.\n\nClicking the \"Cancel\" button will empty your basket and terminate the\ntransaction."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}
function helpMessage08(){
alert("This page shows your order details, the cost of shipping to the address\nyou specified on the shipping form, and the total amount of the order.\n\n"
+"Click the \"Send Order\" button to send your order details. Clicking the\n\"Print Order\" button will send the page to your printer.\n\n"
+"Clicking the \"Cancel\" button will empty your basket and terminate the\ntransaction."
+"\n\n        Powered by shop@home.pro  Copyright Ray Halliwell");}