	
	jQuery().ready(function(){
		jQuery('.PageContent').accordion({header: '.PageEntryWrapperTop',autoheight: false,clearStyle: true,collapsible: true,active: false,alwaysOpen: false });
	});

	
	$(document).ready(function()
	{
		$(".LeftContentMenuButtonOverlay").css("opacity","0");
		$(".LeftContentMenuHighButtonOverlay").css("opacity","0");
		$(".SubMenu").css("opacity","0");
		
		
		$(".SubmenuLink").hover(	
		function () {
			$(this).stop().animate({"left": "15px"});
		},
		
		function () {
			$(this).stop().animate({"left": "0px"});
		});	
		
		$(".MainLink").click
		(
		
		function () {
			$(".SubMenuStreacher").stop().animate({"height":"0"},500);
			$('.SubMenu').stop().animate({"opacity":"0"});
		
			
			iMenuHeight=$('#SubMenu'+$(this).attr('id')).height();
			$('#SubMenuStreacher'+$(this).attr('id')).stop().animate({"height": iMenuHeight},500);
			$('#SubMenu'+$(this).attr('id')).stop().animate({"opacity":"1"},500);
		}
		
		
		);	
		
		
		$(".MainLink").hover(
		
		function () {
			$("#ButtonAnimation"+this.id).stop().animate({
				opacity: 1
			}, "slow");
		},
		
		function () {
			$("#ButtonAnimation"+this.id).stop().animate({
				opacity: 0
			}, "slow");
		});
		
		
		$(".LeftContentMenuHighButtonOverlay").hover(
		
		function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
	
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
		
		
		$(".LeftContentMenuButtonOverlay").hover(
		
		function () {
			$(this).stop().animate({
				opacity: 1
			}, "slow");
		},
	
		function () {
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
		
	});
	

	


