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();
	});		
	

});
 
function runSiteScripts(path) {
	//here's the sIfr
	//code for the h1 tags
	var Eurostile = {  src: path + 'Eurostile.swf' };
	sIFR.activate(Eurostile);
	sIFR.replace(Eurostile, {
	  selector: 'h1', 
	  wmode: 'transparent', 
	  src:  path +  'Eurostile.swf', 
	  css: [ '.sIFR-root {color:#ffffff; }'  ]
	});
	
	//here's the sIfr
	//code for the h1 tags
	/*var freestylescript = {  src: path + 'freestylescript.swf' };
	sIFR.activate(freestylescript);
	sIFR.replace(freestylescript, {
	  selector: 'p.hometxt', 
	  wmode: 'transparent', 
	  src:  path +  'freestylescript.swf', 
	  css: [ '.sIFR-root {color:#000000; }'  ]
	});*/
}
