	$(document).ready(function(){
			

			$("#page").stop(true, true).mouseleave(function() {
				$('.subCat').hide();
			});
			
			
			$("#root1").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(500);$('.subCat').show();$('.overlay').show(); 			
			});

						
			$("#root2").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(350);$('.subCat').show();$('.overlay').show(); 			
			});
			

			$("#root3").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(450);$('.subCat').show();$('.overlay').show(); 			
			});
			
			
			$("#root4").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(260);$('.subCat').show();$('.overlay').show(); 			
			});

	
			$("#root5").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(210);$('.subCat').show();$('.overlay').show(); 			
			});
			

			$("#root6").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(310);$('.subCat').show();$('.overlay').show(); 			
			});
			

			$("#root7").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(420);$('.subCat').show();$('.overlay').show(); 			
			});
			

			$("#root8").stop(true, true).mouseenter(function() {
	    		$(".flyout").height(400);$('.subCat').show();$('.overlay').show();			
			});
			
	
			$("#cleanerhead").stop(true, true).mouseenter(function() {
				$('.subCat').hide();
			});


			$("#flyout").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			
			$('.subcdiv1').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});

			
			$('.subcdiv2').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			$('.subcdiv3').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});

			
			$('.subcdiv4').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			$('.subcdiv5').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});

			
			$('.subcdiv6').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			
			$('.subcdiv7').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});

			
			$('.subcdiv8').click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			// hide flyout & subcats on menu item click
			
			$("#root1").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			$("#root2").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			$("#root3").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
						
			$("#root4").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
						
			$("#root5").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
						
			$("#root6").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
						
			$("#root7").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
			$("#root8").click(function() {
				$(".flyout").height(0);$('.subCat').hide();
			});
			
	
		}); 
		
		
		
		
		// W3C Friendly External Links Function 
		
		 $(document).ready(function(){
			  $('A[rel="_blank"]').each(function(){
				   $(this).attr('target', '_blank');
			  });
		 });

