function ConfirmDelete(id)
{
var answer = confirm ("Are you sure you want to DELETE this post?")
if (answer)
self.location.href="./index.php?do=DeletePost&id=" + id;
}

