jQuery(document).ready(function(){			


jQuery("#innermenu div.abscontainer:first").addClass("first");	
  jQuery("a.active").click(function(){return(false);});	
  jQuery("div.sub").hide();	
  jQuery("div.sub").each(function(){
								  jQuery(this).children("a:last").addClass("sublast");
								  jQuery(this).children("a:first").addClass("subfirst");			
								  });
 
 //open active sub
 //jQuery("#menu a.activepage").parent().stop().slideDown("slow");



jQuery("a.active").mouseover(function(){
					jQuery("div.active").not(this).hide();
					jQuery("div.active:eq("+ jQuery("a.active").index(this) + ")").show();
				
								
 	});
jQuery("#dnn_ContentPane,a.empty, #sidebar").mouseover(function(){
					jQuery("div.active").hide();
								
 	}); 

/*flashing
jQuery("p.active a").mouseover( function(){jQuery(this).stop().fadeTo("fast", 0.6, function(){jQuery(this).fadeTo("slow", 1);});});*/

 });


function runSiteScripts(path) {

	
// 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();};
}
}


}
