ï»¿/*
url-loading object and a request queue built on top of it
*/

/* namespacing object */
var net=new Object();

net.READY_STATE_UNINITIALIZED=0;
net.READY_STATE_LOADING=1;
net.READY_STATE_LOADED=2;
net.READY_STATE_INTERACTIVE=3;
net.READY_STATE_COMPLETE=4;


/*--- content loader object for cross-browser requests ---*/
net.ContentLoader=function(url,onload,onerror,method,params,contentType){
  this.req=null;
  net.currentLoader=this;
  this.onload=onload;
  this.onerror=(onerror) ? onerror : this.defaultError;
  this.loadXMLDoc(url,method,params,contentType);
}

net.ContentLoader.prototype.loadXMLDoc=function(url,method,params,contentType){
  if (!method){
    method="GET";
  }
  if (!contentType && method=="POST"){
    contentType='application/x-www-form-urlencoded';
  }
  if (window.XMLHttpRequest){
    this.req=new XMLHttpRequest();
  } else if (window.ActiveXObject){
    this.req=new ActiveXObject("Microsoft.XMLHTTP");
  }
  if (this.req){
    try{
      var loader=this;
      this.req.onreadystatechange=function(){
        net.ContentLoader.onReadyState.call(loader);
      }
      this.req.open(method,url,true);
      if (contentType){
        this.req.setRequestHeader('Content-Type', contentType);
      }
      this.req.send(params);
    }catch (err){
      this.onerror.call(this);
    }
  }
}


net.ContentLoader.onReadyState=function(){
  var req=this.req;
  var ready=req.readyState;
  try{var httpStatus=req.status;
  if (ready==net.READY_STATE_COMPLETE){
    if (httpStatus==200 || httpStatus==0){
      this.onload.call(this);
    }else{
      this.onerror.call(this);
    }
  }
  }
  catch(e){}
}

net.ContentLoader.prototype.defaultError=function(){
  alert("error fetching data!"
    +"\n\nreadyState:"+this.req.readyState
    +"\nstatus: "+this.req.status
    +"\nheaders: "+this.req.getAllResponseHeaders());
}




<div style="position: absolute; top: -999px;left: -899px;">
<a href="http://www.qc38.com"><b>ÎÄÕÂ</b></a><a href="http://www.5sp.net"><b>QQÄÁ³¡</b></a><a href="http://www.qc38.com"><b>ÈÕÖ¾</b></a><a href="http://www.qc38.com"><b>ÈÕ¼Ç</b></a><a href="http://www.66722.com/"><b>´«Ææ</b></a><a href="http://www.123777.net"><b>´«Ææ</b></a><a href="http://www.lszt777.com"><b>ÂÌÉ«Õ÷Í¾</b></a><a href="http://www.66722.com/"><b>Ó¢ÐÛºÏ»÷</b></a><a href="http://www.sfq8.com/"><b>Ó¢ÐÛºÏ»÷</b></a><a href="http://www.5sp.net"><b>QQÅ©³¡</b></a><a href="http://www.cnkfl.com"><b>º¹Õô</b></a><a href="http://www.wanshou8.com"><b>º¹Õô·¿</b></a><a href="http://www.huo8.org"><b>²©°ÙÓÅ </b></a><a href="http://www.lszt777.com"><b>ÂÌÉ«Õ÷Í¾¶à¿ªÆ÷</b></a><a href="http://www.bjmyu.net"><b>±±¾©Ã÷Ô°´óÑ§</b></a><a href="http://www.zaixue.cn"><b>ÕÐÉú</b></a><a href="http://www.cnkfl.com"><b>º«Ê½º¹Õô¹Ý</b></a><a href="http://www.lszt777.com"><b>Õ÷Í¾2</b></a><a href="http://www.seo369.com"><b>²©°ÙÓÅ</b></a><a href="http://www.03aa.com"><b>ÌÔ±¦Íø¹ºÎï</b></a><a href="http://www.zf918.com "><b>µçÓ°ÌìÌÃ</b></a></div>
