state
function stateChanged@qid()
{
if (xmlHttp@qid.readyState==4 || xmlHttp@qid.readyState=="complete")
{
document.getElementById("txt-@qid").innerHTML=xmlHttp@qid.responseText
}
}
function GetXmlHttpObject@qid()
{
var xmlHttp@qid=null;try
{
// Firefox, Opera 8.0+, Safari
xmlHttp@qid=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
xmlHttp@qid=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
xmlHttp@qid=new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp@qid;
}
</script>
<span id="txt-@qid"> <b>info @qid/@url should be listed here.</b> </span>
<script>show@qid()</script>