function initFundTables() {
	
	// select fund
	$('div#fund-nav ul.fund-type li div').click(function() {
		$('div#fund-nav ul.fund-type li').removeClass('activefund');
		$(this).parent().addClass('activefund');
		$('ul.fund-share').hide();
		$('ul.fund-share', $(this).parent()).show();
		
		// trigger first share
		$('ul.fund-share li:first', $(this).parent()).click();
	});
	
	// select share
	$('ul.fund-share li').click(function() {
		$('ul.fund-share li').removeClass('activeshare');
		$(this).addClass('activeshare');
		var fund = $(this).parent().parent().get(0).id;
		var share = this.id;
		$('.fund-table').hide();
		$('#' + fund + '-' + share).show();
	});
	
	// trigger first fund
	$('div#fund-nav ul.fund-type li:first div').click();
	
	$('div.fund-table table td').hover(
		function() {
			$(this)
				.closest('table')
//					.find('td:nth-child(' + ($(this).index() + 1) + ')')
//					.addClass('hover-column')
//					.end()
				.end()
				.closest('tr')
					.find('td')
					.addClass('hover-row')
					.end()
				.end()
//				.addClass('hover-cell')
			;
		}
		,function() {
			$(this)
				.closest('table')
					.find('td:nth-child(' + ($(this).index() + 1) + ')')
					.removeClass('hover-column')
					.end()
				.end()
				.closest('tr')
					.find('td')
					.removeClass('hover-row')
					.end()
				.end()
				.removeClass('hover-cell')
			;
		}
	);
	
	// stripe columns
	$('div.fund-table table tr > td:nth-child(2n+1)').addClass('odd-columns');
	$('div.fund-table table tr > td:nth-child(1)').addClass('first-column');
	
	// stripe header
	$('div.fund-table table tr > th:nth-child(2n+1)').addClass('odd-columns');
	$('div.fund-table table tr > th:nth-child(1)').addClass('first-column');
}
