jQuery(document).ready(function(){			
jQuery("#menu a.topper:not(a.topper:first)").before("<span class='divider'></span>");

jQuery("#menu div.sub").hide();
	jQuery("#menu a.active").click(function(){menuShow(this); return(false);});

 });

function menuShow(menuitem){
	jQuery("#menu div.active:not(div.active:eq("+ jQuery("#menu a.active").index(menuitem) + "))").stop().slideUp(550);
	jQuery("#menu div.active:eq("+ jQuery("#menu a.active").index(menuitem) + ")").stop().css("height", "auto").slideDown(550);
}


 /*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 SpringLP = {  src: path + 'SpringLP.swf' };
sIFR.activate(SpringLP);
sIFR.replace(SpringLP, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'SpringLP.swf', 
  css: [ '.sIFR-root {color:#FF9A02; }'  ]
});
/*
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; }'  ]
  
});
*/


}

