$(window).load( function () {
<!--load-->
  $("#panel").animate( {top:"+=0"}, 1500)
  .animate( {top:"-310"}, 300,"easeOutExpo")

  $("#logo").animate( {top:"+=0"}, 1700)
  .animate( {top:"0"}, 300,"easeOutExpo");
  $("#loading").animate( {top:"+=0"}, 4000)
  .animate( {top:"-20"}, 300);
   $("#icon_story").animate( {top:"+=0"}, 2000)
  .animate( {top:"-15"}, 600,"easeOutBounce");
   $("#icon_calendar").animate( {top:"+=0"}, 2500)
  .animate( {top:"-15"}, 600,"easeOutBounce");
   $("#icon_gallery").animate( {top:"+=0"}, 2400)
  .animate( {top:"-15"}, 600,"easeOutBounce");
   $("#icon_community").animate( {top:"+=0"}, 2700)
  .animate( {top:"-15"}, 600,"easeOutBounce");
   $("#icon_direction").animate( {top:"+=0"}, 3100)
  .animate( {top:"-15"}, 600,"easeOutBounce");
  $("#icon_contacts").animate( {top:"+=0"}, 3400)
  .animate( {top:"-15"}, 600,"easeOutBounce");
  $("#content").animate( {top:"+=0"}, 3600)
  .animate( {top:"-100"}, 600,"easeOutExpo");
    $("#footer").animate( {top:"+=0"}, 4000)
  .animate( {top:"-25"}, 500,"easeOutExpo");


  
  function load(num) {
		var parts = num.split("/");
      
		var url = "";
		var container = "content_div";

		$('#loading').animate( {
			top:"+=40"
		}, 300,"easeOutExpo");
		$('#footer').animate( {
			top:"-80"
		}, 100,"easeOutExpo");
		
		if (parts[0] == '!getshop_order') {
		$('#divcheck').css({'visibility':'visible'});
			
			url = "include/"+num.slice(1)+".php";  
		}else{
		$('#divcheck').css({'visibility':'hidden'});
		if (parts[0] == '!getevents_bymonth') {
        
			url = "include/"+parts[0].slice(1)+".php?month="+parts[1];
			//container = 'calendario';
		}
		else if (parts[0] == 'cart_restore') {
			url = "include/"+parts[0].slice(1)+".php";
		}
		
		else if (parts[0] == '!getevents_detail') {
			if (parts[2]){
				url = "include/"+parts[0].slice(1)+".php?id="+parts[1]+"&mid="+parts[2];
			}else{
				url = "include/"+parts[0].slice(1)+".php?id="+parts[1];
			}
		}
		else if (parts[0] == '!getnews_detail') {
			url = "include/"+parts[0].slice(1)+".php?id="+parts[1];
		}
		else if (parts[0] == '!getproduct_detail') {
			url = "include/"+parts[0].slice(1)+".php?id="+parts[1];
		}		
		else if(parts[0] == '!getevents_bymonth_past') {
			
			url = "include/"+parts[0].slice(1)+".php?month="+parts[1];
			//container = 'calendario';
		
		}
		else if(parts[0] == '!getgallery') {
			url = "include/"+parts[0].slice(1)+".php?gallery_id="+parts[1];
			//container = 'content_div';
		}
		else if(parts[0] == '') {
			url = "include/video.php";
			//container = 'content_div';
		}		
		else {
			url = "include/"+num.slice(1)+".php";  
		}
		}
			$('#'+container).hide("slow","easeOutExpo").load(url,'',function(){
			$('#loading').animate( {top:"-=40"}, 300);
			$('#'+container).show("slow","easeOutExpo");
			$('#footer').animate( {top:"-25"}, 600,"easeOutExpo");
		});
	
	}

	$.history.init(function(url) {                
		load(url == "cart_restore" ? "!getshop_order" : url)},  
		{unescape: "/:?="}
	);

	$("a[class='history']").live('click', function(e) {
		var url = $(this).attr('href');
		url = url.replace(/^.*#/, '');
		$.history.load(url);
		return false;
	});
 

<!--LOGO-->
  $("#logo").hover(
      function () {
		 $(this).animate( {top:"+=3"}, 200);
		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=3"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
  /*$("#logo").click(function(){
  $('#loading').animate( { top:"+=40"}, 300,"easeOutExpo");
  $('#footer').animate( { top:"-80"}, 100,"easeOutExpo");
  $('#content_div').hide("slow","easeOutExpo").load("include/getnews.php",'',function(){
  $('#loading').animate( { top:"-=40"}, 300);
  $('#content_div').show(1000,"easeOutExpo");
  $('#footer').animate( { top:"-25"}, 600,"easeOutExpo");})
return true;
});*/
  
  <!--Story-->
  $("#icon_story").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		// $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
  /*$("#icon_story").click(function(){
  $('#loading').animate( { top:"+=40"}, 300,"easeOutExpo");
  $('#footer').animate( { top:"-80"}, 100,"easeOutExpo");
  $('#content_div').hide("slow","easeOutExpo").load("include/getstory.php",'',function(){
  $('#loading').animate( { top:"-=40"}, 600);
  $('#content_div').show("slow","easeOutExpo");
  $('#footer').animate( { top:"-25"}, 600,"easeOutExpo");})
return true;
});*/
  <!--Calendar-->
 $("#icon_calendar").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
/* $("#icon_calendar").click(function(){
  $('#loading').animate( { top:"+=40"}, 300);
  $('#content_div').hide(700,"easeOutExpo").load("include/getevents.php",'',function(){
  $('#loading').animate( { top:"-=40"}, 600);
  $('#content_div').show(700,"easeOutExpo") ;})
return true;
	}); */
   <!--Calendar Past Events-->
  /* $("#event_past").livequery('click', function(event) {
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide(700,"easeOutExpo").load("include/getevents_past.php",'',function(){
   $('#loading').animate( { top:"-=40"}, 600);
   $('#content_div').show("slow","easeOutExpo");})
return true;
	});*/
   
  /* $(".event_next").livequery('click', function(event) {
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide(700,"easeOutExpo").load("include/getevents.php",'',function(){
$('#loading').animate( { top:"-=40"}, 600);
$('#content_div').show("slow","easeOutExpo"); })
return true;
	});*/
      
   $("#see_art").livequery('click', function(event) {
   $('#loading').animate( {top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load("include/getart.php",'',function(){
																		 $('#loading').animate( {top:"-=40"}, 600)
																		   $('#content_div').show("slow","easeOutExpo")})
return true;
	});
   
   $("#see_events").livequery('click', function(event) {
   $('#loading').animate( {top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load("include/getevents.php",'',function(){
																		 $('#loading').animate( {top:"-=40"}, 600)
																		   $('#content_div').show("slow","easeOutExpo")})
return true;
	});

 
<!--Gallery-->
   $("#icon_gallery").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
 /*  $("#icon_gallery").click(function(){
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load("include/getimages.php",'',function(){
																		 $('#loading').animate( { top:"-=40"}, 600)
																		   $('#content_div').show("slow","easeOutExpo") 											 })
return true;
	});*/

<!--community-->
   $("#icon_community").hover(
      function () {
		 $(this).animate( {top:"+=15"}, 200);
		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=15"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
  /* $("#icon_community").click(function(){
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load("include/getlinks.php",'',function(){
																		 $('#loading').animate( { top:"-=40"}, 600)
																		 $('#content_div').show("slow","easeOutExpo") 											 })
return true;
	});*/
<!--direction-->
   $("#icon_direction").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
  /* $("#icon_direction").click(function(){
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load("include/getdirections.php",'',function(){
																		 $('#loading').animate( { top:"-=40"}, 600)
																		 $('#content_div').show("slow","easeOutExpo") 											 })
return true;
	});*/
  
<!--contact-->

   $("#icon_contacts").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		 		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, 200);
      }
    );
   $("#icon_contacts").click(function(){
   $("#panel").show().animate( {top:"-20"}, {duration: 700, easing: "easeOutExpo"});
   $("#logo").animate( {top:"0"}, {duration: 300, easing: "easeOutBounce"});
   $("#logo").animate( {top:"290"}, {duration: 600});
   $("#icon_contacts").animate( {top:"190"}, {duration: 700, easing: "easeOutBounce"});
   $("#icon_close").show().animate( {top:"0"}, {duration: 800});
   $("#icon_close").show().animate( {top:"190"}, {duration: 200});
   $("#icon_close").show().animate( {top:"280"}, {duration: 700, easing: "easeOutBounce"});
  return true;

});
 
 <!--close-->

$("#icon_close").hover(
      function () {
		 $(this).animate( {top:"+=5"}, 200);
		 		 $(this).css("cursor", "pointer");

      }, 
      function () {
		 $(this).animate( {top:"-=5"}, 200);
      }
    );
$("#icon_close").livequery('click', function(event) {
$("#panel").animate( {top:"-310"},{duration: 700, easing: "easeOutExpo"});
$("#icon_contacts").animate( {top:"-100"},{duration: 700, easing: "easeOutExpo"});
$("#icon_close").hide().animate( {top:"-60"},{duration: 700, easing: "easeOutExpo"});
$("#logo").animate( {top:"0"}, {duration: 700, easing: "easeOutExpo"});
$("#icon_contacts").animate( {top:"-15"},{duration: 700, easing: "easeOutExpo"});
return true;

	});

 <!--style-->

  $('#bt_style1').animate( {opacity:"0"}, 5000)
  .fadeIn( "slow")
  .animate({opacity: "1",left: "+=20"}, {duration: "slow", easing: "easeOutBounce"})
  $("#bt_style1").hover(
      function () {
		 $(this).animate( {left:"-=5"}, 200);

      }, 
      function () {
		 $(this).animate( {left:"+=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
   $('#bt_style2').animate( {opacity:"0"}, 5500)
  .fadeIn( "slow")
  .animate({opacity: "1",left: "+=20"}, {duration: "slow", easing: "easeOutBounce"})
   $("#bt_style2").hover(
      function () {
		 $(this).animate( {left:"-=5"}, 200);

      }, 
      function () {
		 $(this).animate( {left:"+=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
 
 
 <!--Merch-->
 
  $('#icon_merch').animate( {opacity:"0"}, 5000)
  .fadeIn( "slow")
  .animate({opacity: "1",top: "+=20"}, {duration: "slow", easing: "easeOutBounce"})
  $("#icon_merch").hover(
      function () {
		 $(this).animate( {top:"-=5"}, 200).css("cursor","pointer");

      }, 
      function () {
		 $(this).animate( {top:"+=5"}, {duration: 200, easing: "easeOutBounce"});
      }
    );
  /* $("#icon_merch").click(function(){
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide("fast").load("include/getshop_order.php",'',function(){
																		 $('#loading').animate( { top:"-=40"}, 600)
																		 $('#content_div').show("fast") 											 })

  return true;

});*/
  
   <!--Shop Order-->
 
   $(".shop_order").livequery('click', function(event) {
   $('#loading').animate( {top:"+=40"}, 300);
   $('#content_div').hide("fast").load("include/getshop_order.php",'',function(){
																		 $('#loading').animate( {top:"-=40"}, 600)
																		 $('#content_div').show("fast")})

  return true;

});
  
  <!------------------------------------------------ MONTH ------------------------------------------------------------------>
  
/*    $("#jan").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=01",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#feb").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=02",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
  <!------------------------------------------------ MONTH ------------------------------------------------------------------>
  
    $("#mar").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=03",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#apr").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=04",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#may").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=05",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#jun").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=06",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#jul").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=07",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#aug").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=08",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#sep").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=09",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>
    $("#oct").livequery('click', function(event) {
    $('#calendario').hide("slow","easeOutExpo");
    $('#loading').animate( { top:"+=40"}, 300);
    $('#calendario').load("include/getevents_bymonth.php?month=10",'',function(){
    $('#loading').animate( { top:"-=40"}, 600)
    $('#calendario').show("fast");
    });
  return true;
    });
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#nov").livequery('click', function(event) {
    $('#calendario').hide("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=11",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#dec").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth.php?month=12",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

  
    <!------------------------------------------------ MONTH PAST ------------------------------------------------------------------>
    <!------------------------------------------------ MONTH PAST ------------------------------------------------------------------>
    <!------------------------------------------------ MONTH PAST ------------------------------------------------------------------>
    <!------------------------------------------------ MONTH PAST ------------------------------------------------------------------>
    <!------------------------------------------------ MONTH PAST ------------------------------------------------------------------>
  
    $("#jan2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=01",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#feb2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=02",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
  <!------------------------------------------------ MONTH ------------------------------------------------------------------>
  
    $("#mar2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=03",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#apr2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=04",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#may2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=05",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#jun2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=06",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#jul2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=07",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#aug2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=08",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#sep2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=09",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	   $("#oct2").livequery('click', function(event) {
    $('#calendario').hide("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=10",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#nov2").livequery('click', function(event) {
    $('#calendario').hide("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=11",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

	  <!------------------------------------------------ MONTH ------------------------------------------------------------------>

	    $("#dec2").livequery('click', function(event) {
    $('#calendario').slideUp("slow","easeOutExpo");
	    $('#loading').animate( { top:"+=40"}, 300);

   $('#calendario').load("include/getevents_bymonth_past.php?month=12",'',function(){
   $('#loading').animate( { top:"-=40"}, 600)
   $('#calendario').show("fast");
   });
  return true;
});*/
	<!------------------------------------------------ MONTH ------------------------------------------------------------------>

   $('#see' + this.id).load('include/gallery.php?gallery_id=' + this.id,function(){$(this).show(1000)});
  <!--gallery links-->
   $(".gallerylink").livequery('click', function(event) {
   $('#loading').animate( { top:"+=40"}, 300);
   $('#content_div').hide("slow","easeOutExpo").load('include/getgallery.php?gallery_id='+ this.id,function(){
																		 $('#loading').animate( { top:"-=40"}, 600)
																		 $('#content_div').show("slow","easeOutExpo");})
return true;
	});

  
   /* $(".gallery_back").livequery('click', function(event) {
    $('#loading').animate( { top:"+=40"}, 300);
    $('#content_div').hide("slow","easeOutExpo").load("include/getimages.php",'',function(){
    $('#loading').animate( { top:"-=40"}, 600)
    $('#content_div').show("slow","easeOutExpo") })

  return true;

});*/

  

});

