jQuery(document).ready(function($) {
	$('#multi-sidebar').tabs();
  $('#controls').fadeIn(); //moved from hover() so the controls start 'on'
	
	$('#commentform').validate();
	$('.featured').hover( 
		function() {
			$('#featured-slideshow').cycle('pause');
		}, 
		function() {
			$('#featured-slideshow').cycle('resume');
			//$('#controls').fadeOut();
		}
	);
	$('#featured-slideshow').cycle({
		fx: 'fade',
		speed: 250,
		next: '#controls .next',
		prev: '#controls .prev',
		timeout: 8000
	});
});