// greathockey.js
// CREATED: March 6th 2008 by Asrar Abbasi

function gel(elem) {
	return document.getElementById(elem);
}

function go_team(tid) {
	if (tid) window.location.href = "team_profile.asp?tid=" + tid;
}

function go_player(pid) {
	if (pid) window.location.href = "player_profile.asp?pid=" + pid;
}

function set_season(season) {
	document.getElementById("selSeason").value = season;
}

function change_season(sid, redirect_url){
	var pg = "/exe.asp?a=change_season&season=" + sid + "&redirect=" + redirect_url;
	window.location.href=pg;
}

function view_schedule(tid) {
	window.location.href = "?lang=EN&team=" + tid;
}
