		$(document).ready(function(){
			
			$("a#fancy").fancybox({
				'height' : 535,
				'width' : 660,
				'type'	: 'iframe'
			});
			
			$("#showDestaques").html('<img src="images/ajax-loader.gif" />');
			$.post('lib/class.cache.php',
				{
				type:'lancamentos'
				},
				function(response) {
					$("#showDestaques").html(response);
					jQuery('#slider-stage').carousel('#previous', '#next');
				}
			);
			$("ul#destaques li").click(function() {
				$("#showDestaques").empty().html('<img src="images/ajax-loader.gif" />');
				$("ul#destaques li").each(function() {
					$(this).removeClass("selecionado");
				});
				$(this).addClass("selecionado");
				$.post('lib/class.cache.php',
					{type:$(this).attr("rel")},
					function(response) {
						$("#showDestaques").html(response);
						jQuery('#slider-stage').carousel('#previous', '#next');
					}
				);
			});
			
			$('#div_fantasma').hide();
			
			$('#fancyLogin').click(function() {
				$('.webwidget_slideshow_simple').hide();
				$('#div_fantasma').show();
			});
			$('#fancybox-close').click(function() {
				$('.webwidget_slideshow_simple').show();
				$('#div_fantasma').hide();
			});
			
			
			$('#fancy').click(function() {
				$('.webwidget_slideshow_simple').hide();
				$('#div_fantasma').show();
			});			
			
			$('#fancyTel').click(function() {
				$('.webwidget_slideshow_simple').hide();
				$('#div_fantasma').show();
			});
			
			$('#fancyligamos').click(function() {
				$('.webwidget_slideshow_simple').hide();
				$('#div_fantasma').show();
			});
			
			
			
			
			
			/*
			function showOrHide() {
				$('.webwidget_slideshow_simple').hide();
			}
			*/
		});

