Mapa do site


function formatar(src,mask){var i=src.value.length;var saida=mask.substring(1,2);var texto=mask.substring(i) if(texto.substring(0,1)!=saida){src.value+=texto.substring(0,1);}}function mascara(o,f){v_obj=o v_fun=f setTimeout("execmascara()",1)}function execmascara(){v_obj.value=v_fun(v_obj.value)}function somenteNumeros(v){return v.replace(/\D/g,"")}function telefone(v){v=v.replace(/\D/g,"") v=v.replace(/(\d{4})(\d)/,"$1-$2") return v}function mostra(){if(document.getElementById("palavra").style.display=="none"){document.getElementById("palavra").style.display="block";}}function esconde(){if(document.getElementById("palavra").style.display=="block"){document.getElementById("palavra").style.display="none";}else{document.getElementById("palavra").style.display="none";}}function maiuscula(z){v=z.value.toUpperCase();z.value=v;}function minusculas(z){v=z.value.toLowerCase();z.value=v;}function UcWords(campo){val=campo.value;newVal=val.toLowerCase().replace(/[^A-Za-záâàãäéêèëíîìïóõòôöúùûüç][A-Za-záâàãäéêèëíîìïóõòôöúùûüç]/g,function(m){return m.toUpperCase()}).replace(/[0-9][A-Za-záâàãäéêèëíîìïóõòôöúùûüç]/g,function(m){return m.toUpperCase()}).replace(/( (da|das|e|de|do|dos|para|na|nas|no|nos) )/gi,function(m){return m.toLowerCase()}).replace(/^./,function(m){return m.toUpperCase()}) if(val!=newVal){campo.value=newVal;}}var isNN=(navigator.appName.indexOf("Netscape")!=-1);function autoTab(input,len,e){var keyCode=(isNN)?e.which:e.keyCode;var filter=(isNN)?[0,8,9]:[0,8,9,16,17,18,37,38,39,40,46];if(input.value.length>=len&&!containsElement(filter,keyCode)){input.value=input.value.slice(0,len);input.form[(getIndex(input)+1)%input.form.length].focus();}function containsElement(arr,ele){var found=false,index=0;while(!found&&indexelement.offsetTop){element.classList.add(animationClass)}else{element.classList.remove(animationClass);}})}animeScroll();if(target.length){window.addEventListener('scroll',debounce(function(){animeScroll();},50));}