


jQuery(document).ready(function(){			
jQuery("#topinnermenu a[href='']").click(function(){return false;});

//jQuery("div.sub").fadeTo("0", 0.9);
jQuery("div.sub").hide();
	jQuery("a.active").mouseover(function(){menuShow(this); return(false);});
	
													
jQuery("#dnn_ContentPane").mouseover(function(){
					jQuery("div.active").stop().slideUp("fast").parent().removeClass("topsub");						
 	});

/*menu shimmer*/
jQuery("a.topper, p.callouts a").mouseover( function(){jQuery(this).stop().fadeTo("300", 0.5, function(){jQuery(this).fadeTo("200", 1);});});

jQuery("div.sub a[href *= 'fileticket']").attr("target", "_blank");




});

function menuShow(menuitem){
	jQuery("div.active:not(div.active:eq("+ jQuery("a.active").index(menuitem) + "))").stop().slideUp(400).parent().removeClass("topsub");
	jQuery("div.active:eq("+ jQuery("a.active").index(menuitem) + ")").stop().css("height", "auto").slideDown(500).parent().addClass("topsub");
}


function runSiteScripts(path) {

var GaramondBE = {  src: path + 'GaramondBE.swf' };
sIFR.activate(GaramondBE);
sIFR.replace(GaramondBE, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'GaramondBE.swf', 
  css: [ '.sIFR-root {color:#AD6A1D; }'  ]
});

	

// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}


}
