//slideshow function for homepage using jQuery Cycle Lite Plugin
$(document).ready(function() {
	$('#photo-image').cycle({
		before: function() {
        $(this).css({left: '50%', marginLeft: -$(this).width()/2});
        $(this).css({top: '50%', marginTop: -$(this).height()/2});
},
		timeout: 6000,	// milliseconds between slide transitions (0 to disable auto advance) 
		speed: 2000,	// speed of the transition (any valid fx speed value)
		pause: 1		// true to enable "pause on hover"
	});
});