// <![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!.<br />";
error[7] = "- UNDEFINED!.<br />";
error[8] = "- UNDEFINED!.<br />";
error[9] = "- UNDEFINED!.<br />";
error[10] = "- UNDEFINED!.<br />";
error[11] = "- UNDEFINED!.<br />";
error[12] = "- UNDEFINED!.<br />";
error[13] = "- UNDEFINED!.<br />";
error[14] = "- UNDEFINED!.<br />";
error[15] = "- UNDEFINED!.<br />";
error[16] = "- UNDEFINED!.<br />";
error[17] = "- UNDEFINED!.<br />";
error[18] = "- UNDEFINED!.<br />";
error[19] = "- UNDEFINED!.<br />";
error[20] = "- UNDEFINED!.<br />";

/* Dealers registration form */
error[21] = "- Please enter your first name.<br />";
error[22] = "- Please enter your surname.<br />";
error[23] = "- Please enter your dealership name.<br />";
error[24] = "- Please etner your dealership address.<br />";
error[25] = "- UNDEFINED!.<br />";
error[26] = "- UNDEFINED!.<br />";
error[27] = "- UNDEFINED!.<br />";
error[28] = "- UNDEFINED!.<br />";
error[29] = "- UNDEFINED!.<br />";
error[30] = "- UNDEFINED!.<br />";

error[31] = "- Please select your age group.<br />";
error[32] = "- Please select your region.<br />";
error[33] = "- Please enter your address.<br />";
error[34] = "- Please select the brand of the vehicle.<br />";
error[35] = "- Please enter your vehicle model.<br />";
error[36] = "- Please enter your vehicle year.<br />";
error[37] = "- The vehicle year in incorrectly formatted. Please use numbers and maximum of 4 numbers<br />";
error[38] = "- Please enter your vehicle's current mileage.<br />";
error[39] = "- The vehicle mileage is incorrectly formatted, please use numbers only.<br />";
error[40] = "- Please enter the colour of your vehicle.<br />";
error[41] = "- Please enter any factory fitted extras.<br />";
error[42] = "- Please enter any NON factory fitted extras.<br />";
error[43] = "- Has the vehicle been involved in an accident.<br />";
error[44] = "- Is there an outstanding settlement on the vehicle.<br />";
error[45] = "- Please enter the amount you have been offered for the vehicle.<br />";
error[46] = "- Please enter the name of the dealership which made the offer.<br />";
error[47] = "- Please enter any additional comments.<br />";
error[48] = "- UNDEFINED!.<br />";
error[49] = "- UNDEFINED!.<br />";
error[50] = "- UNDEFINED!.<br />";

error[51] = "- Please enter the from price you would like to offer.<br />";
error[52] = "- Please enter the to price you would like to offer.<br />";
error[53] = "- The from price is incorrectly formatted, please use numbers only ( 100 000.00 )<br />";
error[54] = "- The to price is incorrectly formatted, please use numbers only ( 100 000.00 )<br />";
error[55] = "- The from price can not be larger than the to price.<br />";
error[56] = "- Please enter a message.<br />";
error[57] = "- UNDEFINED!.<br />";
error[58] = "- UNDEFINED!.<br />";
error[59] = "- UNDEFINED!.<br />";
error[60] = "- UNDEFINED!.<br />";

error[61] = "- Please enter your name<br />";
error[62] = "- Please enter your telephone number.<br />";
error[63] = "- your telephone number is incorrectly formatted.<br />";
error[64] = "- Please enter your email address.<br />";
error[65] = "- Your email address is incorrectly formated.<br />";
error[66] = "- UNDEFINED!.<br />";
error[67] = "- UNDEFINED!.<br />";
error[68] = "- UNDEFINED!.<br />";
error[69] = "- UNDEFINED!.<br />";
error[70] = "- UNDEFINED!.<br />";

error[71] = "- Please enter your name.<br />";
error[72] = "- Please enter your surname.<br />";
error[73] = "- Please enter your dealership name.<br />";
error[74] = "- Please enter your telephone number.<br />";
error[75] = "- Your telephone number is incorrectly formated.<br />";
error[76] = "- Please enter your dealership address.<br />";
error[77] = "- UNDEFINED!.<br />";
error[78] = "- UNDEFINED!.<br />";
error[79] = "- UNDEFINED!.<br />";


/*
* 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] = "";
// ]]>
