function float2moeda(num) {	x = 0;	if (num < 0) {		num = Math.abs(num);		x = 1;	}	if (isNaN(num)) num = '0';	cents = Math.floor((num * 100 + 0.5) % 100);	num = Math.floor((num*100+0.5)/100).toString();	if (cents < 10) cents = '0' + cents;	for (var i = 0; i < Math.floor((num.length - (1 + i)) / 3); i++)		num = num.substring(0, num.length - (4 * i + 3)) + '.' + num.substring(num.length - (4 * i + 3));	ret = num + ',' + cents;	if (x == 1) ret = ' - ' + ret;	return ret;}$(function () {	$('#home #opnioes-publicity .right ul').cycle({		fx: 'fade',		timeout: 0,		speed: 0,		next: '#home #opnioes-publicity .right a.next',		prev: '#home #opnioes-publicity .right a.prev'	});	$('#home #opnioes-publicity .left ul').cycle({		fx: 'fade'	});
	$('#home #slide-contact #slideshow #slide').jqFancyTransitions({ 		width: 637,		height: 180,		strips: 30,		navigation: true,		links: true	});    $('#carousel').jCarouselLite({        btnPrev: '#home #destaque-promotions #destaque a.prev',        btnNext: '#home #destaque-promotions #destaque a.next',        auto: 3000,        speed: 1000,        visible: 5    });    $('#login-username').Watermark('Usuario');	$('#login-password').Watermark('Senha');	$('#rastrear').click(function () {		window.open($(this).attr('href'), null, 'height=500,width=550,status=no,toolbar=no,menubar=no,location=no');		return false;			});		$('input:text').setMask();});function js_blink_btn_pedido_selecione_frete () {	if ($('#btn_pedido_selecione_frete').is(':visible')) {		$('#btn_pedido_selecione_frete').fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100); 	}}function js_blink_btn_app_frete() {	if (!$('#btn_pedido_selecione_frete').is(':visible')) {		$('#button_app_frete').fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100); 	}}function js_blink_btn_entrega() {	$('#btn_entrega').fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100); }function js_blink_btn_carrinho() {	$('.btn_carrinho').fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100); }
function js_blink_btn_use_filtro() {	$('.use_filtro').fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100); }
