
// 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
	},*/
	'cliente_nome_ins':{'l':'Nome','r':true},
	'cliente_email_ins':{'l':'E-Mail','r':true,'f':'email'},
	'cliente_documento_ins':{'l':'CPF','r':true,'f':'integer','mn':10,'mx':11},
	'cliente_fone_ins':{'l':'Fone','r':true,'f':'phone'},
	'contato_ins':{'l':'Deseja que a Faro entre em contato com você?','r':true}	

},

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

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