// contact form
// 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
	},
	'name':{'l':'Full Name','r':true,'t':'name'},
	'email':{'l':'E-mail','r':true,'f':'email','t':'email'},
	'comments':{'l':'Your Message or Query','r':true,'t':'comments'}
},

o_config = {
	'to_disable' : ['Submit', 'Reset'],
	'alert' : 1
}

// validator constructor call
var v = new validator('contactform', a_fields, o_config);

