jQuery(document).ready(function(){

	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});
	});

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	jQuery("#navigation154 a").attr("target","_blank");
	
	


});

var avianbold = {  src: DNN_skinPath+'avianbold.swf' };
sIFR.activate(avianbold);

sIFR.replace(avianbold, {
  selector: 'h1', 
  wmode: 'transparent',
  src: DNN_skinPath+'avianbold.swf',
  css: [
      '.sIFR-root {color:#000000;}'
    ]
});

sIFR.replace(avianbold, {
  selector: '.contactgreen', 
  wmode: 'transparent',
  src: DNN_skinPath+'avianbold.swf',
  css: [
      '.sIFR-root {color:#222F15; text-align: center;}'
    ]
});

sIFR.replace(avianbold, {
  selector: '.contactwhite', 
  wmode: 'transparent',
  src: DNN_skinPath+'avianbold.swf',
  css: [
      '.sIFR-root {color:#ffffff; text-align: center;}'
    ]
});

var avian = {  src: DNN_skinPath+'avian.swf' };
sIFR.activate(avian);
sIFR.replace(avian, {
  selector: '.location', 
  wmode: 'transparent',
  src: DNN_skinPath+'avian.swf',
  css: [
      '.sIFR-root {color:#ffffff; text-align: center;}'
    ]
});

sIFR.replace(avian, {
  selector: '.number', 
  wmode: 'transparent',
  src: DNN_skinPath+'avian.swf',
  css: [
      '.sIFR-root {color:#E3EAA4; text-align: center;}'
    ]
});
