// JavaScript Document

$(document).ready(function()
	{
		//$('#sideBarInner').load('pages/login.php');
		
		$(document.body).addClass('ui-state-error');
	});

function removeGame(id)
{
	var answer = confirm('Remove the game?');
	
	if(answer)
	{
		$.post('_admin/removegame.php', { "id" : id }, function(data){ alert(data) }, 'text');
	}else{
		alert('error');
	}
}