// ----------------------------------- [ CAROUSSEL HOME ]
$(document).ready(function(){
	// This initialises carousels on the container elements specified, in this case, carousel1.
	$("#carousel").CloudCarousel(		
		{			
			xPos: 415,
			yPos: 45,
			buttonLeft: $("#prev"),
			buttonRight: $("#next"),
			altBox: $("#alt-text"),
			titleBox: $("#title-text")
		}
	);
	
// ----------------------------------- [ ZOOM JOIAS ]
    $(document).ready(function() {
        $('.jqzoom').jqzoom({
                zoomType: 'innerzoom',
                lens:true,
                preloadImages: false,
                alwaysOn:false
            });
        //$('.jqzoom').jqzoom();
    });
	
// ----------------------------------- [ COIN SLIDER ]
	$(document).ready(function() {
		$('#coinSliderHome,#coinSliderAtelier').coinslider();
	});

// ----------------------------------- [ BG FULL SLIDER by SARCI ]
	$(document).ready(function() {
			$('#bannerHome01').delay(2500).fadeOut(1000).delay(9000).fadeIn(1000);
	});
	$(document).ready(function() {
			$('#bannerHome02').delay(5000).fadeOut(1000);
	});
	$(document).ready(function() {
			$('#bannerHome03').delay(7500).fadeOut(1000);
	});
	$(document).ready(function() {
			$('#bannerHome04').delay(10000).fadeOut(1000);
	});
	$(document).ready(function() {
			$('#bannerHome05').delay(12500);
	});
	
	
// ----------------------------------- [ JNOTIFY ]
    $(".nomeBranco").click(function(e){
	  e.preventDefault();
	  jError(
		'Você não preencheu seu nome',
		{
		  autoHide : false, // added in v2.0
		  clickOverlay : true, // added in v2.0
		  MinWidth : 250,
		  TimeShown : 3000,
		  ShowTimeEffect : 200,
		  HideTimeEffect : 200,
		  LongTrip :20,
		  HorizontalPosition : 'center',
		  VerticalPosition : 'center',
		  ShowOverlay : true,
   		  ColorOverlay : '#000',
		  OpacityOverlay : 0.3,
		  onClosed : function(){ // added in v2.0
		   
		  },
		  onCompleted : function(){ // added in v2.0
		   
		  }
		});
	  });
	
    $(".emailBranco").click(function(e){
	  e.preventDefault();
	  jError(
		'Você não preencheu seu email',
		{
		  autoHide : false, // added in v2.0
		  clickOverlay : true, // added in v2.0
		  MinWidth : 250,
		  TimeShown : 3000,
		  ShowTimeEffect : 200,
		  HideTimeEffect : 200,
		  LongTrip :20,
		  HorizontalPosition : 'center',
		  VerticalPosition : 'center',
		  ShowOverlay : true,
   		  ColorOverlay : '#000',
		  OpacityOverlay : 0.3,
		  onClosed : function(){ // added in v2.0
		   
		  },
		  onCompleted : function(){ // added in v2.0
		   
		  }
		});
	  });
	
    $(".emailInvalido").click(function(e){
	  e.preventDefault();
	  jError(
		'Você não preencheu o email corretamente',
		{
		  autoHide : false, // added in v2.0
		  clickOverlay : true, // added in v2.0
		  MinWidth : 250,
		  TimeShown : 3000,
		  ShowTimeEffect : 200,
		  HideTimeEffect : 200,
		  LongTrip :20,
		  HorizontalPosition : 'center',
		  VerticalPosition : 'center',
		  ShowOverlay : true,
   		  ColorOverlay : '#000',
		  OpacityOverlay : 0.3,
		  onClosed : function(){ // added in v2.0
		   
		  },
		  onCompleted : function(){ // added in v2.0
		   
		  }
		});
	  });
	
    $(".telBranco").click(function(e){
	  e.preventDefault();
	  jError(
		'Você não preencheu seu telefone',
		{
		  autoHide : false, // added in v2.0
		  clickOverlay : true, // added in v2.0
		  MinWidth : 250,
		  TimeShown : 3000,
		  ShowTimeEffect : 200,
		  HideTimeEffect : 200,
		  LongTrip :20,
		  HorizontalPosition : 'center',
		  VerticalPosition : 'center',
		  ShowOverlay : true,
   		  ColorOverlay : '#000',
		  OpacityOverlay : 0.3,
		  onClosed : function(){ // added in v2.0
		   
		  },
		  onCompleted : function(){ // added in v2.0
		   
		  }
		});
	  });
	
    $(".msgBranco").click(function(e){
	  e.preventDefault();
	  jError(
		'Você não escreveu nenhuma mensagem',
		{
		  autoHide : false, // added in v2.0
		  clickOverlay : true, // added in v2.0
		  MinWidth : 250,
		  TimeShown : 3000,
		  ShowTimeEffect : 200,
		  HideTimeEffect : 200,
		  LongTrip :20,
		  HorizontalPosition : 'center',
		  VerticalPosition : 'center',
		  ShowOverlay : true,
   		  ColorOverlay : '#000',
		  OpacityOverlay : 0.3,
		  onClosed : function(){ // added in v2.0
		   
		  },
		  onCompleted : function(){ // added in v2.0
		   
		  }
		});
	  });
	  
// ----------------------------------- [ + DETALHE ]
  $("#listaProdutos li a span").mouseover(function () {
	$(this).animate({
		opacity: 0.8
	  }, 0, function() {
		// Animation complete.
	  });    
  });
  $("#listaProdutos li a img").mouseover(function () {
	$(this).parent('a').children('span').animate({
		opacity: 0.8
	  }, 0, function() {
		// Animation complete.
	  });    
  });
  $("#listaProdutos li a img").mouseout(function () {
	$(this).parent('a').children('span').animate({
		opacity: 0
	  }, 0, function() {
		// Animation complete.
	  });    
  });
  $("#listaProdutos li a span").mouseout(function () {
	$(this).parent('a').children('span').animate({
		opacity: 0
	  }, 0, function() {
		// Animation complete.
	  });    
  });
  
// ----------------------------------- [  ]
	
});


