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 empty the contents of your shopping basket and go 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\n"
+"zero 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\n"
+"your shopping basket is empty.");}

function dialog05() {alert("Your shopping basket is empty.\n"
+"Returning 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"
+"\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 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\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"
+"Expiry 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 Basket\" button.\n"
+"\n"
+"Repeat 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"
+"\n"
+"You 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\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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 Basket\" button.\n"
+"\n"
+"Continue to add items from the catalogue pages then click on \"Cashier\"\n"
+"to proceed to then checkout page.\n"
+"\n"
+"You can view the contents of your shopping basket at any time by\n"
+"clicking on \"View Basket\"."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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 Basket\" 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 basket at any time by\n"
+"clicking on \"View Basket\"."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

function helpMessage04(){
alert("This pages shows the contents of your shopping basket.\n"
+"\n"
+"To 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.\n"
+"If 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\n"
+"your basket."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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"
+"		E-mail address"
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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 Basket\" button.\n"
+"\n"
+"Clicking the \"Cancel\" button will empty your basket and terminate the\n"
+"transaction."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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 basket and terminate the\n"
+"transaction."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

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. 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\n"
+"transaction."
+"\n\n\nPowered by shop@home.pro (c) Ray Halliwell http://www.hallisoft.com");}

