$(document).ready(function () {
							
$(".fade").hover(function(){
	displayTitle = $(this).attr("title");
	$("#hoverText").html(" | " + displayTitle);
}, function(){
	$("#hoverText").html("");
});

$(".fade a img").addClass("hoverImage");
$(".fade a img").hover(function(){
	$(this).fadeTo(300,1);
}, function(){
	$(this).fadeTo(300,0.8);
});

setTimeout('imageCarousel()', 5000);						

});

function imageCarousel(){
	
	checkLength = $(".ImageCarousel li").length;
	
	if (checkLength != 1) {
		$(".ImageCarousel li:visible").fadeOut(500,function(){
			if($(this).next(":hidden").size() == 0) {
				$(".ImageCarousel li:first-child").fadeIn(500);
			} else {
				$(this).next(":hidden").fadeIn(500);
			}
			setTimeout('imageCarousel()', 5000);												  
		});
	}
}
