/**
 * Title: Tigra Form Validator
 * URL: http://www.softcomplex.com/products/tigra_form_validator/
 * Version: 1.3
 * Date: 08/25/2005 (mm/dd/yyyy)
 * Notes: This script is free. Visit official site for further details.
*/

var a_fields = {

	/**
	*	form fields description structure	
	*	title': {
	*		'l': 'Title',		// label
	*		'r': true,			// required
	*		'f': 'alpha',		// format (alpha, integer, alphanum, email, phone)
	*		't': 't_title',		// id of the element to highlight if invalid entry
	*		'm': null,			// must match specified form field
	*		'mn': 2,			// minimum length
	*		'mx': 10			// maximum length
	*	},
	array("First Name","firstName"),
	array("Last Name","lastName"),
	array("City","city"),
	array("State/ Province","state"),
	array("Zip / Postal Code","zip"),
	array("Country","country"),
	array("Date of Birth","birthday"),
	array("Email Address","email"),
	array("Password","password"),
	array("Confirm Password","cassword"),	
	
	*/
'fromName':{'l':'From Name','r':true,'t':'l_fromName'},
'fromEmail':{'l':'Email Address ','r':true,'f':'email','t':'l_fromEmail'},
'msgcontent':{'l':'Message','r':true,'t':'l_msgcontent'}
},

o_config = {
	'to_disable' : ['Submit', 'Reset'],
	'alert' : 1
}

// validator constructor call
var v = new validator('contactForm', a_fields, o_config);
