


 jQuery(document).ready(function(){			

 jQuery("#menu div.abscontainer:last").addClass("last");	
  jQuery("#menu p").each(function(){
								  jQuery(this).children("a:last").addClass("sublast");
								  jQuery(this).children("a:first").addClass("subfirst");								  
								  });
 jQuery("p.active").hide();

/*
 jQuery("a.active").click(function(){
					jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").hide();
					jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").show();
					return(false);
				
								
 	}); 
*/
	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) + ")").show();
				
								
 	});
jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
					jQuery("p.active").hide();
								
 	});/*	*/
 });


function runSiteScripts(path) {
var pl1 = new Image();
pl1.src = path + "sub_top.png";
var pl2 = new Image();
pl2.src = path + "sub_top.png";
 
// 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();};
}
}


}