function oRequest(){this.xmlhttp=null;this._callback="";this._layerfill="";this._url="";this._postdata="";this.fireEvent=null;this.returnType="html";this.Create=function(){if(!this.xmlhttp){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){xmlhttp=false}}if(!this.xmlhttp&&typeof XMLHttpRequest!="undefined"){this.xmlhttp=new XMLHttpRequest()}}return this.xmlhttp};this.setData=function(data){this._postdata=data};this.Send=function(url,layerfill,callback,evt,returntype){var oReqHTTP;var _callback2;var _layerfill2;var _fireEvent=this.fireEvent=(typeof (evt)!="undefined")?evt:this.fireEvent;var _returntype=this.returnType=(typeof (returntype)!="undefined")?returntype:this.returnType;if(typeof (MM_findObj)=="undefined"){alert("Error: MM_Functions.js file not found \nSource: Send(url,callback)");return }this._layerfill=_layerfill2=(typeof (layerfill)!="undefined")?MM_findObj(layerfill):"";_callback2=this._callback=callback;this._url=url;if(this._url!=""){if(this._url.indexOf("?")==-1){this._url=this._url+"?p_"+Math.random()*9999999999}else{this._url=this._url+"&p_"+Math.random()*9999999999}oReqHTTP=this.Create();if(oReqHTTP){oReqHTTP.onreadystatechange=function(){if(oReqHTTP.readyState==4){if(oReqHTTP.status==200){var x=oReqHTTP.responseText;try{switch(_returntype){case"html":if(typeof (_layerfill2)!="undefined"&&_layerfill2!=null){_layerfill2.innerHTML=x}if(_fireEvent){_fireEvent(x)}break;case"js":if(_fireEvent){_fireEvent(eval(x))}else{alert("Error: Must indicate javascript routine to pass the result")}}}catch(e){alert(e.description)}}}};try{if(this._postdata==""){oReqHTTP.open("get",this._url,true);oReqHTTP.send(null)}else{oReqHTTP.open("post",this._url,true);oReqHTTP.setRequestHeader("Content-Type","application/x-www-form-urlencoded");oReqHTTP.send(this._postdata)}}catch(e){alert(e.description)}}else{alert("Error: Request object not created \nSource: Send(url,callback)")}}else{alert("Error: callback object not found or invalid callback object \nSource: Send(url,callback)")}return null}};