function confirmDelete() {
	return confirm('Are you sure you want to delete?');
}

function verifyDelete() {
	return confirm('Are you sure you want to delete?');
}

function addComment(id) {
	window.open("guestbook/comment.php?id=" + id, "commentPop", "width=300,height=150");
}

function isWhitespace(s) {
	var whitespace = " \t\n\r";

	if ((s == null) || (s.length == 0))
		return true;

	for (var i = 0; i < s.length; i++) {
		var c = s.charAt(i);

		if (whitespace.indexOf(c) == -1)
			return false;
	}

	return true;
}
