function checa(){
	
	if(document.getElementById('empresa').value == ""){
		alert("Digite seu EMPRESA");
		document.getElementById('empresa').focus();
		return false;
	}
	
	if(document.getElementById('nome').value == ""){
		alert("Digite seu NOME");
		document.getElementById('nome').focus();
		return false;
	}
	

	if(document.getElementById('telefone').value == ""){
		alert("Digite seu TELEFONE");
		document.getElementById('telefone').focus();
		return false;
	}
	
	if(document.getElementById('email').value == ""){
		alert("Digite seu EMAIL");
		document.getElementById('email').select();
		
		return false;
	}
	
	if(document.getElementById('email').value.indexOf("@") == -1){
		alert("Digite um EMAIL CORRETO");
		document.getElementById('email').select();
		
		return false;
	}
	
	if(document.getElementById('email').value.indexOf(".") == -1){
		alert("Digite um EMAIL CORRETO");
		document.getElementById('email').select();
		
		return false;
	}
	
	if(document.getElementById('cidade').value == ""){
		alert("Digite sua CIDADE");
		document.getElementById('cidade').focus();
		return false;
	}
	
		if(document.getElementById('informacoes').value == ""){
		alert("Digite as INFORMAÇÕES do seu orçamento");
		document.getElementById('informacoes').focus();
		return false;
	}
	

		
	return true;
}

	
//Chama flash no site (correção do IE)
function flash(swf, width, height, wmode, cache)
{
noCache = cache || cache == undefined ? "" : "?" + new Date();
wmode = wmode || wmode == undefined ? "opaque" : "transparent";

monta_swf = "";
monta_swf += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\""+ width +"\" height=\""+ height +"\" title=\"\">";
monta_swf += "<param name=\"movie\" value=\""+ swf + noCache +"\" />";
monta_swf += "<param name=\"quality\" value=\"high\" />";
monta_swf += "<param name=\"menu\" value=\"0\" />";
monta_swf += "<param name=\"wmode\" value=\"transparent\" />";
monta_swf += "<embed src=\""+ swf + noCache +"\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+ width +"\" height=\""+ height +"\"></embed>";
monta_swf += "</object>";

document.write(monta_swf);
}



var min=10;
var max=16;


function aumentarTexto() {
   var p = document.getElementById('conteudoInternas');

      if(p.style.fontSize) {
         var s = parseInt(p.style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p.style.fontSize = s+"px"

}
function diminuirTexto() {
   var p = document.getElementById('conteudoInternas');

      if(p.style.fontSize) {
         var s = parseInt(p.style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p.style.fontSize = s+"px"
   }  
   
   
 function aumentar() {

   var p = document.getElementById('produtoDetalhes');

      if(p.style.fontSize) {
         var s = parseInt(p.style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p.style.fontSize = s+"px"

}
function diminuir() {

   var p = document.getElementById('produtoDetalhes');

      if(p.style.fontSize) {
         var s = parseInt(p.style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p.style.fontSize = s+"px"
   }  





