function check_delete_comment(comment_id) {
  Check = confirm('Soll der Kommentar wirklich gelöscht werden?');
  if(Check) {
    delete_comment(comment_id);
  }  
}

function delete_comment(comment_id) {
  xmlHttp = xmlhttp();
	if (xmlHttp) {
		xmlHttp.open('GET', 'includes/delete_comment.php?comment_id='+comment_id, true);
		xmlHttp.onreadystatechange = function () {
			if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
			  location.reload();
			}
		}
	xmlHttp.send(null);
	}
}