jQuery(document).ready(function(){			

 jQuery("#innermenu div.abscontainer:first").addClass("first");	
  jQuery("a.active").click(function(){return(false);});	
  jQuery("p.active").hide();	
 
 
 //open active sub
 //jQuery("#menu a.activepage").parent().stop().slideDown("slow");



	jQuery("a.active").mouseover(function(){
					jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").stop().slideUp("slow");
					jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").stop().css("height","auto").slideDown("slow");
				
								
 	});

jQuery("#dnn_ContentPane, a.empty").mouseover(function(){jQuery("p.active").stop().slideUp("slow");});

jQuery("p.active a").mouseover( function(){jQuery(this).stop().fadeTo("fast", 0.6, function(){jQuery(this).fadeTo("slow", 1);});});

 });


function runSiteScripts(path) {
//here's the sIfr
var tekton = {  src: path + 'tekton.swf' };
sIFR.activate(tekton);
sIFR.replace(tekton, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'tekton.swf', 
  css: [ '.sIFR-root {color:#3F1D74; font-size:26px; }'  ]
});

	
// 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();};
}
}


}
