function Logout()
{
	http_request.open('POST', "http://www.baanusers.ch/ajax/memberlogin/logout.php", true);
	http_request.onreadystatechange = LogoutOnStatusChange;
	http_request.send(null);
}

function LogoutOnStatusChange()
{
	if(4 == http_request.readyState)
	{
		window.location.href="http://www.baanusers.ch/home";
	}
}