var readXML=function($){var A=external.createObject("FileInputStream"),_="";if(A.open($)){_=A.read();A.close()}return _},writeXML=function(A,_){var $=external.createObject("FileOutputStream");if($.open(A)){$.write(_);$.close()}};jQuery.createXMLDocument=function(_){var $=navigator.appName,A;if($=="Microsoft Internet Explorer"){A=new ActiveXObject("Microsoft.XMLDOM");A.async="false";A.loadXML(_)}else A=(new DOMParser()).parseFromString(_,"text/xml");return A};String.prototype.symbolTrans=function(){var $;switch(this.valueOf()){case"2":$=">";break;case"1":$=">=";break;case"-1":$="<=";break;case"-2":$="<";break;default:$=""}return $};String.prototype.symbolTrans2=function(){var $;switch(this.valueOf()){case"1":$=">=";break;case"-1":$="<=";break;default:$=""}return $};String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")};function sendPlansToServer(A){var D=new Passport(),B=D.ppGetValue("account"),_=thsPassport.getPassword();delete D;D=null;var C=external.getUserPath()+"\\url.txt",E="http://www.10jqka.com.cn/udata/?";$.post(E,{reqtype:"modify_news",encode:"utf-8",account:B,passwd:_,pwdtype:"1",type:"4",news:A,rand:Math.random()},function(B){var A=$.createXMLDocument(B),_=$(A).find("ret").attr("code");$("#save").hide("normal");$(".show_box").hide("normal");if(_!="0"){alert($(A).find("ret").attr("msg"));return 0}return 1})}window.onError=function(){};window.mainPath=external.getUserPath()+"\\plan.txt";function checkPlanValid($){var _=new RegExp(window.separtor);if(_.test($)){alert("\u65b9\u6848\u542b\u6709\u975e\u6cd5\u5b57\u7b26"+window.separtor);return false}return true}function objReplaceKey(B,_,$){var A={};for(k in B)if(k!=_)A[k]=B[k];else A[$]=B[_];return A}function objDeleteKey(_,A){var $={};for(k in _)if(k!=A)$[k]=_[k];return $}