       	$(document).ready(function(){
       		$("#steder").css('display','none');
       		$("#categories").css('display','none');
        	var config = {    
					     sensitivity: 7, // number = sensitivity threshold (must be 1 or higher)    
					     interval: 200, // number = milliseconds for onMouseOver polling interval    
					     over: function() {$("ul", this).fadeIn("fast");}, // function = onMouseOver callback (REQUIRED)    
					     timeout: 500, // number = milliseconds delay before onMouseOut    
					     out: function() { $("ul", this).fadeOut("fast"); } // function = onMouseOut callback (REQUIRED)    
					};
				
					$("#nav-one").hoverIntent( config );
					
            $("#nav-one li").click(
                function() { $("ul", this).fadeIn("fast");  }, 
                function() { $("ul", this).fadeOut("fast"); } 
            );

            //if (document.all) {
            //    $("#nav-one li").hoverClass("sfHover");
            //}
        //});
        
       
        $.fn.hoverClass = function(c) {
            return this.each(function(){
                $(this).hover( 
                    function() { $(this).addClass(c);  },
                    function() { $(this).removeClass(c); }
                );
            });
        };
        
      });
