$(document).ready(function() {
	try{$('ul.masthead-nonflash-nav').tabs();}catch(e){}
	try{
		$(".fundhighlights").accordion({
			autoHeight: true,
			header: 'a.fhhead',
			event: "mouseover"
		});
	}
	catch(e){}
	try{
		$(".interview").accordion({
			autoHeight: false,
			header: 'span.ifmhead',
			event: "click",
			change: function(event, ui) {  $('.triangle').maphilight(); }
		});
	}
	catch(e){}
	
	try {$("span#one").hover(
			function () {
					$('span#one h3 a').addClass('hover');
					$('span#one p a').addClass('hover');
			}, 
			function () {
					$('span#one h3 a').removeClass('hover');
					$('span#one p a').removeClass('hover');
			}
		);
	
		$("span#two").hover(
			function () {
					$('span#two h3 a').addClass('hover');
					$('span#two p a').addClass('hover');
			}, 
			function () {
					$('span#two h3 a').removeClass('hover');
					$('span#two p a').removeClass('hover');
			}
		);
		
		$("span#three").hover(
			function () {
					$('span#three h3 a').addClass('hover');
					$('span#three p a').addClass('hover');
			}, 
			function () {
					$('span#three h3 a').removeClass('hover');
					$('span#three p a').removeClass('hover');
			}
		);
		
	
		$("span#four").hover(
			function () {
					$('span#four h3 a').addClass('hover');
					$('span#four p a').addClass('hover');
			}, 
			function () {
					$('span#four h3 a').removeClass('hover');
					$('span#four p a').removeClass('hover');
			}
		);
	}catch (e) {};
	
	try {
		$('#aspiration').mouseover(function(e) {
				$('#orange_area').mouseover();
		}).mouseout(function(e) {
				$('#orange_area').mouseout();
		});
		$('#demographics').mouseover(function(e) {
				$('#blue_area').mouseover();
		}).mouseout(function(e) {
				$('#blue_area').mouseout();
		});
		$('#health').mouseover(function(e) {
				$('#brown_area').mouseover();
		}).mouseout(function(e) {
				$('#brown_area').mouseout();
		});
		}catch (e) {}
	
});

