$(function(){
	setupCycles();
});

function setupCycles() {
	// All these measurements are in milliseconds, so 1000 = 1 second.
	var timeout = 4000;	// Time between the fades
	var offset = -3500;	// Time before the 1st fade. Negative to couteract the above.
	var speed = 1000;	// How long to make a fade take.

	$('#slideshow_1').cycle({
		delay: offset,
		speed: speed,
		timeout: timeout
	});
	$('#slideshow_2').cycle({
		delay: offset + 250,
		speed: speed,
		timeout: timeout
	});
	$('#slideshow_3').cycle({
		delay: offset + 500,
		speed: speed,
		timeout: timeout
	});
}

