	$(document).ready(function(){
		$("#menu1h").hover(
			function() {
				$("#menu1").fadeIn();
			},
			function() {
				$("#menu1").fadeOut();
			}
		);
		
		$("#menu2h").hover(
			function() {
				$("#menu2").fadeIn();
			},
			function() {
				$("#menu2").fadeOut();
			}
		);
		
		$("#menu3h").hover(
			function() {
				$("#menu3").fadeIn();
			},
			function() {
				$("#menu3").fadeOut();
			}
		);
		
		$("#menu4h").hover(
			function() {
				$("#menu4").fadeIn();
			},
			function() {
				$("#menu4").fadeOut();
			}
		);
		
		$("#menu5h").hover(
			function() {
				$("#menu5").fadeIn();
			},
			function() {
				$("#menu5").fadeOut();
			}
		);
		
		$("#menu6h").hover(
			function() {
				$("#menu6").fadeIn();
			},
			function() {
				$("#menu6").fadeOut();
			}
		);
			
		$("#smenu1h").hover(
			function() {
				$("#smenu1").fadeIn();
			},
			function() {
				$("#smenu1").fadeOut();
			}
		);
		
		$("#smenu2h").hover(
			function() {
				$("#smenu2").fadeIn();
			},
			function() {
				$("#smenu2").fadeOut();
			}
		);
		
		$("#smenu3h").hover(
			function() {
				$("#smenu3").fadeIn();
			},
			function() {
				$("#smenu3").fadeOut();
			}
		);

		$("#box1h").hover(
			function() {
				$("#box1").fadeIn();
				//$("#text_box1").show("slide", { direction: "right" }, 500);
			},
			function() {
				$("#box1").fadeOut();
				//$("#text_box1").hide("slide", { direction: "right" }, 500);
			}
		);
		
		$("#box2h").hover(
			function() {
				$("#box2").fadeIn();
				//$("#text_box2").show("slide", { direction: "right" }, 500);
			},
			function() {
				$("#box2").fadeOut();
				//$("#text_box2").hide("slide", { direction: "right" }, 500);
			}
		);
		
		$("#box3h").hover(
			function() {
				$("#box3").fadeIn();
				//$("#text_box3").show("slide", { direction: "right" }, 500);
			},
			function() {
				$("#box3").fadeOut();
				//$("#text_box3").hide("slide", { direction: "right" }, 500);
			}
		);
		
		$("#menu2h").click(function () {
		  if ($("#submenu1").is(":hidden")) {
			$("#submenu2").slideUp(500,function(){
				$("#submenu1").slideDown(500);
			});
		  } else {
			$("#submenu1").slideUp(500);
			$("#submenu2").slideUp(500);
		  }
		});
		$("#menu3h").click(function () {
		  if ($("#submenu2").is(":hidden")) {
			$("#submenu1").slideUp(500,function(){
				$("#submenu2").slideDown(500);
			});
		  } else {
			$("#submenu2").slideUp(500);
			$("#submenu1").slideUp(500);
		  }
		});
	});
