//sIFR implementation

var avangrademediumBt = {  src: DNN_skinPath + 'avangrademediumBt.swf' };
sIFR.activate(avangrademediumBt);
sIFR.replace(avangrademediumBt, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'avangrademediumBt.swf', 
  css: [ '.sIFR-root {color:#4ac0b6;font-size:22px;  }'  ]
  
});


	
	
	//Menu implementation	   
jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:1000,
		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("#navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

});


//Menu implementation
/*jQuery(document).ready(function(){
	jQuery('#navigation').accordion({
		active: false,
header: '.menuTitle',
		event: 'click',
		autoheight:false,
		navigation:false,
		showSpeed: 1200,
		hideSpeed: 1400
	});
});*/


