var rules = new Array(); // stores the validation rules


rules.push("required,name,Please enter your name.");
rules.push("textchars,name,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,address1,Please enter an address.");
rules.push("textchars,address1,You may only use alpha-numeric characters and the characters .-_'");
rules.push("textchars,address2,You may only use alpha-numeric characters and the characters .-_'");
rules.push("textchars,address3,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,town,Please enter a town or city.");
rules.push("textchars,town,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,state,Please enter a state.");
rules.push("textchars,state,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,zip,Please enter your zip code.");
rules.push("textchars,zip,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,country,Please enter a country.");
rules.push("textchars,country,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,tel_home,Please enter your home phone number.");
rules.push("telchars,tel_home,For telephone numbers you may only use numbers and the characters ()-+.");
rules.push("telchars,tel_other,For telephone numbers you may only use numbers and the characters ()-+.");
rules.push("required,email,Please enter your email address.");
rules.push("valid_email,email,Please enter a valid email address.");
rules.push("required,conference1,Please enter at least one conference you have worked in.");
rules.push("textchars,conference1,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,conference1years,Please enter the years you have worked in at least one conference.");
rules.push("digits_only,conference1years,This field may only contain digits.");
rules.push("textchars,conference2,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,conference2years,This field may only contain digits.");
rules.push("textchars,conference3,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,conference3years,This field may only contain digits.");
rules.push("textchars,conference4,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,conference4years,This field may only contain digits.");
rules.push("required,position1,Please enter at least one position you have held.");
rules.push("textchars,position1,You may only use alpha-numeric characters and the characters .-_'");
rules.push("required,position1years,Please enter the years you have held at least one position.");
rules.push("digits_only,position1years,This field may only contain digits.");
rules.push("textchars,position2,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,position2years,This field may only contain digits.");
rules.push("textchars,position3,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,position3years,This field may only contain digits.");
rules.push("textchars,position4,You may only use alpha-numeric characters and the characters .-_'");
rules.push("digits_only,position4years,This field may only contain digits.");