/*
 * Superfish - jQuery menu widget
 *
 * Copyright (c) 2007 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 */
(function($){$.fn.superfish=function(o){var b={hoverClass:"sfHover",delay:500,animation:{opacity:"show"},speed:"normal"},over=function(){var a=$(this);clearTimeout(this.sfTimer);if(!a.is("."+o.hoverClass)){a.addClass(o.hoverClass).find("ul").animate(o.animation,o.speed).end().siblings().removeClass(o.hoverClass)}},out=function(){var a=$(this);this.sfTimer=setTimeout(function(){a.removeClass(o.hoverClass).find("iframe",this).remove()},o.delay)};o=$.extend(b,o||{});var c=$("li",this).hover(over,out).find("a").each(function(){var a=$(this),$li=a.parents("li");a.focus(function(){$li.each(over)}).blur(function(){$li.each(out)})}).end();$(window).unload(function(){c.unbind("mouseover").unbind("mouseout")});return this}})(jQuery);