
	function toggleService()
	{
		if($('#iNavigationService').css('display') == "none")
		{
			$('#iNavigationService').css('display','block');
			$('#linkService').children(":first").addClass("active");
			$('#l2-decor1').css('display','none');
		}
		 else
		 {
		 	$('#iNavigationService').css('display','none');
		 	$('#linkService').children(":first").removeClass("active");
		 	$('#l2-decor1').css('display','block');
		 }
	}
	
	function showService()
	{
		$('#iNavigationService').stop().animate({"height":"25px"},"fast");
		$('#linkService').children(":first").addClass("active");
	}
	
	function hideService()
	{
		$('#iNavigationService').stop().animate({"height":"0px"},"fast");
		$('#linkService').children(":first").removeClass("active");
	}
	
	function showMenu(id)
	{
		$(".iNavSub").each(function(key,obj)
		{
			if($(obj).attr("id").replace("iNavigationSub","") != id)
			{
				$(obj).animate({height: 0},"fast");
//				$(obj).removeClass("iNavigationSub_active");
//			 	$(obj).addClass("iNavigationSub");
			}
			 else {
			 	$(obj).animate({height: 25},"fast");
//			 	$(obj).removeClass("iNavigationSub");
//			 	$(obj).addClass("iNavigationSub_active");
			 }
		});
	}
	
	$(document).ready(function()
	{
		$("#linkServiceTrigger").mouseenter(function() { showService(); });
		$("#linkServiceTrigger").mouseleave(function() { hideService(); });
		
		$("#mouseoverArea").mouseleave(function()
		{
			$(".iNavSub").each(function(key,obj)
			{
				$(obj).stop().animate({height: 0},"fast");
			});
			
			$(".iNavSubA").stop().animate({height: 25},"fast");
		});
	});
	
	function fadeIn(id)
	{
		$(id).stop().animate({"height":$(id).children(":first").attr("offsetHeight"), "opacity":0.9});
	}
	
	function fadeOut(id)
	{
		$(id).stop().animate({"height":"0px", "opacity":0},"fast");
	}
	
	function hoverme(obj)
	{
		$(obj).addClass("hover");
	}
	
	function unhoverme(obj)
	{
		$(obj).removeClass("hover");
	}
