// <![CDATA[
/*
* Copyright: 2005 - 2007 SI Works Internet Solutions
* If you have come across this page, its cause you are snooping through code, and are generally a developer as such
* If you would like to use some of the code on this page, please simply email support@siworks.co.za and ask permission
* it would be much appreciated, as we have worked very hard on these func.tions() and scri.pts()
*
* Array of errors used when validating forms and within other functions
* @page errors.js
* @version 1.2.5
* @author Greg Shiers, Jarratt Ingram (SI Works Internet)
* @copyright: SI Works Internet Solutions 2005 - 2007
*/

/* Define the variables as arrays */
var error 	= [];
var message = [];

/*
* No function, just a list of errors for alerys
* @usage error[number]
* @returns string
* @version 1.0
*/
error[0] = "Please enter your full name.<br />";
error[1] = "Please enter your phone number.<br />";
error[2] = "Your phone number in incorrectly formated.<br />";
error[3] = "Please enter your email address.<br />";
error[4] = "Your email address is incorrectly formated.<br />";
error[5] = "Please enter a comment or message for us.<br />";
error[6] = "- UNDEFINED!.\n";
error[7] = "- UNDEFINED!.\n";
error[8] = "- UNDEFINED!.\n";
error[9] = "- UNDEFINED!.\n";

error[10] = "Please select which bank you bank with<br />\n";
error[11] = "Please select an account type<br />\n";
error[12] = "Please enter your account number<br />\n";
error[13] = "Please enter the name of the account<br />\n";
error[14] = "Please enter the branch code<br />\n";
error[15] = "Please select which date you would like your debit order to be effective<br />\n";
error[16] = "Please agree to the Terms and Conditions by checking the checkbox<br />\n";
error[17] = "Please agree to the activation fee by checking the checkbox<br />\n";
error[18] = "Please agree to the total debit amount by checking the checkbox<br />\n";
error[19] = "<br />\n";
error[20] = "<br />\n";

/*
* No function, just a list of messages for confirms and other such
* @usage message[number]
* @returns string
* @version 1.0
*/
message[0] = "Are you sure you want to log out of your account?";
message[1] = "";
// ]]>
