function faq_ajax() {
   try { return new ActiveXObject("Msxml2.XMLHTTP");  } catch(e) {} //IE
   try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) {} //IE
   try { return new XMLHttpRequest(); } catch(e) {} //Native Javascript
   alert("XMLHttpRequest not supported");
   return null;
};

function returnreply(obj, id){

	setStatus (obj);
	
 	var xmlhttp=faq_ajax();
    xmlhttp.onreadystatechange = function () { 
          if (xmlhttp.readyState==4) {
               if (xmlhttp.status==200) {
                    document.getElementById(obj).innerHTML=xmlhttp.responseText;
               } 
          }
     };
     xmlhttp.open("GET", "faq/includes/returnrepl.php?id="+id);
     xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=iso-8859-1");
     xmlhttp.send(null);
	
}
