function checkContact() {

	var form = document.contact;
	var regexp = /^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;
	var error = '';

	if(form.nome.value == '')
		error += 'It is mandatory to fill the field <b>"Name"</b>.<br>';
	if(form.email.value == '')
		error += 'It is mandatory to fill the field <b>"E-mail"</b>.<br>';
	if(!regexp.test(form.email.value) && form.email.value != '')
		error += 'The field <b>"E-mail"</b> is invalid.<br>';

	if(error != '') {
		var div = document.getElementById('div_output');
		div.className = 'style_destaque_corpo';
		div.style.color = '#FF0000';
		div.innerHTML = error;
		return false;
	}

	return true;
}
function checkCareer() {

	var form = document.career;
	var regexp = /^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;
	var error = '';

	if(form.nome.value == '')
		error += 'It is mandatory to fill the field <b>"Name"</b>.<br>';
	if(form.email.value == '')
		error += 'It is mandatory to fill the field <b>"E-mail"</b>.<br>';
	if(!regexp.test(form.email.value) && form.email.value != '')
		error += 'The field <b>"E-mail"</b> is invalid.<br>';

	if(error != '') {
		var div = document.getElementById('div_output');
		div.className = 'style_destaque_corpo';
		div.style.color = '#FF0000';
		div.innerHTML = error;
		return false;
	}

	return true;
}
function checkPress() {

	var form = document.press_contact;
	var regexp = /^[\w-\.]+\@[\w\.-]+\.[a-z]{2,4}$/;
	var error = '';

	if(form.nome.value == '')
		error += 'It is mandatory to fill the field <b>"Name"</b>.<br>';
	if(form.email.value == '')
		error += 'It is mandatory to fill the field <b>"E-mail"</b>.<br>';
	if(!regexp.test(form.email.value) && form.email.value != '')
		error += 'The field <b>"E-mail"</b> is invalid.<br>';

	if(error != '') {
		var div = document.getElementById('div_output');
		div.className = 'style_destaque_corpo';
		div.style.color = '#FF0000';
		div.innerHTML = error;
		return false;
	}

	return true;
}