/*Copyright (c) 2008 Henrique T. Barbieri.
C3SL - Center for Scientific Computing and Free Software

This file is part of SiGTChess.

SiGTChess is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SiGTChess is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
*/


function onload(){
	var url = location.href;
	var pagina = url.split('?')
	pagina = pagina[0].split('/');
	var tam_array = pagina.length-1
	if (pagina[tam_array] == "EveInscricao.php" || pagina[tam_array] == "EveGerenciar.php" || pagina[tam_array] == "EveAndamento.php" || pagina[tam_array] == "EveEncerrados.php") toggle(document.getElementById("eventos"));
}


