// JavaScript Document
function Contact(){
	path = document.form_contact;
	
	if (path.name.value == ''){
		alert("Informe o Nome.");
		path.name.focus();
		return false;
	}
	
	if (path.email.value == ''){
		alert("Informe o e-mail.");
		path.email.focus();
		return false;
	}
	
	if (path.message.value == ''){
		alert("Digite uma mensagem.");
		path.message.focus();
		return false;
	}
	
}

function change_bg(objetoId, objetoColor, objetoBorder){
	var objeto = (document.all) ? document.all[objetoId] : document.getElementById(objetoId);
	var color = objetoColor;
	var border = objetoBorder;
	objeto.style.background = color;
	objeto.style.border =border;
}