var requestValid = new Array(0);
requestValid.push(new obValid('name', 		'Name', 		'', true));
requestValid.push(new obValid('email', 	'Email Address', 'email', true));
requestValid.push(new obValid('phone', 	'Phone', 		'phone', false));

function requestValidate(idForm){

	ret = validate(idForm, requestValid);
	if (ret){
		document.getElementById(idForm).submit();
	}

}

