var tw_cen_mt_con = {  src: DNN_skinPath + 'tw_cen_mt_con.swf' };
sIFR.activate(tw_cen_mt_con);
sIFR.replace(tw_cen_mt_con, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath + 'tw_cen_mt_con.swf', 
  css: [ '.sIFR-root {color:#ffffff;}'  ]
});

 jQuery(document).ready(function(){
jQuery("p.active").slideUp();
	jQuery("p.active").hide();
	jQuery("p.active").css("left", (document.getElementById("menu").offsetWidth) - 908 );				
	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").slideUp();
								
 	});
 });

function runSiteScripts(path) {


//here's the sIfr
//code for the h1 tags


var sshow = new SWFObject(path + "o-a.swf", "slideshow", "392", "327", "6", "#000000");
    sshow.addParam("wmode", "transparent");
	sshow.write("photoflash");
	
	
var sshow2 = new SWFObject(path + "o-a_top2.swf", "slideshow", "500", "110", "6", "#000000");
    sshow2.addParam("wmode", "transparent");
	sshow2.write("topflash");

// 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();};
}
}


}