function showLogIn(){
	Effect.Fade('signButtonContent', {duration: 0.5});
	setTimeout('Effect.Appear(\'logInButton\', {duration:0.2})', 500);
}
function confirmDeleteMail(a, id, user, m){
	confirmar=confirm("Do you want to delete this message?");
	if (confirmar)
		deleteMail(a, id, user, m);
}
function playedGame(user, game){
	setTimeout('checkAsPlayedGame(\''+user+'\',\''+game+'\')', 30000);
}
function setTimeToTimezone(fecha){
	var off = fecha.getTimezoneOffset()*60;
	var fecha_cliente = fecha.getTime() + off;
	fecha.setTime(fecha_cliente);
	document.write(fecha.getDate()+"/"+(fecha.getMonth()+1)+"/"+fecha.getFullYear()+" "+fecha.getHours()+":"+fecha.getMinutes());
}
function toggleGameLinkOn(id){
	document.getElementById('o_'+id).style.display = "inline";
}

function toggleGameLinkOff(id){
	document.getElementById('o_'+id).style.display = "none";
}