if (typeof JSON !== "object")document.write(""); var Article = {QueryVer : function(keywrods, ver){ return Article.ajax("QueryVer", {keywrods : keywrods, ver : ver} ,Article.getCallback(arguments, 2)); },GetResult : function(pageSize, curPages, classid){ return Article.ajax("GetResult", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },GetHotline : function(keyword, classid){ return Article.ajax("GetHotline", {keyword : keyword, classid : classid} ,Article.getCallback(arguments, 2)); },GetHotlineM : function(keyword, classid){ return Article.ajax("GetHotlineM", {keyword : keyword, classid : classid} ,Article.getCallback(arguments, 2)); },GetFQA : function(keyword, pageSize, curPages, classid){ return Article.ajax("GetFQA", {keyword : keyword, pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 4)); },GetFQAM : function(keyword, pageSize, curPages, classid){ return Article.ajax("GetFQAM", {keyword : keyword, pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 4)); },GetGuarantee : function(keyword, classid){ return Article.ajax("GetGuarantee", {keyword : keyword, classid : classid} ,Article.getCallback(arguments, 2)); },GetGuaranteeM : function(keyword, classid){ return Article.ajax("GetGuaranteeM", {keyword : keyword, classid : classid} ,Article.getCallback(arguments, 2)); },GetHonor : function(pageSize, curPages, classid){ return Article.ajax("GetHonor", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },GetHonorM : function(pageSize, curPages, classid){ return Article.ajax("GetHonorM", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },GetArticle : function(pageSize, curPages, classid){ return Article.ajax("GetArticle", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },GetArticleM : function(pageSize, curPages, classid){ return Article.ajax("GetArticleM", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },Gettechnology : function(pageSize, curPages){ return Article.ajax("Gettechnology", {pageSize : pageSize, curPages : curPages} ,Article.getCallback(arguments, 2)); },GettechnologyM : function(pageSize, curPages){ return Article.ajax("GettechnologyM", {pageSize : pageSize, curPages : curPages} ,Article.getCallback(arguments, 2)); },GettechnologyDetail : function(id){ return Article.ajax("GettechnologyDetail", {id : id} ,Article.getCallback(arguments, 1)); },GetNextPrev : function(id){ return Article.ajax("GetNextPrev", {id : id} ,Article.getCallback(arguments, 1)); },GetNextPrevM : function(id){ return Article.ajax("GetNextPrevM", {id : id} ,Article.getCallback(arguments, 1)); },Getmail : function(pageSize, curPages){ return Article.ajax("Getmail", {pageSize : pageSize, curPages : curPages} ,Article.getCallback(arguments, 2)); },GetmailM : function(pageSize, curPages){ return Article.ajax("GetmailM", {pageSize : pageSize, curPages : curPages} ,Article.getCallback(arguments, 2)); },GetReadState : function(){ return Article.ajax("GetReadState", {} ,Article.getCallback(arguments, 0)); },ChangemailState : function(Id){ return Article.ajax("ChangemailState", {Id : Id} ,Article.getCallback(arguments, 1)); },Deletemail : function(Id){ return Article.ajax("Deletemail", {Id : Id} ,Article.getCallback(arguments, 1)); },GetActivity : function(pageSize, curPages, classid){ return Article.ajax("GetActivity", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },GetActivityM : function(pageSize, curPages, classid){ return Article.ajax("GetActivityM", {pageSize : pageSize, curPages : curPages, classid : classid} ,Article.getCallback(arguments, 3)); },UpdateClick : function(Id){ return Article.ajax("UpdateClick", {Id : Id} ,Article.getCallback(arguments, 1)); },Search : function(classid, pageSize, curPage, keyword){ return Article.ajax("Search", {classid : classid, pageSize : pageSize, curPage : curPage, keyword : keyword} ,Article.getCallback(arguments, 4)); },SearchLan : function(classid, ver, pageSize, curPage, keyword){ return Article.ajax("SearchLan", {classid : classid, ver : ver, pageSize : pageSize, curPage : curPage, keyword : keyword} ,Article.getCallback(arguments, 5)); },UpdateField : function(id, field, value){ return Article.ajax("UpdateField", {id : id, field : field, value : value} ,Article.getCallback(arguments, 3)); },CacheModel : function(model){ return Article.ajax("CacheModel", {model : model} ,Article.getCallback(arguments, 1)); },CreateAllHtml : function(classid, ver){ return Article.ajax("CreateAllHtml", {classid : classid, ver : ver} ,Article.getCallback(arguments, 2)); },CreateListHtml : function(classid, ver){ return Article.ajax("CreateListHtml", {classid : classid, ver : ver} ,Article.getCallback(arguments, 2)); },CreateDetailHtml : function(classid, ver){ return Article.ajax("CreateDetailHtml", {classid : classid, ver : ver} ,Article.getCallback(arguments, 2)); },CreateSelectHtml : function(classid, ids, ver){ return Article.ajax("CreateSelectHtml", {classid : classid, ids : ids, ver : ver} ,Article.getCallback(arguments, 3)); },FabuSuc : function(classid, ids, ver){ return Article.ajax("FabuSuc", {classid : classid, ids : ids, ver : ver} ,Article.getCallback(arguments, 3)); },FabuFail : function(classid, ids, ver){ return Article.ajax("FabuFail", {classid : classid, ids : ids, ver : ver} ,Article.getCallback(arguments, 3)); },ShenheSuc : function(classid, ids, ver){ return Article.ajax("ShenheSuc", {classid : classid, ids : ids, ver : ver} ,Article.getCallback(arguments, 3)); },ShenheFail : function(classid, ids, ver){ return Article.ajax("ShenheFail", {classid : classid, ids : ids, ver : ver} ,Article.getCallback(arguments, 3)); },Add : function(model){ return Article.ajax("Add", {model : model} ,Article.getCallback(arguments, 1)); },Update : function(model){ return Article.ajax("Update", {model : model} ,Article.getCallback(arguments, 1)); },Delete : function(Id){ return Article.ajax("Delete", {Id : Id} ,Article.getCallback(arguments, 1)); },Deletes : function(ids, classid, ver){ return Article.ajax("Deletes", {ids : ids, classid : classid, ver : ver} ,Article.getCallback(arguments, 3)); },setDate : function (a) { if(a != null && typeof a == 'object') { for (var i in a) a[i] = Article.setDate(a[i]) } return a = a instanceof Date ? '"\\/Date(' + a.getTime() + ')\\/"' : a}, getCallback : function(a, b){ return b < a.length ? a[b] : undefined},ajax: function (a, b, c){var j = JSON.stringify(Article.setDate(b)); var d = { contentType:'text/plain', beforeSend : function(x){ x.setRequestHeader('method', a) }, async : true, url : Article.u, type : 'POST', dataType : 'json', data : j, success:function(e){ typeof c == 'function' && c(e) } }; if(typeof c != 'function'){ d.async = false; return JSON.parse(jQuery.ajax(d).responseText) } else jQuery.ajax(d) }, u: '/ajax/Article.php'};