function wo(url)
{
	window.open(url, '', '');
}

function news_effect()
{
	var months  = $('ul.month li a');
	var content = $('div.newsmonth');

	months.click(function() { 
		if (!$(this).hasClass('active'))
		{
			months.attr('href', '#').removeClass('active');
			$(this).removeAttr('href').addClass('active');
			var index = months.index(this);
			$('div.newsmonth:visible').fadeOut('fast', function() {
				$(content[index]).fadeIn('fast');
			});
		}
	});

	var years = $('h4.year a');
	years.click(function(event) {
		event.preventDefault();
		$(this).parent().next().toggle('slow');
	});    
}

function team_effect()
{
	var person = $('ul.team h3 a');
	person.click(function(event) {
		event.preventDefault();
		$(this).toggleClass('open');
		$(this).parent().next().toggle('slow');
	});    
}

function init()
{
	news_effect();
	team_effect();
}