/**
 * 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
	*	},
	*/
	
	'email':{'l':'Email Address ','r':true,'f':'email','t':'vpu_email'},
	'new_password':{'l':'Password ','r':true,'t':'vpu_new_password'},
	'confirm_password':{'l':'Confirm Password ','r':true,'m':'new_password','t':'vpu_confirm_password'},
},

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

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