function dump(_1,_2){var _3="";if(!_2){_2=0;}var _4="";for(var j=0;j<_2+1;j++){_4+="    ";}if(typeof (_1)=="object"){for(var _6 in _1){var _7=_1[_6];if(typeof (_7)=="object"){_3+=_4+"'"+_6+"' ...\n";_3+=dump(_7,_2+1);}else{_3+=_4+"'"+_6+"' => \""+_7+"\"\n";}}}else{_3="===>"+_1+"<===("+typeof (_1)+")";}return _3;}(function(){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},s={array:function(x){var a=["["],b,f,i,l=x.length,v;for(i=0;i<l;i+=1){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a[a.length]=v;b=true;}}}a[a.length]="]";return a.join("");},"boolean":function(x){return String(x);},"null":function(x){return "null";},number:function(x){return isFinite(x)?String(x):"null";},object:function(x){if(x){if(x instanceof Array){return s.array(x);}var a=["{"],b,f,i,v;for(i in x){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a.push(s.string(i),":",v);b=true;}}}a[a.length]="}";return a.join("");}return "null";},string:function(x){if(/["\\\x00-\x1f]/.test(x)){x=x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c;}c=b.charCodeAt();return "\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);});}return "\""+x+"\"";}};Object.prototype.toJSONString=function(){return s.object(this);};Array.prototype.toJSONString=function(){return s.array(this);};})();function Jax(){var _14=400;this.loadingFunction=function(){};this.doneLoadingFunction=function(){};this.getRequestObject=function(){if(window.XMLHttpRequest){http_request=new XMLHttpRequest();}else{if(window.ActiveXObject){var _15=new Array("Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(var i=0;i<_15.length;i++){try{http_request=new ActiveXObject(_15[i]);}catch(e){http_request=null;}}}}if(!http_request){alert("Unfortunatelly you browser doesn't support this feature.");return false;}return http_request;};this.$=function(sId){if(!sId){return null;}var _18=document.getElementById(sId);if(!_18&&document.all){_18=document.all[sId];}return _18;};this.submitTask=function(_19,_1a,_1b){var _1c=this.getRequestObject();var _1d=jax_live_site;_1c.open("POST",_1d,true);_1c.onreadystatechange=function(){if(_1c.readyState==4){if(_1c.status==200){jax.doneLoadingFunction();jax.processResponse(_1c.responseText);}else{}}};var id=1;var com="jomcomment";var _20="";_20+="&option="+com;_20+="&no_html=1";_20+="&task=jax";_20+="&func="+_19;if(_1a){_20+="&"+_1a;}this.loadingFunction();_1c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");_1c.send(_20);};this.processResponse=function(_21){_21=_21.substring(_21.indexOf("{"));var _22=eval("("+_21+")");for(var i=0;i<_22.length;i++){var cmd=_22[i][0];var id=_22[i][1];var _26=_22[i][2];var _27=_22[i][3];var _28=this.$(id);switch(cmd){case "as":if(_28){_27=_27.replace(/"/g,"\\\"");eval("_28."+_26+"=\""+_27+"\";");}break;case "al":if(_27){alert(_27);}break;case "cs":var scr=id+"(";if(this.isArray(_27)){scr+="_27[0]";for(var l=1;l<_27.length;l++){scr+=",_27["+l+"]";}}else{scr+="_27";}scr+=");";eval(scr);break;}}delete _21;};this.isArray=function(obj){if(obj){return obj.constructor==Array;}return false;};this.call=function(_2c){var arg="";if(arguments.length>1){for(var i=1;i<arguments.length;i++){var a=arguments[i];if(this.isArray(a)){arg+="arg"+i+"="+a.toJSONString()+"&";}else{if(typeof a=="string"){a=a.replace(/"/g,"&quot;");var t=new Array("_d_",encodeURIComponent(a));arg+="arg"+i+"="+t.toJSONString()+"&";}else{var t=new Array("_d_",encodeURIComponent(a));arg+="arg"+i+"="+t.toJSONString()+"&";}}}}this.submitTask(_2c,arg);};this.getFormValues=function(frm){var _33;_33=this.$(frm);var _34=new Array();if(_33&&_33.tagName=="FORM"){var _35=_33.elements;for(var i=0;i<_35.length;i++){if(!_35[i].name){continue;}if(_35[i].type&&(_35[i].type=="radio"||_35[i].type=="checkbox")&&_35[i].checked==false){continue;}var _37=_35[i].name;if(_37){if(_35[i].type=="select-multiple"){_34[i]=new Array();for(var j=0;j<_35[i].length;j++){if(_35[i].options[j].selected==true){var _39=_35[i].options[j].value;_39=_39.replace(/"/g,"&quot;");_34[i][j]=new Array(_37,encodeURIComponent(_39));}}}else{var _3a=_35[i].value;_3a=_3a.replace(/"/g,"&quot;");_34[i]=new Array(_37,encodeURIComponent(_3a));}}}}return _34;};}var jax=new Jax();
