function relocate(url)
	{
		window.location = url;
	}

function wrongLogin()
	{
		alert('Wrong username or password');
	}
	
function success()
	{
		alert('Succesfully logged out');
		
		relocate('index.php');
	}