// form fields description structure
var contact_fields = {
	'name':{'l':'Name:','r':true,'t':'t_name'},
	'email':{'l':'Email address:','r':true,'f':'email','t':'t_email'},
	'zip':{'l':'Zip Code:','r':true,'f':'zip','t':'t_zip'}
}

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

// validator constructor call
var v_contact = new validator('contact', contact_fields, contact_config);


// form fields description structure
var newsletter_fields = {
	'name':{'l':'Name:','r':true,'t':'t_name'},
	'email':{'l':'Email address:','r':true,'f':'email','t':'t_email'},
	'phone':{'l':'Daytime Telephone:','r':true, 'f':'phone','t':'t_phone'},
	'zip':{'l':'Zip Code:','r':true,'f':'zip','t':'t_zip'}
}

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

// validator constructor call
var v_newsletter = new validator('newsletter', newsletter_fields, newsletter_config);


// form fields description structure
var feedbck_fields = {
	'name':{'l':'Name:','r':true,'t':'f_name'},
	'comments':{'l':'Feedback:','r':true,'t':'f_comments'},
	'email':{'l':'Email address:','r':true,'f':'email','t':'f_email'},
	'zip':{'l':'Zip Code:','r':true,'f':'zip','t':'t_zip'}
}

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

// validator constructor call
var v_feedbck = new validator('feedbck', feedbck_fields, feedbck_config);



// form fields description structure
var bulletin_fields = {
	'name':{'l':'Name:','r':true,'t':'t_name'},
	'email':{'l':'Email address:','r':true,'f':'email','t':'t_email'},
	'comments':{'l':'Comments:','r':true,'t':'t_comments'},
	'zip':{'l':'Zip Code:','r':true,'f':'zip','t':'t_zip'}
}

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

// validator constructor call
var v_bulletin = new validator('bulletin', bulletin_fields, bulletin_config);