jQuery(document).ready(function(){

	jQuery("#menu > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:400,
		animation:{width:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	});
	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	jQuery("#menu > ul >li:has(ul > li)").find("a:first").attr("href", "#");
	jQuery("#menu a[href='#']").click( function(){ return false; });

});

function runJS() {
	var tp = {  src: DNN_skinPath + 'flash/TrajanPro.swf' };
	sIFR.activate(tp);
	sIFR.replace(tp, {
  		selector: 'h1', 
  		wmode: 'transparent', 
  		src:  DNN_skinPath +  'flash/TrajanPro.swf', 
  		css: [ '.sIFR-root {color:#de791c; font-size:30px; font-weight: bold;}'  ]
	});
}
