				
function valida_campo()
{

var nome = document.form.nome.value
if (nome==""){
	alert("Entre com seu nome !");
	document.form.nome.focus()
	return false
	}
var fone = document.form.fone.value
if (fone==""){
	alert("Entre com seu Telefone !");
	document.form.fone.focus()
	return false
	}
var email=document.form.email.value;
if (email==""){
	alert("Entre com seu email válido ! ")
	document.form.email.focus()
    return false
    }
var assunto = document.form.assunto.value
if (assunto==""){
	alert("Entre com o assunto em questão!");
	document.form.assunto.focus()
	return false
	}
var descricao = document.form.descricao.value
if (descricao==""){
	alert("Entre com sua informação de Descrição !");
	document.form.descricao.focus()
	return false
	}

}
function confere(){
if (document.form.email.value.indexOf('@', 0) == -1 || document.form.email.value.indexOf('.', 0) == -1)
{   alert("E-mail com formato invalido!");
	document.form.email.focus()
	}
}


//Funcao Pop
function pop_up(url){	   
	window.open(url,"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=320");
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function datahora()
{
                dia = new Date();
				  ano = dia.getYear();

				  mes = new Array("Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro")

				  dia_semana = new Array("Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado");

                document.writeln("&nbsp"+ "<font size=1 face=verdana color=000000>" + "<B>" + dia_semana[dia.getDay()] + ", " + dia.getDate() + " de " +  mes[dia.getMonth()] + " de " + ano + "&nbsp");
}


function rodape()
{
	document.write("<a href='index.php' class='navegacao'>Home</a><img src='imagens/marc.gif'>");
	document.write("<a href='empresa.php' class='navegacao'>Empresa</a><img src='imagens/marc.gif'>");
	document.write("<a href='clientes.php' class='navegacao'>Clientes</a><img src='imagens/marc.gif'>");
	document.write("<a href='acesso_clientes.php' class='navegacao'>Acesso a Clientes</a><img src='imagens/marc.gif'>");
	document.write("<a href='ecommerce.php' class='navegacao'>E-commerce</a><img src='imagens/marc.gif'>");
	document.write("<a href='internet.php' class='navegacao'>Internet</a><img src='imagens/marc.gif'>");
	document.write("<a href='hospedagem.php' class='navegacao'>Hospedagem</a><img src='imagens/marc.gif'>");
	document.write("<a href='contato.php' class='navegacao'>Contato</a>");
	

}


function link()
{
	document.write("<table border='0' width='150' cellspacing='0' cellpadding='0'>");
	document.write("<tr>");
	document.write("<td width='100%'></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td width='100%' style='border: 1 solid #627660'>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='index.php' class='navegacao'>Home</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='empresa.php' class='navegacao'>Empresa</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='clientes.php' class='navegacao'>Clientes</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='acesso_clientes.php' class='navegacao'>Acesso a Clientes</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='ecommerce.php' class='navegacao'>E-commerce</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='internet.php' class='navegacao'>Internet</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='hospedagem.php' class='navegacao'>Hospedagem</a></p>");
	document.write("<p style='margin-top: 0; margin-bottom: 0'><img border='0' src='imagens/marc.gif'><a href='contato.php' class='navegacao'>Contato</a></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td width='100%' bgcolor='#8C9F8A'><font face='Verdana' size='1'>&nbsp;</font></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td width='100%' bgcolor='#BBC7BA'><font face='Verdana' size='1'>&nbsp;</font></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td width='100%' bgcolor='#E3E8E3'><font face='Verdana' size='1'>&nbsp;</font></td>");
	document.write("</tr>");
	document.write("</table>");

}
