var message01 = "The following has been added to your shopping cart.";
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 empty the contents of your shopping cart and go to the";
var message07 = "Cannot accept a card with expiration 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\n"
+"zero then click \"Update Cart\", or click the\n"
+"\"Remove\" button.");}

function dialog03() {alert("The shopping cart is already empty");}

function dialog04() {alert("Check out cannot continue because\n"
+"your shopping cart is empty.");}

function dialog05() {alert("Your shopping cart is empty.\n"
+"Returning to product pages.");}

function dialog06() {alert("The contents of your shopping cart 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 cart.\n"
+"\n"
+"Using your browsers \"Back\" of \"Forward\" buttons\n"
+"will not change the basket contents.");}

function dialog07() {return (confirm("Remove this item from the shopping cart?"));}

function dialog08() {return (confirm("Are you sure you want to empty your shopping cart?"));}

function dialog09() {return (confirm("Do you want to cancel the purchase and empty the contents of your shopping cart?"));}

function dialog10() {return (confirm("Did you print this order form?\n"
+"\n"
+"If not click \"OK\" to print it now\n"
+"or \"Cancel\" to abort printing."));}

function dialog11() {alert("Enter Switch/Delta card issue number");}

function dialog12() {alert("Order details sent.\n"
+"\n"
+"Please wait for our server to reply.");}

function dialog13() {alert("Missing data cannot continue.\n"
+"Please ensure you have entered\n"
+"the following information:\n"
+"\n"
+"Card Type\n"
+"Card Number\n"
+"Expiration 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"
+"\"Add to Cart\" button.\n"
+"\n"
+"Repeat this process to add any other items you want, then click the \"Cashier\" button. This will take you to the check out counter.\n"
+"\n"
+"Complete the address forms then \"Purchase\" to pay on-line.\n"
+"\n"
+"A new page will be displayed showing the contents of your cart, 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 Cart\" button\n"
+"which will take you back to the view cart page. If you are satisfied the contents\n"
+"of your cart is 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"
+"You can check, edit or empty the contents of your shopping cart at any time by\n"
+"clicking the \"View Cart\" button, then return to the product pages to add new items."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage02(){
alert("1. Choose the product you wish to purchase.\n"
+"2. Select the options you require.\n"
+"3. Enter the number of items you wish to purchase.\n"
+"4. Click the \"Add to Cart\" button.\n"
+"\n"
+"Continue to add items from the catalogue pages then click on \"Cashier\"\n"
+"to proceed to the checkout page.\n"
+"\n"
+"You can view the contents of your shopping cart at any time by clicking on \"View Cart\"."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage03(){
alert("1. Choose the product you wish to purchase.\n"
+"2. Enter the number of items you wish to purchase.\n"
+"3. Click the \"Add to Cart\" button.\n"
+"\n"
+"Continue to add items from the catalogue pages then click on \"Cashier\"\n"
+"to proceed to the checkout page.\n"
+"\n"
+"You can view the contents of your shopping cart at any time by\n"
+"clicking on \"View Cart\"."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage04(){
alert("This pages shows the contents of your shopping cart.\n"
+"\n"
+"To change an items quantity, enter the new number then press the \"Tab\"\n"
+"key, or click the \"Update Cart\" button, and your cart will be updated.\n"
+"If you wish to delete an item from the cart, click the \"Remove\" button.\n"
+"All items can be deleted by clicking on the \"Empty Cart\" button.\n"
+"\n"
+"You can return to the catalogue pages at any time and add more items to\n"
+"your cart."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage05(){
alert("1. Complete the details an the billing address form.\n"
+"2. If billing and shipping addresses are the same check the\n"
+"    \"Same as billing\" box in the shipping adress form.\n"
+"3. 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\n"
+"or cancel your order before you enter your card details.\n"
+"\n"
+"Please ensure that you enter the following data otherwise we will be\n"
+"unable to process your order.\n"
+"		First name\n"
+"		Last name\n"
+"		Full address\n"
+"		Email address"
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage06(){
alert("This page shows your order details, the cost of shipping to the address\n"
+"you specified on the shipping form, and the total amount that will be\n"
+"charged to your credit card.\n"
+"\n"
+"Click on \"Purchase\" to proceed to our secure server where you will be\n"
+"asked to enter your credit card details.\n"
+"\n"
+"If you wish to change, add or delete items, click the \"Edit Cart\" button.\n"
+"\n"
+"Clicking the \"Cancel\" button will empty your cart and terminate the transaction."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage07(){
alert("Enter your credit card details then click the \"Purchase\" button to\n"
+"process the transaction. Our secure server will confirm the transaction\n"
+"status.\n"
+"\n"
+"Clicking the \"Cancel\" button will empty your cart and terminate the transaction."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

function helpMessage08(){
alert("This page shows your order details, the cost of shipping to the address\n"
+"you specified on the shipping form and the total amount of the order.\n"
+"\n"
+"Click the \"Send Order\" button to send your order details.\n"
+"\n"
+"Clicking the \"Cancel\" button will empty your cart and terminate the transaction."
+"\n\n--------------------------------------------------------------------------------------------------------\n"
+"Powered by Shop@Home.Pro  c Ray Halliwell  WebWright UK Ltd\n"
+"--------------------------------------------------------------------------------------------------------");}

