$(function(){
	//2010
	$('#tooltip2010').css('opacity','1.0').hide();

	$('#year2010 li.event a').outerClick(function(event){
		$('#tooltip2010').fadeOut('slow');
	});

	$('#year2010 li.event a').click(function(){
		$('#tooltip2010').fadeIn('slow').css({
			'top':$('#year2010 .slideBodyL').height()-$('#tooltip2010').height()+25+'px',
			'left':93+'px'
		});
	});
	


	//2009
	$('#tooltip2009').css('opacity','1.0').hide();

	$('#year2009 li.event a').outerClick(function(event){
		$('#tooltip2009').fadeOut('slow');
	});

	$('#year2009 li.event a').click(function(){
		$('#tooltip2009').fadeIn('slow').css({
			'top':$('#year2009 .slideBodyL').height()-$('#tooltip2009').height()+25+'px',
			'left':93+'px'
		});
	});



	//2008
	$('#tooltip2008').css('opacity','1.0').hide();

	$('#year2008 li.event a').outerClick(function(event){
		$('#tooltip2008').fadeOut('slow');
	});

	$('#year2008 li.event a').click(function(){
		$('#tooltip2008').fadeIn('slow').css({
			'top':$('#year2008 .slideBodyL').height()-$('#tooltip2008').height()+25+'px',
			'left':93+'px'
		});
	});



	//2007
	$('#tooltip2007').css('opacity','1.0').hide();

	$('#year2007 li.event a').outerClick(function(event){
		$('#tooltip2007').fadeOut('slow');
	});

	$('#year2007 li.event a').click(function(){
		$('#tooltip2007').fadeIn('slow').css({
			'top':$('#year2007 .slideBodyL').height()-$('#tooltip2007').height()+25+'px',
			'left':93+'px'
		});
	});



	//2006
	$('#tooltip2006').css('opacity','1.0').hide();

	$('#year2006 li.event a').outerClick(function(event){
		$('#tooltip2006').fadeOut('slow');
	});

	$('#year2006 li.event a').click(function(){
		$('#tooltip2006').fadeIn('slow').css({
			'top':$('#year2006 .slideBodyL').height()-$('#tooltip2006').height()+25+'px',
			'left':93+'px'
		});
	});



	//2005
	$('#tooltip2005').css('opacity','1.0').hide();

	$('#year2005 li.event a').outerClick(function(event){
		$('#tooltip2005').fadeOut('slow');
	});

	$('#year2005 li.event a').click(function(){
		$('#tooltip2005').fadeIn('slow').css({
			'top':$('#year2005 .slideBodyL').height()-$('#tooltip2005').height()+25+'px',
			'left':93+'px'
		});
	});



	//2004
	$('#tooltip2004').css('opacity','1.0').hide();

	$('#year2004 li.event a').outerClick(function(event){
		$('#tooltip2004').fadeOut('slow');
	});

	$('#year2004 li.event a').click(function(){
		$('#tooltip2004').fadeIn('slow').css({
			'top':$('#year2004 .slideBodyL').height()-$('#tooltip2004').height()+25+'px',
			'left':93+'px'
		});
	});



	//2003
	$('#tooltip2003').css('opacity','1.0').hide();

	$('#year2003 li.event a').outerClick(function(event){
		$('#tooltip2003').fadeOut('slow');
	});

	$('#year2003 li.event a').click(function(){
		$('#tooltip2003').fadeIn('slow').css({
			'top':$('#year2003 .slideBodyL').height()-$('#tooltip2003').height()+25+'px',
			'left':93+'px'
		});
	});



	//2002
	$('#tooltip2002').css('opacity','1.0').hide();

	$('#year2002 li.event a').outerClick(function(event){
		$('#tooltip2002').fadeOut('slow');
	});

	$('#year2002 li.event a').click(function(){
		$('#tooltip2002').fadeIn('slow').css({
			'top':$('#year2002 .slideBodyL').height()-$('#tooltip2002').height()+25+'px',
			'left':93+'px'
		});
	});
})

