$(document).ready(function(){
  var $imagenes = $('#slideshow IMG');
  $imagenes.css({ opacity:0.0});
  slideSwitch()
});

function slideSwitch() {
    var $active = $('#slideshow IMG.active');

    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');

    var $next =  $active.next().length ? $active.next()
        : $('#slideshow IMG:first');
    $active.css({opacity:0.0});        
    $active.addClass('last-active');
/* Las añadí     
    $('#slideshow').css({'width':{$next.width},'height':{$next.height}});
    */

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 3000 );
});


 $(document).ready(function(){  
    //Full Box Sliding (Hidden to Visible)  
 $('.block').hover(function(){  
      $(".cover", this).stop().animate({top:'200px'},{queue:false,duration:160});  
      }, function() {  
      $(".cover", this).stop().animate({top:'295px'},{queue:false,duration:160});  
      });  
  }); 
