$(function () {
   //Galeria
    $("li", "#galeria-home").hover(function () {
        $(this)
            .css({ 'z-index': '10' })
            .addClass("hover")
            .find('img')
                .stop() /* Stop animation queue buildup*/
		        .animate({
		            top: '50%',
		            left: '50%',
		            width: '130px', /* Set new width */
		            height: '130px' /* Set new height */
		        }, 200); /* this value of "200" is the speed of how fast/slow this hover animates */
    }, function () {
        var $this = $(this);
        var arrImg = ["70px", "70px", "70px", "70px", "70px", "70px", "70px", "70px", "70px", "70px"];
        var size = arrImg[$this.index()];
        $this
            .css({ 'z-index': '1' })
            .removeClass("hover")
            .find('img')
                .stop()  /* Stop animation queue buildup*/
		        .animate({
		            top: '0',
		            left: '0',
		            width: size, /* Set width back to default */
		            height: size /* Set height back to default */
		        }, 200);
    });
});
