function deletePost(id) {
	var yo = prompt("You are about to delete a post. If you really want to delete it, type 'froggy' here.", "...")
	if (yo=="cowwy") {
	 window.location = "deletenews.php?id="+id
	} else {
	window.location = "index.php"
	}
}