	$(function(){
		accordionMenu();
		
		$('#announcements_summary').newsticker({
			news: '.announcement',
			delayTime: 8000
		});
		
			$("#news_summary").easySlider({
			prevText: 'Previous',
			nextText: 'Next',
			firstShow: true,
			lastShow: true,
			vertical: false,
			continuous: true
		});

	});
	
	function accordionMenu() {
		$("#navigation li.activeNav ul").show();

		$("#navigation li span").click(function(){
			var openMenu = $(this).next();
			if(openMenu.is('ul')){
				if(openMenu.is(':visible')){
					return false;
				}
				else{
					$('#navigation ul:visible').slideUp();
					openMenu.slideDown();
					return false;
				}
			}
		});
	}
	
	var technical = { src: '/media/flash/technical.swf'};
    sIFR.useStyleCheck = true;
	sIFR.activate(technical);

	sIFR.replace(technical, {
		selector: 'h2.title, #side h3.title',
		css: [
			'.sIFR-root { color: #009107; font-size:24px; }'
		],
		wmode: 'transparent'
	});	
	
	sIFR.replace(technical, {
		selector: '#navigation li',
		css: [
			'.sIFR-root { color: #584d28; font-size:15px; text-align: center; }',
			'a { color: #584d28; text-decoration: none; }',
			'a:hover { color: #009107; text-decoration: none; }'
		],
		wmode: 'transparent'
	});
	
	sIFR.replace(technical, {
		selector: '#sidebar li',
		css: [
			'.sIFR-root { color: #584d28; font-size:15px; text-align: center; }',
			'a { color: #584d28; text-decoration: none; }',
			'a:hover { color: #b50000; text-decoration: none; }'
		],
		offsetTop: 5,
		wmode: 'transparent'
	});		