
var futura = {  src: DNN_skinPath + 'futura.swf' };
sIFR.activate(futura);

sIFR.replace(futura, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'futura.swf', 
  css: [ '.sIFR-root {color:#B2D7F0;}' ]
});	

sIFR.replace(futura, {
  selector: '#locationsTitle', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'futura.swf', 
  css: [ '.sIFR-root {color:#A2B7C5;}' ]
});	


jQuery(document).ready(function(){
jQuery("#navigation a[href=#]").click(function(){return(false);});
	jQuery("#navigation > 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("#navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});
	
	jQuery("#locations > 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("#locations > ul >li:has(ul)")).bgIframe({opacity:true});
	});


	/* Activate all media */
	jQuery(".media").media();

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	jQuery(".openFairbanks").click(function(){jQuery('#loc li.fairbanksSub').showSuperfishUl(jQuery(".fairbanksSub"));});
	 
	jQuery(".openAnchorage").click(function(){jQuery('#loc li.anchorageSub').showSuperfishUl(jQuery(".anchorageSub"));});

});