var menu = {
		init: function(){
			// extend jquery hoverClass 
			jQuery.fn.hoverClass = function(c){
				return this.each(function(){
					jQuery(this).hover(function(){
						jQuery(this).addClass(c);
					}, function(){
						jQuery(this).removeClass(c);
					});
				});
			};
			
			// main menu
			jQuery("#dropdown li").hover(function(){
				jQuery("ul li", this).show();
			}, function(){
				jQuery("ul li", this).css("display", "none");
			});
			
			if (document.all) {
				jQuery("#dropdown li").hoverClass("sfHover");
			};
		}
}
  
jQuery.noConflict(); 
jQuery(document).ready(function(){
	menu.init();
});