

 jQuery(document).ready(function(){
 jQuery("#menu div.abscontainer:last").addClass("last");	
 jQuery("p.active").hide();
	jQuery("p.active").hide();
				
	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) {


//here's the sIfr
//code for the h1 tags
var baskervilleOldFace = {  src: path + 'baskervilleOldFace.swf' };
sIFR.activate(baskervilleOldFace);
sIFR.replace(baskervilleOldFace, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'baskervilleOldFace.swf', 
  css: [ '.sIFR-root {color:#0e7a0b; font-size:25px; }'  ]
});
/*
var zapfino = {  src: path + 'zapfino.swf' };
sIFR.activate(zapfino);
sIFR.replace(zapfino, {
  selector: '.contestTitle', 
  wmode: 'transparent', 
  src:  path +  'zapfino.swf', 
  css: [ '.sIFR-root {color:#083a81; }'  ]
  
});
*/

// 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();};
}
}


}

