
jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"fast",
		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});
	});


	/* PNG fix */
	jQuery(document).pngFix();

	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	 jQuery("#navigation >ul >li").hover(
		function(){
		 jQuery("> a", this).append('<a class="media {width:115, height:100, params:{wmode:\'transparent\'}, bgColor:\'transparent\'}"  href="/Portals/_default/Skins/siteSkin/bubbles.swf" id="bubbles"> </a>').find('.media').media();
		},function(){
			jQuery("> a", this).find('#bubbles').remove();
		});
			
	
});

	//here's the sIfr
var centaur = {  src: DNN_skinPath+'garamond.swf' };
sIFR.activate(centaur);

sIFR.replace(centaur, {
  selector: '.pageTitles', 
  wmode: 'transparent', 
  src:DNN_skinPath+'garamond.swf', 
  css: [ '.sIFR-root { color:#043965; }'  ]
});