

jQuery(document).ready(function(){			



jQuery("#leftmenu div.sub").hide();
	jQuery("#leftmenu a.active").click(function(){menuShow(this); return(false);});
													
jQuery("#dnn_ContentPane").mouseover(function(){
					jQuery("#leftmenu div.active").stop().slideUp("fast").parent().removeClass("topsub");						
 	});
});

function menuShow(menuitem){
	jQuery("#leftmenu div.active:not(div.active:eq("+ jQuery("#leftmenu a.active").index(menuitem) + "))").stop().slideUp(900).parent().removeClass("topsub");
	jQuery("#leftmenu div.active:eq("+ jQuery("#leftmenu a.active").index(menuitem) + ")").stop().css("height", "auto").slideDown(900).parent().addClass("topsub");
}
 
 
/*
function runSiteScripts(path) {


//here's the sIfr
//code for the h1 tags
var copperPlateGothicLight = {  src: path + 'copperPlateGothicLight.swf' };
sIFR.activate(copperPlateGothicLight);
sIFR.replace(copperPlateGothicLight, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'copperPlateGothicLight.swf', 
  css: [ '.sIFR-root {color:#b5887b; }'  ]
});

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();};
}
}


}
*/