function GetComment(id) {

	try {
		var post = document.getElementById("comment_body");

		var response = HTTPPostRequest(
			false,
			"/private/get-comment",
			{
				"id" : id
			}
		);

		if (response) {
			post.value = "[quote]" + response + "[/quote]";
		}


	} catch (e) {

	}


	var loc = window.location.href;
	var new_loc = loc.split("#");
	window.location = new_loc[0] + "#post";
	
}


function CommentReport(author , id) {

	var loc = window.location.href;
	var new_loc = loc.split("#");


	var url="I would like to report " + author +"'s post in the {thread} thread.\r\n\r\nLink : " + new_loc[0] + "#p" + id + "\r\n\r\nOther comments : ";


	window.location="http://www."+ _URL + "/contact?subject=Report%20Message&message=" + escape(url);
}