function DeletePost(postid){
	if(confirm("Really delete this post?")){
		window.location = app_root + "/admin/deletepost?postid=" + postid;
	}
}

function DeleteComment(commentid){
	if(confirm("Really delete this comment?")){
		window.location = app_root + "/deletecomment?commentid=" + commentid;
	}
}

function EditPost(postid){
	window.location = app_root + "/admin/editpost/" + postid;
}

$(document).ready(function(){
		});
