function confirmLogout()
{
var answer = confirm ("Are you sure you want to logout?")
if (answer)
self.location.href="./logout.php";
}