jQuery(document).ready(function(){
	
	jQuery("#navigationHome > 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("#navigationHome > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

});

/*sIFR*/
var arnoprobevel = {  src: DNN_skinPath + 'arnoprobevel.swf' };
sIFR.activate(arnoprobevel);

sIFR.replace(arnoprobevel, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'arnoprobevel.swf', 
  css: [ '.sIFR-root {color:#bb8c4a;}' ]
});


var arnoEXT = {  src: DNN_skinPath + 'arnoEXT.swf' };
sIFR.activate(arnoEXT);

sIFR.replace(arnoEXT, {
  selector: '#invis', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'arnoEXT.swf', 
  css: [ '.sIFR-root {color:#bb8c4a;}' ]
});	

var arnoprobevel = {  src: DNN_skinPath + 'arnoprobevel.swf' };
sIFR.activate(arnoprobevel);

sIFR.replace(arnoprobevel, {
  selector: '#locationTitle', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'arnoprobevel.swf', 
  css: [ '.sIFR-root {color:#bb8c4a; text-align: center;}' ]
});	

var perpetua = {  src: DNN_skinPath + 'perpetua.swf' };
sIFR.activate(perpetua);

sIFR.replace(perpetua, {
  selector: '.address, .addressName', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'perpetua.swf', 
  css: [ '.sIFR-root {color:#6F5427; text-align: right;}' ]
});	