/***	@nameFish*	@description Suckerfish plugin for jQuery*	@author Trey Shugart*	@date 2008-02-10*	@copyright Copyright 2008 Trey Shugart*	@license GNU GPL (http://www.gnu.org/licenses/gpl.html)**	This plugin is designed to make the Suckerfish method for CSS*	cross browser compatible (ahem... IE6). As long as your CSS*	code is cross-browser compliant and you have set the appropriate*	'hover' class (i.e. .sfHover) for Fish to use, all you will need is:*	@example*		jQuery(document).ready(function() {*			$([selector for parent menu]).fish();*		});*	and thats it!*/(function($) {	$.fish = {};	$.fish.opt = {		sfHover: 'sfHover',		animate: false	};		$.fn.fish = function(o) {		var $$ = $(this);				// set defaults		if (typeof(o) !== 'undefined') {			for (i in o) {				$.fish.opt[i] = o[i];			}		}				// if we are to animate, do that...		// ...if not, then just apply the hover class for IE6 as other browser should be alright if the CSS is correct		if (getOpt('animate')) {			alert('Animation not functional yet. Bummer :(');		} else if ($.browser.msie && parseInt($.browser.version) === 6) {			var lis = $$.find('li:has(ul)');			lis.each(function() {				var li = $(this);				$(this).hover(function() {					li.addClass(getOpt('sfHover'));				}, function() {					li.removeClass(getOpt('sfHover'));				});			});		}	};			getOpt = function(option) {		return $.fish.opt[option];	};})(jQuery);