 jQuery(document).ready(function(){			

 jQuery("#menu div.abscontainer:last").addClass("last");	
 jQuery("#menu div.abscontainer:first").addClass("first");	
 
 
 jQuery("p.active").hide();
 jQuery("a.topper span").hover(function(){jQuery(this).addClass("hovered");},function(){jQuery(this).removeClass("hovered");});
 jQuery("a.active").click(function(){
					jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").slideUp("fast");
					jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").css("height","auto").slideDown("slow");
					return(false);
				
								
 	}); 
jQuery("#dnn_ContentPane,#smallmenu a.empty").mouseover(function(){
					jQuery("p.active").stop().slideUp("fast");
								
 	}); 
 });


function runSiteScripts(path) {
//here's the sIfr
//code for the h1 tags
var bradleyhand = {  src: path + 'bradleyhand.swf' };
sIFR.activate(bradleyhand);
sIFR.replace(bradleyhand, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'bradleyhand.swf', 
  css: [ '.sIFR-root {color:#0062A6; }'  ]
});	
	
	
// 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();};
}
}


}