 jQuery(document).ready(function(){			

 jQuery("#innermenu div.abscontainer:first").addClass("first");	
  jQuery("a.active").click(function(){return(false);});	
  jQuery("#innermenu p").each(function(){
								  jQuery(this).children("a:last").addClass("sublast");
								  jQuery(this).children("a:first").addClass("subfirst");								  
								  });
 jQuery("p.active").css("width", "0");


	jQuery("a.active").mouseover(function(){
					jQuery("p.active:not(p.active:eq("+ jQuery("a.active").index(this) + "))").addClass("receding").stop().animate({width : "0"}, 400).parent().addClass("receding");
					jQuery("p.active:eq("+ jQuery("a.active").index(this) + ")").removeClass("receding").stop().animate({width : "250px"}, 700).parent().removeClass("receding");
				
								
 	});
jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
					jQuery("p.active").addClass("receding").stop().animate({width : "0"}, 400).parent().addClass("receding");
								
 	}); 

		/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});

 });

var trajanpro = {  src: DNN_skinPath+'trajanpro.swf' };
sIFR.activate(trajanpro);
sIFR.replace(trajanpro, {
  selector: '.footeraddress', 
  wmode: 'transparent',
  src: DNN_skinPath+'trajanpro.swf',
  css: [
      '.sIFR-root {color:#EEA927; text-align: center; font-weight: bold;}',
	  '.sIFR-root a {color:#EEA927; text-align: center; font-weight: bold; text-decoration: none;}',
	  '.sIFR-root a:hover {color:#004883; text-align: center; font-weight: bold; text-decoration: none;}'
    ]
});


var trajanpro4 = {  src: DNN_skinPath+'trajanpro4.swf' };
sIFR.activate(trajanpro4);
sIFR.replace(trajanpro4, {
  selector: 'h1', 
  wmode: 'transparent',
  src: DNN_skinPath+'trajanpro4.swf',
  css: [
      '.sIFR-root {color:#7AC043; text-align: left; font-weight: bold;}'
    ]
});

function runSiteScripts(path) {

// 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();};
}
}


}