//Functionality for slideshow
$(document).ready(function() {
	$('.slideshow').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout: 6000,
		next: '#next',
		prev: '#prev',
		pause: 1,
	});
	$('#pause').click(
	function(){
		$('.slideshow').cycle('pause');
	},
	function(){
		$(this).css('background-color', '#000');
	});	
	$('#resume').click(function(){$('.slideshow').cycle('resume');});
});

$(document).ready(function(){
	//To switch directions up/down and left/right just place a "-" in front of the top/left attribute

	//Full Caption Sliding (Hidden to Visible)
	$('.boxgrid.captionfull').hover(function(){
		$(".cover", this).stop().animate({top:'580px'},{queue:false,duration:200});
	}, function() {
		$(".cover", this).stop().animate({top:'600px'},{queue:false,duration:800});
	});
});


