$(document).ready(function(){
	   // show hide results on player detail page
	   $('h3.h2010').toggle(function(){
	   		$('table.t2010').show();
		 	$('a.a2010').addClass('open');
       }, function(){
	   		$('table.t2010').hide();
	   		$('a.a2010').removeClass('open');
	   });
	   
	   
	   $('h3.h2009').toggle(function(){
	   		$('table.t2009').show();
		 	$('a.a2009').addClass('open');
       }, function(){
	   		$('table.t2009').hide();
	   		$('a.a2009').removeClass('open');
	   });
	   
	   
       $('h3.h2008').toggle(function(){
	   		$('table.t2008').show();
		 	$('a.a2008').addClass('open');
       }, function(){
	   		$('table.t2008').hide();
	   		$('a.a2008').removeClass('open');
	   });
	   
	   
       $('h3.h2007').toggle(function(){
	   		$('table.t2007').show();
		 	$('a.a2007').addClass('open');
       }, function(){
	   		$('table.t2007').hide();
	   		$('a.a2007').removeClass('open');
	   });
	   
	   
	   // show tooltip in top-ten box
	   $('a.playerdetails').cluetip({
	   		width: '550px',
	   		showTitle: false,
			ajaxCache: false
	   });
	   
	   
     });

