jQuery(document).ready(function(){

	//jQuery("div.sub").fadeTo("0", 0.9);
	jQuery("p.sub").hide();
		jQuery("a.active").mouseover(function(){menuShow(this); return(false);});
													
	jQuery("#dnn_ContentPane").mouseover(function(){
		jQuery("p.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("p.active:not(div.active:eq("+ jQuery("a.active").index(menuitem) + "))").stop().hide();
	jQuery("p.active:eq("+ jQuery("a.active").index(menuitem) + ")").stop().css("height", "auto").slideDown(500).parent().addClass("topsub");
}



 
function runSiteScripts(path) {
	//here's the sIfr
	//code for the h1 tags
	var SharkRandomFunny_DropShadow = {  src: path + 'SharkRandomFunny_DropShadow.swf' };
	sIFR.activate(SharkRandomFunny_DropShadow);
	sIFR.replace(SharkRandomFunny_DropShadow, {
	  selector: 'h1', 
	  wmode: 'transparent', 
	  src:  path +  'SharkRandomFunny_DropShadow.swf', 
	  css: [ '.sIFR-root {color:#ffffff; }'  ]
});
}


