//activates the sIFR3
var pageHeader = {src:'trajan.swf'};
sIFR.activate(pageHeader);

sIFR.replace(pageHeader, {
  selector:'h1', 
  wmode:'transparent', 
  src:'trajan.swf', 
  css:['.sIFR-root {color:#830800; font-weight:bold;}' ]
});




//start jQuery functions
$(document).ready(function(){
	/*----- Navigation ------*/
	$('#nav').accordion({
		active: false,
		header: '.menuTitle',
		event: 'click',
		alwaysOpen: false,
		autoheight:false,
		navigation:true,
		animated: 'bounceslide',
		showSpeed: 400,
		hideSpeed: 800
	});
	
	/* adjusts css*/
	$("#nav>li:last").css("margin-bottom","0px");
	
	/* remove box from links */
	$("a").focus(function(){
		this.blur();
	});
	
	/*/ create the titles for links from text /*/
	$('a').each(function() {
		var title = $(this).text();
		$(this).attr('title', title);
	});

	
});
