//activates the sIFR3
var pageHeader = {src:'trajanX.swf'};
sIFR.activate(pageHeader);

sIFR.replace(pageHeader, {
  selector:'h1', 
  wmode:'transparent', 
  src:'trajanX.swf', 
  css:['.sIFR-root {color:#2B4292; font-weight:bold;}' ]
});




//start jQuery functions
$(document).ready(function(){
	
	$("#nav")
	.superfish({
		hoverClass	: "sfHover",
		pathClass	: "overideThisToUse",
		delay		: 500,
		animation	: {opacity:"show",height:"show"},
		speed		: "normal",
		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(){}
	})
	
	.find("#nav>li:has(ul)") //fixes ie6 bug
		.mouseover(function(){$("ul", this).bgIframe({opacity:true});})
		.find("a").focus(function(){$("ul", $("#nav>li:has(ul)")).bgIframe({opacity:true});});
		
	// remove box from links
	$("a").focus(function(){this.blur();});
	
});