$(document).ready(function(){

		$(".ul_dropdown").hide();

		$(".li_dropdown").click( function()
		{
			$.each($(".ul_dropdown"),function()
			{
			 	$(this).hide();	
			});
			$(this).children().show();		
		});

		$(".hoofditem").hover(
		 	function()
			{
			  $(this).addClass("hoofditem_hover");
			},

			function()
			{
			  $(this).removeClass("hoofditem_hover");
			});  	
		
		  $('.hoofitem_content').hide();	
		  
		  $.each($(".visited"),function()
			{
			 	$(this).css("display", "block");	
			});

		  $('.hoofditem').click(
		  		function()
				{	
					$.each($(".icon"),function()
					{
					
					});
					
					if($(this).next(".hoofitem_content").css("display") == 'block')
					{
							$(this).next().slideUp("slow");						
					}
					else
					{	
						$.each($(".icon"),function()
						{
					
						});
						$.each($(".hoofitem_content"), function()
							{
							 	$(this).hide();
							});
					
						$(this).next().slideDown("slow");
						$(this).next().css("display", "block");
					}				
				}
			);

			$(".hoofitem_content li").hover(
		 	function()
			{
			  $(this).addClass("hoofitem_content_hover");
			},

			function()
			{
			  $(this).removeClass("hoofitem_content_hover");
			});

});
