<SCRIPT type = "text/JavaScript"> var http_request = false; function send_request (URL) {http_request = false; If (window. XMLHttpRequest) {// Mozilla Browser http_request = new XMLHttpRequest (); If (http_request.overridemimetype) {http_request.overridemimetype ("text/XML");} else if (window. activexobject) {try {http_request = new activexobject ("msxml2.xmlhttp");} catch (e) {try {http_request = new activexobject ("Microsoft. X Mlhttp ") ;}catch (e) {}} if (! Http_request) {window. alert ("XMLHTTPRequest object instance cannot be created"); Return false;} http_request.onreadystatechange = processrequest; http_request.open ("get", URL, true); http_request.send (null );} // function for processing returned information processrequest () {If (http_request.readystate = 4) {If (http_request.status = 200) {alert (http_request.responsetext );} else {alert ("the page you requested has an exception") ;}}</SCRIPT>