var net={};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;net.ContentLoader=function(a,b,d,c,e,f){this.req=null;this.onload=b;this.onerror=d?d:this.defaultError;this.loadXMLDoc(a,c,e,f)}; net.ContentLoader.prototype.loadXMLDoc=function(a,b,d,c){b||(b="GET");if(!c&&b=="POST")c="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 e=this;this.req.onreadystatechange=function(){net.ContentLoader.onReadyState.call(e)};this.req.open(b,a,true);c&&this.req.setRequestHeader("Content-Type",c);this.req.send(d)}catch(f){this.onerror.call(this)}}; net.ContentLoader.onReadyState=function(){var a=this.req;if(a.readyState==net.READY_STATE_COMPLETE){a=a.status;a==200||a==0?this.onload.call(this):this.onerror.call(this)}};net.ContentLoader.prototype.defaultError=function(){alert("error fetching data!\n\nreadyState:"+this.req.readyState+"\nstatus: "+this.req.status+"\nheaders: "+this.req.getAllResponseHeaders())};
