function HTTPR(o){this.n=this;this.o=o;if(window.XMLHttpRequest)this.requestObject=new XMLHttpRequest();else{if(window.ActiveXObject)this.requestObject=new ActiveXObject("Microsoft.XMLHTTP");}};HTTPR.prototype.sendRequest=function(action,method,async,param){var A=true;if(async!=null){A=async;}if(!method){method="post";}var V=this;this.requestObject.onreadystatechange=function(){HTTPR.L(V);};this.requestObject.open(method,action,A);this.requestObject.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this.requestObject.send(param);};HTTPR.L=function(c){if(c.requestObject.readyState==4){if(c.o){c.o(c.n);}}};HTTPR.prototype.setCallBackMethod=function(o){this.o=o;};HTTPR.prototype.setCallBackContext=function(n){this.n=n;};String.prototype.J=function(tagName){var aj=this.indexOf("<<"+tagName+">>");var aa=this.indexOf(">>",aj)+2;var I=this.indexOf("<</"+tagName+">>");if(aj<0||I<0){return "";}return this.substring(aa,I);}