
	$(document).ready(function() {
		
		    $("ul li",".menu").hover(
		        function(){
					
					hideActiveDiv();	
					$("ul", this).show();
					//window.clearTimeout(hoverTimer); 
				}, 
		        function() {
					_activeItem = $("ul", this);
					hideActiveDiv();
					//hoverTimer = window.setTimeout("hideActiveDiv()",1000);
				}
		    );

			$.fn.hoverClass = function(c) { 
			
				this.each(function(){
					
					$(this).mouseover(
								  function(){ $(this).addClass(c); }
								  ).
					mouseout(
								function(){ $(this).removeClass(c); }
							);
					return false;
						 
			   });
			/*
				return this.each(function(){
				     $(this).hover( 
				        function() {  $(this).addClass(c);  },
				        function() { $(this).removeClass(c); }
				    );
				}); */
			};

			if (document.all) {
				$("ul li",".menu").hoverClass("hover");
		    }

		
	});

