// JavaScript Document
function deletePost(href)
{
	var returnURL = window.location;
	var conf = confirm('Are you sure you want to delete this post?');
	if(conf)
	{
		window.location = href+'&return='+returnURL;	
	}
	else
	{
		return false;	
	}
}