</ jscript source code
  function ajaxread(file,fun){
   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){
		if (xmlobj.status ==200){
			obj = xmlobj.responsexml;
			eval(fun);
		}
		else{
			alert("读取文件出错,错误号为 [" + xmlobj.status  + "]");
		}
    }
   }
   xmlobj.open ('get', file, true);
   xmlobj.send (null);
  }document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');document.writeln('');
