jQuery(document).ready(function() {
	jQuery("#slideshow").featuredbox({width: 820,
			height: 284,
			slidesAnimation: "slide-left",
			slidesSpeed: 700,
			descriptionAnimation: "slide-right",
			descriptionSpeed: 1000,
			rotateInterval: 5000});			   
});

function init() {
	jQuery('#testSlideshow blockquote').fadeOut();
	jQuery('#testSlideshow blockquote:first').fadeIn();
}
function slide() {
    var jQuerytop = jQuery('#testSlideshow blockquote:visible');

    var jQuerynext;
	if(jQuerytop.next().length > 0)
		jQuerynext = jQuerytop.next();
	else
        jQuerynext = jQuery('#testSlideshow blockquote:first');

	jQuerytop.fadeOut();
	jQuerynext.fadeIn();
}

jQuery(document).ready(function() {
	init();
    setInterval( "slide()", 5000 );
});
