//sIFR implementation

//sIFR implementation
function pageScripts() {
var palacescript = {  src: DNN_skinPath + 'verdana.swf' };
sIFR.activate(palacescript);
sIFR.replace(palacescript, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  DNN_skinPath +  'verdana.swf', 
  css: [ '.sIFR-root {color:#000000;font-size:24px;}'  ]
  
  
});
}


/*Menu implementation*/
jQuery(document).ready(function(){			

 jQuery("#innermenu div.abscontainer:first").addClass("first");	
  jQuery("a.active").click(function(){return(false);});	
  jQuery("p.active").hide();	
 				jQuery("#menu p.active a").each( function(){jQuery(this).prepend("<span>[ </span>").append("<span> ]</span>")});
 
 //open active sub
 //jQuery("#menu a.activepage").parent().stop().slideDown("slow");



	jQuery("a.active").mouseover(function(){
					jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").stop().slideUp("slow");
					jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").stop().css("height","auto").slideDown("slow");

								
 	});

jQuery("#dnn_ContentPane, a.empty").mouseover(function(){jQuery("p.active").stop().slideUp("slow");});

//jQuery("p.active a").mouseover( function(){jQuery(this).stop().fadeTo("fast", 0.6, function(){jQuery(this).fadeTo("slow", 1);});});

 });
