//Function for making Emory Utility Nav -- replaces YUI mousein/mouseout calls
(function($){
	$.fn.extend({
	//plugin name - emoryMenu
		emoryMenu: function(options) {
			return this.each(function() {
				//Assign current element to variable, in this case is UL element
				var obj = $(this);
 
				$("li", obj).each(function(i) {
					$(this).css('position', 'absolution');
							})
				$("li", obj).hover(
					function () { 
							$(this).addClass('active');
							$(this).find("a.utilLink").addClass('active');
							$(this).find("div.flyOut").slideDown('fast').show();
						    }
						    ,
					function () { 
							$(this).removeClass('active');
							$(this).find("a.utilLink").removeClass('active');
							$(this).find("div.flyOut").hide(); 
						    }
						);
 
			});
		}
	});
})(jQuery);
