
function expand_reports(sport_code) {
	list_div_id = 'report_list_' + sport_code;
	list_div = document.getElementById(list_div_id);

	arrow_id = 'report_list_' + sport_code + '_arrow';
	arrow_div = document.getElementById(arrow_id);

	if (list_div != null) {
		if (list_div.className=="report_list") {
			list_div.className = "report_list_show";
			arrow_div.className = "report_arrow_down";

		} else if (list_div.className=="report_list_show") {
			list_div.className = "report_list";
			arrow_div.className = "report_arrow";

		}
	}

}

function set_width_schedule_table() {
	res_id = "table_results";
	res = document.getElementById(res_id);
	
	sch_id = "table_schedule";
	sch = document.getElementById(sch_id);
	
	sch.style.width = res.offsetWidth;

}


function tourney_switch_list(game_id) {
	arrow_id = 'tourney_arrow_' + game_id;
	arrow = document.getElementById(arrow_id);
	
	list_id = 'tourney_list_' + game_id;
	list = document.getElementById(list_id);
	
	if (arrow.className=="tourney_arrow_up") {
		arrow.className = "tourney_arrow_down";
		list.className = "tourney_list_show";
	
	} else if (arrow.className=="tourney_arrow_down") {
		arrow.className = "tourney_arrow_up";
		list.className = "tourney_list_hide";

	
	}

}
