// form fields description structure
var a_fields = {
//	'title': {
//		'l': 'Title',  // label
//		'r': false,    // required
//		'f': 'alpha',  // format (see below)
//		't': 't_title',// id of the element to highlight if input not validated
		
//		'm': null,     // must match specified form field
//		'mn': 2,       // minimum length
//		'mx': 10       // maximum length
//	},
	'contact':{'l':'Contact Person','r':true,'f':'alpha','t':'t_contact'},
	'cellphone':{'l':'Cell Phone','r':true,'f':'phone','t':'t_cellphone'},
	'email':{'l':'E-mail','r':true,'f':'email','t':'t_email'},
	'creditcard':{'l':'Credit Card','r':true,'t':'t_credit'}	
},

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

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