
function swap(){
    
    var active = jQuery(".head-img .active_image");
    var next = (jQuery(".head-img .active_image").next().length > 0) ? jQuery(".head-img .active_image").next() : jQuery(".head-img img:first");
     
    active.fadeOut('fast', function(){
      active.removeClass("active_image");
      next.fadeIn('slow').addClass("active_image");
    });
    
}


jQuery(document).ready(function($){
    
    $('.image_disable').removeClass('image_disable');

    $('.slideshow').innerfade({
				animationtype: 'fade',
				speed: 1000,
				timeout: 15000,
				type: 'sequence',
				containerheight: 'auto'
			});

    //setInterval("swap()", 15000);

});

