//jQuery(document).ready(function(){
//
//    jQuery('#cargando').ajaxStart(function() {
//        jQuery(this).show();
//    });
// 
//
//    jQuery('#cargando').ajaxError(function(e, xhr, opts, error) {
//        alert('La petición a la página ' + opts.url + ' ha devuelto el siguiente error: ' + xhr.status + ' - ' + error);
//    });
// 
//
//    jQuery('#cargando').ajaxStop(function() {
//        jQuery(this).hide();
//    });
// 
//
//    jQuery('.ajax').live('click', function(){
// 
//        jQuery('#notirapidas').load(this.href , 'ajax=true');
//        return false;
// 
//    });
// 
//});

$(document).ready(function(){
    $('.ajax').bind('click',function(evento){
        evento.preventDefault();
        $("#cargando").css("display", "inline");
        $('#notirapidas').load(this.href,function(){
            $("#cargando").css("display", "none");
        })
    })
})

$(document).ready(function(){
//Full Caption Sliding (Hidden to Visible)
    $('.boxgrid.captionfull').hover(function(){
	$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
	}, function() {
            $(".cover", this).stop().animate({top:'260px'},{queue:false,duration:160});
	});				
});


