jQuery(document).ready(function(){

	jQuery("#menu div.abscontainer:last").addClass("last");
 	jQuery("p.active").hide();
	jQuery("a.active").mouseover(function(){
		jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").hide();
		jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").slideDown();
	});
	
	jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
		jQuery("p.active").hide();
	});
	
	jQuery('p.sub').each(function() {
		jQuery(this).children(':last').addClass('last');
	});
	
 });
 
 
function runSiteScripts(path) {
	//here's the sIfr
	//code for the h1 tags
	var MonotypeCorsiva = {  src: path + 'MonotypeCorsiva.swf' };
	sIFR.activate(MonotypeCorsiva);
	sIFR.replace(MonotypeCorsiva, {
	  selector: 'h1', 
	  wmode: 'transparent', 
	  src:  path +  'MonotypeCorsiva.swf', 
	  css: [ '.sIFR-root {color:#000000; }'  ]
});
}

