$(document).ready(function() {
	if($(".toggle_table").length > 0) {
		$(".toggle_table").each(function() {
			var tempString = ($(this).text());
			$(this).empty().html("<a>" + tempString + "</a>");
			$(this).find("a").addClass("collapsed").parent().next().css("display","none");
			$(this).find("a").toggle(
				function() {
					$(this).removeClass("collapsed");
					$(this).parent().next().show("fast");
				},
				function() {
					$(this).addClass("collapsed");
					$(this).parent().next().hide("fast");
				}
			);
		});
		$(".report_year:first").find("caption a").trigger("click");
	}
});
/*
$(document).ready(function() {
	if($("ul li.active").length > 0) {
		var coords = $("ul li.active").offset();
		var coordsHeight = 16;
		$("body").append("<div class='nav_overlap' style='position:absolute;left:" + coords.left + "px;top:" + (coords.top + coordsHeight) + "px;'><!-- --></div>");
	}
	if($(".toggle_table").length > 0) {
		$(".toggle_table").each(function() {
			var tempString = ($(this).text());
			$(this).empty().html("<a>" + tempString + "</a>");
			$(this).find("a").addClass("collapsed").parent().next().css("display","none");
			$(this).find("a").toggle(
				function() {
					$(this).removeClass("collapsed");
					$(this).parent().next().show("fast");
				},
				function() {
					$(this).addClass("collapsed");
					$(this).parent().next().hide("fast");
				}
			);
		});
		$(".report_year:first").find("caption a").trigger("click");
	}
	$(window).resize(function()
	{
		var coords = $("ul li.active").offset();
		var coordsHeight = 16;
		$(".nav_overlap").css({'left' : coords.left + "px", 'top' : (coords.top + coordsHeight) + "px"});
	});
});
*/