// JavaScript Document
<!--

function mouseOver( id, color ) {
    var id = document.getElementById( id );
    id.style.backgroundColor = color;
}
function mouseOut( id, color ) {
    var id = document.getElementById( id );
    id.style.backgroundColor = color; /* Define a cor de fundo padrão */
}


function mostraDetalhes( id, show )
{
    var IE    = (navigator.appVersion.indexOf("MSIE") > - 1);

    var id = document.getElementById( id );
    id.style.display = ! show ? "none" : IE ? "inline" : "table-row";
}

function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
{
	Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
}


function validarServ()  {

if ((document.formPergunta.nome.value=="") 
|| (document.formPergunta.email.value=="")  
|| (document.formPergunta.mensagem.value=="")
) 
{ alert ('Por Favor preencha os campos em branco') } 

else { document.formPergunta.submit() }
}



function valMsg()  {

if ((document.form1.nome.value=="") 
|| (document.form1.email.value=="")  
|| (document.form1.mensagem.value=="")) 
{ alert ('Por favor, preencha os campos obrigatórios marcados com *') } 

else { document.form1.submit() }}

function valOrcW()  {

if ((document.orcamento.nome.value=="") 
|| (document.orcamento.email.value=="")  
|| (document.orcamento.areadeatuacao.value=="")  
|| (document.orcamento.comentarios.value=="")) 
{ alert ('Por favor, preencha os campos obrigatórios marcados com *') } 

else { document.orcamento.submit() }}


function valOrcS()  {

if ((document.orcamento2.nome.value=="") 
|| (document.orcamento2.email.value=="")  
|| (document.orcamento2.areadeatuacao.value=="")  
|| (document.orcamento2.sobresistemas.value=="")) 
{ alert ('Por favor, preencha os campos obrigatórios marcados com *') } 

else { document.orcamento2.submit() }}

function valOrcO()  {

if ((document.orcamento3.nome.value=="") 
|| (document.orcamento3.email.value=="")  
|| (document.orcamento3.falesobre.value==""))
{ alert ('Por favor, preencha os campos obrigatórios marcados com *') } 

else { document.orcamento3.submit() }}

function valL()  {

if ((document.formLogin.login.value=="") 
|| (document.formLogin.senha.value==""))
{ alert ('Por favor, preencha os campos.') } 

else { document.formLogin.submit() }}



//-->
