function forum_insertTo(file, objName){

	if(document.getElementById(objName).innerHTML){
		document.getElementById(objName).innerHTML="";
		return false;
	}
	var xmlObj = null;
	if(window.XMLHttpRequest){
	  xmlObj = new XMLHttpRequest();
	} else if(window.ActiveXObject){
	  xmlObj = new ActiveXObject("Microsoft.XMLHTTP");
	} else {
	  return;
	}

	xmlObj.onreadystatechange = function(){
	if(xmlObj.readyState == 4){
	   updateObj(objName, xmlObj.responseXML.getElementsByTagName('data')[0].firstChild.data);
	 }
	}
	xmlObj.open ('GET', file, true);
	xmlObj.send (null);

}
function updateObj(objName, data){
	document.getElementById(objName).innerHTML = data;
}


function instantUpdate(file, objName){
	document.getElementById(objName).innerHTML="Proccessing";
	var xmlObj = null;
	if(window.XMLHttpRequest){
	  xmlObj = new XMLHttpRequest();
	} else if(window.ActiveXObject){
	  xmlObj = new ActiveXObject("Microsoft.XMLHTTP");
	} else {
	  return;
	}

	xmlObj.onreadystatechange = function(){
	if(xmlObj.readyState == 4){
	   updateObj(objName, xmlObj.responseXML.getElementsByTagName('data')[0].firstChild.data);
	 }
	}
	xmlObj.open ('GET', file, true);
	xmlObj.send (null);
}
