$(document).ready(function(){

	$('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});

	$("#navigation li").hover(showSub,hideSub);
	$("#navigation li").hoverIntent(showSub,hideSub);
	$("#navigation li").hoverIntent({
		sensitivity: 3, 
		interval: 200, 
		over: showSub, 
		timeout: 1000
	});
	
}); 

function showSub(){$(this).addClass("hover"), $(this).children("ul").fadeIn("fast");}
function hideSub(){$(this).removeClass("hover"), $(this).children("ul").fadeOut("fast");}
