$(document).ready(function() {
  // do stuff when DOM is ready

	$('#navigation li').hover(function() {
		$(this).children('a').addClass('hover');
		$(this).children('ul').css("display", "block");
	}, function(){
		$(this).children('a').removeClass('hover');
		$(this).children('ul').css("display", "none");
	});

	$("#news").newsTicker();

	$('#open-sitemap').click(function(){
		$('#sitemap-dropdown').animate({
			top: "0px"
		}, 1000);
	});
    
	$('#close-sitemap').click(function(){
		$('#sitemap-dropdown').animate({
			top: "-340px"
		}, 1000);
	});

	
});