$(function() { 
    $('.slideshow').cycle({ 
        fx:     'fade', 
		speed:    200, 
		timeout:  4000 
    }); 
});     
 
function calculateTimeout(currElement, nextElement, opts, isForward) { 
    // here we set even number slides to have a 2 second timeout; 
    // by returning false for odd number slides we let those slides 
    // inherit the default timeout value (4 sec) 
    var index = opts.currSlide; 
    return index % 2 ? 2000 : false; 
} 
    
