$(document).ready(function(){	$('.menu_topo li.headlink1').hover(		function() { $('div', this).show(); $(this).addClass('item_ver')},    	function() { $('div', this).hide(); $(this).removeClass('item_ver')}	);	$('.menu_topo li.headlink2').hover(		function() { $('div', this).show(); $(this).addClass('item_ama')},		function() { $('div', this).hide(); $(this).removeClass('item_ama')}	);	$('.menu_topo li.headlink3').hover(		function() { $('div', this).show(); $(this).addClass('item_azu')},    	function() { $('div', this).hide(); $(this).removeClass('item_azu')}	);	$('.menu_topo li.headlink4').hover(    	function() { $('div', this).show(); $(this).addClass('item_vrd')},    	function() { $('div', this).hide(); $(this).removeClass('item_vrd')}    );});function mycarousel_initCallback(carousel){	carousel.buttonNext.bind('click', function() {carousel.startAuto(0);});	carousel.buttonPrev.bind('click', function() {carousel.startAuto(0);});	carousel.clip.hover(function() {carousel.stopAuto();}, function() {carousel.startAuto();});}jQuery(document).ready(function() {    jQuery('.ef').jcarousel({        wrap: 'last',        animation: 'slow',        initCallback: mycarousel_initCallback    });    jQuery('.ef2').jcarousel({        wrap: 'last',        animation: 'slow',        initCallback: mycarousel_initCallback    });});function getWidth(){return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.clientWidth:document.body?document.body.clientWidth:window.screen.width;}function getHeight(){return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.clientHeight:document.body?document.body.clientHeight:window.screen.height;}function moeda(z){v=z.value;v=v.replace(/\D/g,"");v=v.replace(/[0-9]{20}/,"invalido");v=v.replace(/(\d{1})(\d{8})$/,"$1.$2");v=v.replace(/(\d{1})(\d{5})$/,"$1.$2");v=v.replace(/(\d{1})(\d{1,2})$/,"$1,$2");z.value=v;}function moeda_to_float(valor){if(valor===""){valor=0;}else{valor=valor.replace(".","");valor=valor.replace(",",".");valor=parseFloat(valor);}return valor;}function float_to_moeda(valor){var inteiro=null,decimal=null,c=null,j=null;var aux=new Array();valor=""+valor;c=valor.indexOf(".",0);if(c>0){inteiro=valor.substring(0,c);decimal=valor.substring(c+1,valor.length);}else{inteiro=valor;}for(j=inteiro.length,c=0;j>0;j-=3,c++){aux[c]=inteiro.substring(j-3,j);}inteiro="";for(c=aux.length-1;c>=0;c--){inteiro+=aux[c]+'.';}inteiro=inteiro.substring(0,inteiro.length-1);decimal=parseInt(decimal);if(isNaN(decimal)){decimal="00";}else{decimal=""+decimal;if(decimal.length===1){decimal=decimal+"0";}}valor=inteiro+","+decimal;return valor;}function explode(sep,value){var arr=new Array();index=-1;while(value.indexOf(sep)!=-1){index++;arr[index]=value.substring(0,value.indexOf(sep));value=value.substring(value.indexOf(sep)+sep.length);}index++;if(value)arr[index]=value;return arr;}
