$(function() {
    // run the code in the markup!
	$('#pics').cycle({ 
		fx:     'fade', 
		speed:   500, 
		timeout: 4000, 
		next:   '#pics', 
		pause:   1 
	});
});