	var	get_comment;
	function getCommentText(param)	//param	=	comment_id
	{
		var	url="cc_get_comment_text.php";
		get_comment = false;
		if (window.XMLHttpRequest)		//Firefox
		{	get_comment = new XMLHttpRequest();
			if (get_comment.overrideMimeType) 
				get_comment.overrideMimeType('text/html');
		}
		else if (window.ActiveXObject)	// IE
		{	try
			{
				get_comment = new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e)
			{	try
				{
					get_comment = new ActiveXObject("Microsoft.XMLHTTP");
				}
				catch (e) 
				{}
			}
		}
		
		if (!get_comment)		//	Cannot create XMLHTTP instance'
			return false;
		
		get_comment.onreadystatechange = fillCommentText;
		get_comment.open('POST', url, true);
		get_comment.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		get_comment.setRequestHeader("Content-length", param.length);
		get_comment.setRequestHeader("Connection", "close");
		param	=	"id="+param;
		get_comment.send(param);
	}
	
	function fillCommentText()
	{
		if (	(get_comment.status == 200)	&& (get_comment.readyState == 4)	)
		{
			document.getElementById('komment_text').value = get_comment.responseText;
		}
	}
