var JSURL=function(srv,p_bNoCache,callback) {
var msg; if(p_bNoCache==null) {p_bNoCache=false;} this.http=null; this.async=false; if(navigator.userAgent.toLowerCase().indexOf('msie')!=-1) {if(!p_bNoCache) {if(srv.length>1500) {p_bNoCache=true;}}var msxmll={'Msxml2.XMLHTTP':'','Microsoft.XMLHTTP':''};for(var msxml in msxmll) {try {this.http=new ActiveXObject(msxml); break; } catch (e) {this.http=false; }}} else {try {this.http = new XMLHttpRequest(); } catch (e) {if(IsOpera()) {try {this.http = new JavaHttpRequest(); } catch(E) {this.http=false;}}else {this.http=false;}}}if(p_bNoCache) {var p=srv.indexOf('?'); if(p!=-1){this.prm=srv.substr(p+1); srv=srv.substring(0,p);} else {this.prm=null;}this.http.open('POST', srv, this.async); this.http.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); }else{this.http.open('GET', srv, this.async); this.prm=null; }this.http.setRequestHeader("User-Agent", navigator.userAgent ); if(typeof document != 'undefined' && typeof document.location !='undefined') {this.http.setRequestHeader("Referer", document.location.protocol+'//'+document.location.host+document.location.pathname ); }this.Response = function() {try {return this.__response(); }catch(e){return ''; }};this.__response = function() {this.msg=''; this.http.send(this.prm); try {this.msg=this.http.getResponseHeader("JSURL-Message"); } catch(e) {}return this.http.responseText.toString(); };
this.getFunctionValue=function(){var output=this.__response();if(output.indexOf('Function return value:')<0) {output= "ERROR";}else {output=output.substring(output.indexOf('Function return value:')+22,output.indexOf(' -->'));output=output.replace(/[\n\r]+$/,"");}return output;};};