//sIFR implementation
var Fritz = {  src: DNN_skinPath+'Fritz.swf' };
sIFR.activate(Fritz);

sIFR.replace(Fritz, {
  selector: '.sIFR', 
  wmode: 'transparent', 
  src: DNN_skinPath+'Fritz.swf', 
  css: [ '.sIFR-root {color:#4A5689;font-size:24px;}'
	   ]
});

//Menu implementation
jQuery(document).ready(function(){

	jQuery("#MainManu > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#MainManu > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
		jQuery("#MainManu79 a").each(function() {
		 newwindow = "_blank";
		 jQuery(this).attr("target", newwindow);
	});

});
