function mt(str,d,k) { if (str=="") { document.getElementById("text").innerHTML=""; return; } if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("text").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","./a.php?q=" + str + "&d=" + d + "&k=" + k,true); xmlhttp.send(); } function mt1(str,d,k) { if (str=="") { document.getElementById("text" + str + "").innerHTML=""; return; } if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("text" + str + "").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","./a.php?q=" + str + "&d=" + d + "&k=" + k,true); xmlhttp.send(); } function mt2(str,d,k) { if (str=="") { document.getElementById("text" + k + "").innerHTML=""; return; } if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("text" + k + "").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","./a.php?q=" + str + "&d=" + d + "&k=" + k,true); xmlhttp.send(); }