function delete_thread(thread_name)
{
	if (confirm('Are you absolutely sure you want to hide the entire conversation about \"' + thread_name + '\"?'))
 		window.document.location="deletethread";
}

function undelete_thread(thread_name)
{
	if (confirm('Are you sure you want to unhide the conversation about \"' + thread_name + '\"?'))
 		window.document.location="undeletethread";
}

function lock_thread(thread_name)
{
	if (confirm('Are you sure you want to lock the entire conversation about \"' + thread_name + '\"?\\n\\nThis will prevent people from adding any additional posts.'))
 		window.document.location="lockthread";
}

function unlock_thread(thread_name)
{
	if (confirm('Are you sure you want to unlock the entire conversation about \"' + thread_name + '\"?\\n\\nThis will allow people to add additional posts.'))
 		window.document.location="unlockthread";
}

function block_user(userid)
{
	if (confirm('Are you sure you want to block this user from this group?\\n\\n- you may only block someone for breaking the group rules\\n- you can manage your block list from the edit group page '))
 		window.document.location="banuser=" + userid;
}

function unblock_user(userid)
{
	if (confirm('Are you sure you want to unblock this user from this group?'))
 		window.document.location="unbanuser=" + userid;
}

function delete_post(post_name)
{
	if (confirm('Are you sure you want to hide this post?'))
 		window.document.location="deletepost=" + post_name;
}

function show_post(post_name)
{
	if (confirm('Are you sure you want to unhide this post?'))
 		window.document.location="showpost=" + post_name;
}
