/* Fonction personalisées JS  */
var popup = true;

Event.observe(window, 'load', startEvents, false);

function popupClub() {
	if( popup == true ) {
		var response = confirm('Grand tournoi mixte 3x3 le dimanche 21 juin 2009 !!!');
		if( response == true ) {
			popup = false;
		}
	}
}


function closeDiv(div) {
	if( $(div) ) {
		Element.hide(div);
		if($('list_events').style.display == 'block' ) {
			window.location.href='/fr/scripts/user_manage_events.php';
		}
	}
}

function toggleDiv(div) {
	Element.toggle(div);
}

function startEvents() {
	if( $('right_menu') ) {
		//Rico.Corner.round('right_menu');
	}
	//popupClub();
}

function trim(myString) {
	return myString.replace(/^\s+/g,'').replace(/\s+$/g,'')
}

