$.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};	


$(document).ready(function() {
						   
				
	for (var i = 0; i < $("#otrasProducciones li").get().length; i++) {
		  if((i+1)%3 == 0) $("#otrasProducciones li").eq(i).addClass("item3");
    }
	for (var i = 0; i < $(".linksOfDemos li").get().length; i++) {
		if((i+1)%3 == 0) $(".linksOfDemos li").eq(i).addClass("item3");
	}
	$(".Alterno li:even").addClass("colorAlt");
	
	$(".demosMp3").jmp3({
				showfilename: "false",
				backcolor: "trans",
				forecolor: "CCCCCC",
				width: 120,
				showdownload: "false"
	});
	$(".linksOfDemos li,#otrasProducciones li, #listMusicians li").hover(
     function () {
      	$(this).animate({ backgroundColor:"#000000" }, 1500 );
     },
     function () {
		$(this).animate({ backgroundColor:"#18130D" }, 1500 );
    });
	$("#boxy a").fancybox({
				'hideOnContentClick': true
			});
	$(".gallery-icon a").fancybox({
				'hideOnContentClick': true
			});
	 
            $('#commentsForm').ajaxForm(function() { 
                alert("Gracias por tus comentarios!"); 
				$(".formBox").fadeOut();
				
            }); 
	
		   
	
	$(document).pngFix(); 
	/*$("#navTop a").click(function(){
		$("#navTop a").removeClass("active");
		$(this).addClass("active");	
		hash = this.hash.replace(/^.*#/, '');
		//$("#iniCont").hide();
		//if(hash!="")$("#iniCont").load(hash, doneLoading);
		$("#loading").show();
		$.historyLoad(hash);
	})
	
	$("#al").click(function(){ 	$("#navTop a").removeClass("active");
		$("#ini a").addClass("active");	
		$("#loading").show();
		$.historyLoad(hash); });*/
				

	   
	

});

	