<!--
	function ValidaContato(){
		var Form;
		Form = document.frmCadastro;
		if(Form.txtNome.value == ''){
			alert('O campo "Nome" deve ser preenchido.');
			Form.txtNome.focus();
			return false;
		}
		if(Form.txtEmail.value == ''){
			alert('O campo "E-Mail" deve ser preenchido.');
			Form.txtEmail.focus();
			return false;
		}
		if(Form.txtEmail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1){
			alert('"E-Mail" inválido. Por favor verifique.');
			Form.txtEmail.value = '';
			Form.txtEmail.focus();
			return false;
		}
		//if(Form.txtAssunto.value == ''){
//			alert('O campo "Assunto" deve ser preenchido.');
//			Form.txtAssunto.focus();
//			return false;
//		}
		//if(Form.txtAssunto.value == ''){
//			alert('O campo "Assunto" deve ser preenchido.');
//			Form.txtAssunto.focus();
//			return false;
//		}
		if(Form.txtMensagem.value == ''){
			alert('O campo "Mensagem" deve ser preenchido.');
			Form.txtMensagem.focus();
			return false;
		}
		return true;		
	}
//-->
