$().ready(function() {

	$("ul.nav").superfish({
		hoverClass	: "sfHover",
		pathClass	: "overideThisToUse",
		delay		: 1,
		animation	: { opacity:"show", height: "show" },
		speed		: "fast",
		oldJquery	: false, /* set to true if using jQuery version below 1.2 */
		disableHI	: false, /* set to true to disable hoverIntent detection */
		onInit		: function(){},
		onBeforeShow	: function(){},
		onShow		: function(){},
		onHide		: function(){}
	}).supposition().find(">li:has(ul)")
		.mouseover(function(){
			$("ul", this).bgiframe({width:100});
		})
		.find("a")
			.focus(function(){
				$("ul", $(".nav>li:has(ul)")).bgiframe({width:'180px',height:'200px',top:'0px',left:'0px'});
			});
});