/*
  This function returns a message based on the message number passed to it. To
  use this function select the proper message you want to display to the user
  and use it with the standard alert method i.e. alert(alertMessage(aNumber))
  The message index numbers are as follows:

    1. Notice to customer about the SSL Certificate Authority.
    2. Mail form error for incomplete required mail form fields.
    3. Mail form error for invalid email syntax.
*/
function alertMessage(msgNumber)
{
  var message = "";

  switch (msgNumber)
  {
    case 1 :
      message  = "CUSTOMER NOTICE - PLEASE READ\n\n";
      message += "When your order form loads, your browser may warn you that our\n";
      message += "SSL certificate was issued by a Certificate Authority that isn\'t on\n";
      message += "your list of trusted authorities.  If so, this should not be a cause\n";
      message += "for concern.\n\n";
      message += "We assure you that our CA can be trusted.  We have simply chosen\n";
      message += "a Certificate Authority that isn\'t a big name brand such as VeriSign\n";
      message += "or GeoTrust whose names are included in the default list of trusted\n";
      message += "authorities that come installed with your browser.\n\n";
      message += "However, if you are still concerned, please use the Mail Or Telephone\n";
      message += "form and we will contact you about your method of payment.\n\n";
      message += "Thank You.";
      break;
    case 2 :
      message  = "FORM ERROR\n";
      message += "Required Information Missing\n\n";
      message += "Fields marked with an asterisk must be\n";
      message += "completed in order to submit the form.\n\n";
      message += "Please Make Corrections And Try Again.";
      break;
    case 3 :
      message  = "FORM ERROR\n\n";
      message += "The Email Address Contains Syntax Errors.\n\n";
      message += "Please Make Corrections And Try Again.";
      break;
    default:
  } // end switch

  return message;

} // end alertMessage()
