/*
 * Compressed by JSA(www.xidea.org)
 */
var isClient=false;try{isClient=external.ClientData==true?true:false}catch(e){isClient=false}try{if(typeof(parent.popuAlert)!="undefined")popuAlert=parent.popuAlert;if(typeof(parent.popuConfirm)!="undefined")popuConfirm=parent.popuConfirm;if(typeof(parent.popupopuWindowAlert)!="undefined")popuWindow=parent.popuWindow}catch(e){}var sitUrl="http://www.591up.com/sns/script/iframe/",clientUrl="ndstudy:@store::",TemporaryType={Pick:0,Change:1,Delete:2};function arraySelect(C,A){var B=[];if(C==null)return B;for(var $=0,_=C.length;$<_;$++)B[B.length]=A(C[$],$);return B}arrayWhere=function(C,A){var B=[];if(C==null)return B;for(var $=0,_=C.length;$<_;$++)if(A(C[$],$))B[B.length]=C[$];return B};function IsNullOrEmpty($){return(typeof($)=="undefined"||$==null||$.length==0)}function getQueryString(A){var _=new RegExp("(^|&)"+A+"=([^&]*)(&|$)","i"),$=window.location.search.substr(1).match(_);if($!=null)return unescape($[2]);return null}function checkchar(B,A){var _=$(B).text()?$(B).text():$(B).val();if(_.length>=A)if($(B).text())$(B).text(_.substring(0,A));else $(B).val(_.substring(0,A))}function clipboard($){clipboardData.setData("text",clipboardData.getData("text").substring(0,$))}function cutstring(D,A){if(undefined==D||undefined==D.length)return"";var C=0,$,B=D.length,_="";for($=0;$<B;$++)if(C<A)C+=D.charCodeAt($)>127?2:1;else{_="...";break}return D.substr(0,$)+_}function objClone(_){result={};for(var $ in _)result[$]=_[$];return result}var PosU={getOffsetX:function(_,A){var B=this,D=$(_);_=D[0];var C=B.offsetX(_);return C+A},getOffsetY:function(_,A){var D=this,C=$(_);_=C[0];var B=D.offsetY(_);return B+A},getScrollTop:function(){var $=0;if(document.documentElement&&document.documentElement.scrollTop)$=document.documentElement.scrollTop;else if(document.body)$=document.body.scrollTop;return $},getInnerW:function(){return(window.innerWidth)?window.innerWidth:(document.documentElement&&document.documentElement.clientWidth)?document.documentElement.clientWidth:document.body.offsetWidth},getInnerH:function(){return(window.innerHeight)?window.innerHeight:(document.documentElement&&document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.offsetHeight},offsetY:function($){if(!$)return 0;var _=0;if($.offsetTop)_+=$.offsetTop;while($=$.offsetParent)if($.offsetTop)_+=$.offsetTop;return _},offsetX:function($){if(!$)return 0;var _=0;if($.offsetLeft)_+=$.offsetLeft;while($=$.offsetParent)if($.offsetLeft)_+=$.offsetLeft;return _},getHeight:function(_){var B=$(_),A=B.height();try{if(A.toString().indexOf("px",0)>-1)A=parseInt(A.replace(/px/,""));else A=A.parseInt(A)}catch(D){A=0}try{var C=0;C=parseInt(B.css("padding-top").replace("px",""));if(C!=NaN&&C>0)A+=C;C=parseInt(B.css("padding-bottom").replace("px",""));if(C!=NaN&&C>0)A+=C;C=parseInt(B.css("border-width").replace("px",""));if(C!=NaN&&C>0)A+=C*2}catch(D){alert(A);return A}return A}};if(typeof(Type)!="undefined"&&Type){Type.registerNamespace("ND.Client.Common");ND.Client.Common.Hashtable=function(){this._hash=new Object();this.add=function($,_){if(typeof($)!="undefined"){if(this.contains($)==false){this._hash[$]=typeof(_)=="undefined"?null:_;return true}else return false}else return false};this.remove=function($){delete this._hash[$]};this.count=function(){var $=0;for(var _ in this._hash)$++;return $};this.items=function($){return this._hash[$]};this.contains=function($){return typeof(this._hash[$])!="undefined"};this.clear=function(){for(var $ in this._hash)delete this._hash[$]}};ND.Client.Common.Hashtable.registerClass("ND.Client.Common.Hashtable",Sys.Component);ND.Client.Common.Cookie=function(){this.add=function($,A,D){var C=$+"="+escape(A);if(D>0){var B=new Date(),_=D*3600*1000;B.setTime(B.getTime()+_);C+="; expires="+B.toGMTString()}document.cookie=C};this.remove=function($){var _=new Date();_.setTime(_.getTime()-10000);document.cookie=$+"=a; expires="+_.toGMTString()};this.items=function($){var B=document.cookie.split("; ");for(var _=0;_<B.length;_++){var A=B[_].split("=");if(A[0]==$)return unescape(A[1])}};this.contains=function($){if(this.items($))return true;else return false}};ND.Client.Common.Cookie.registerClass("ND.Client.Common.Cookie",Sys.Component)}function onFailed(C){var A=C.get_stackTrace(),B=C.get_message(),E=C.get_statusCode(),D=C.get_exceptionType(),_=C.get_timedOut(),$="<strong>Stack Trace: </strong>"+A+"<br/>"+"<strong>Service Error: </strong>"+B+"<br/>"+"<strong>Status Code: </strong>"+E+"<br/>"+"<strong>Exception Type: </strong>"+D+"<br/>"+"<strong>Is Timeout: </strong>"+_;if(_)popuAlert({contents:"\u8bf7\u6c42\u5df2\u7ecf\u8d85\u65f6,\u8bf7\u91cd\u8bd5!",title:"\u8bf7\u6c42\u8d85\u65f6",showYesBtn:true,w:400});else switch(D){case"ND.Framework.InputException":popuAlert({contents:B,title:"\u63d0\u793a",showYesBtn:true,w:400});break;case"ND.Framework.PowerException":popuAlert({contents:B,title:"\u63d0\u793a",showYesBtn:true,w:400});break;case"ND.Framework.AlertException":popuAlert({contents:B});break;case"ND.Framework.QuestionCollectException":if(questionCollectException)questionCollectException(C.CategoryId);popuAlert({contents:B+C.CategoryId});break;default:popuWindow({title:"\u63d0\u793a",showYesBtn:true,w:500,onOverlay:1,contents:"<div class=\"PopPage\"><img class=\"ErrorImg\" src=\""+staticSiteUrl+"/App_Themes/Edu2/Images/ErrorImg.gif\" />\u55ef\uff0c\u51fa\u9519\u4e86\u3002\u5f88\u62b1\u6b49\uff0c\u60a8\u8bbf\u95ee\u7684\u9875\u9762\u53ef\u80fd\u51fa\u4e86\u4e00\u4e9b\u5c0f\u6545\u969c\uff0c\u8bf7\u5c1d\u8bd5\u5237\u65b0\uff0c\u6216\u8bb8\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\u3002<a href=\"javascript:showFailedInfo()\">&nbsp;</a><br /><span id=\"ErrorInfo\" style=\"display:none;\">"+$+"</span></div>"});break}}function showFailedInfo(){$("#ErrorInfo").toggle()}function HeadPicError($){$.src=staticSiteUrl+"/App_Themes/Edu/tmp/men.gif"}function bindImageUrl(A,_,$,C,B){if(B)return A.replace(/<img[^\/>]+src=['"]((?!http:\/\/)[^'""]+)['"]([^\/>]+)\/>/gi,"<img style=\"vertical-align:middle\" src=\""+clientUrl+"/question/"+_+"/"+$+"/"+C+"/picture/"+"$1\" "+"/>").replace(/(http:\/\/.*?\.html)/ig,"<a href=\""+"$1"+"\" target=\"_blank\">"+"$1"+"</a>");else return A.replace(/<img[^\/>]+src=['"]((?!http:\/\/)[^'""]+)['"]([^\/>]+)\/>/gi,"<img style=\"vertical-align:middle\" src=\""+ftpSiteUrl+uploadFtpPath+"question/"+_+"/"+$+"/"+C+"/picture/"+"$1\" "+"/>").replace(/(http:\/\/.*?\.html)/img,"<a href=\""+"$1"+"\" target=\"_blank\">"+"$1"+"</a>")}function fillQuestionExplanation($){return bindImageUrl($.QuestionExplanation,$.Segment,$.Key,$.Version,$.IsClient)}function fillQuestionContent($){return fillQuestionNo($.QuestionContent,$.Segment,$.Key,$.Version,$.IsClient)}function fillQuestionAnswer($){return fillQuestionNo($.QuestionAnswerList.join(","),$.Segment,$.Key,$.Version,$.IsClient)}function fillQuestionNo(B,A,$,G,E){var D=/({题号})/img,F=B.match(D);if(F!=null)if(F.length>1){for(var _=0,C=F.length;_<C;_++)B=B.replace("{\u9898\u53f7}",(_+1)+") ")}else B=B.replace("{\u9898\u53f7}","");return bindImageUrl(B,A,$,G,E)}function resetIframeHeight(_){$("#ifrList").css("height",_)}function SetCwinHeight($){try{top.document.getElementById("ifrList").height=$}catch(_){}}function AmendModel(B,C){if(C=="questionInfo")for(var A in B){if(A.indexOf("List")>0){var _=[];$.each(B[A],function(A,$){_.push($)});B[A]=_}if(B[A].__type)B[A].__type=null;if(B[A]instanceof Array)for(var D in B[A])if(B[A][D].__type)B[A][D].__type=null}}function numberToSubPaperNo($){switch($){case 0:return"\u2160";case 1:return"\u2161";case 2:return"\u2162";case 3:return"\u2163";case 4:return"\u2164";case 5:return"\u2165";case 6:return"\u2166";case 7:return"\u2167";case 8:return"\u2168";default:return""}}function numberToPaperPartNo($){switch($){case 0:return"\u4e00";case 1:return"\u4e8c";case 2:return"\u4e09";case 3:return"\u56db";case 4:return"\u4e94";case 5:return"\u516d";case 6:return"\u4e03";case 7:return"\u516b";case 8:return"\u4e5d";case 9:return"\u5341";default:return""}}function numberToChinese($){switch($){case 1:return"\u4e00";case 2:return"\u4e8c";case 3:return"\u4e09";case 4:return"\u56db";case 5:return"\u4e94";case 6:return"\u516d";case 7:return"\u4e03";case 8:return"\u516b";case 9:return"\u4e5d";case 10:return"\u5341";default:return""}}function numberToQuestionNo($){return String.format("{0}\uff0e",($+1))}function numberToSubQuestionNo($){return String.format("\uff08{0}\uff09",($+1))}function numberToLetter($){$+=65;return String.fromCharCode($)}function numbersToLetters(_){var A="";for(var $ in _)A+=String.fromCharCode(Number(_[$])+65);return A}function isUndefinedOrNull($){return(typeof $=="undefined"||$==null)}function ShowAnswerPopU(_){AnswerPopU.initPop({type:"string",title:"Null",contents:"Null",closeIsHide:true,w:900,h:520,showOverlay:true,overlayParam:50,canEsc:false});var $=AnswerPopU.pubWindow.find(".popU_Main").empty();AnswerPopU.showPop();$.html("<iframe name='popuIframe' style='width: 100%; height:500px;' scrolling='auto' frameborder='0' src=''></iframe>");setTimeout(function(){AnswerPopU.pubWindow.find("iframe").attr("src",_)},500);startAnswerMonitor()}function closeAnswerPopU(){AnswerPopU.close();clearAnswerMonitor();if(typeof showQuestionRoute!="undefined")showQuestionRoute();else if(typeof onNetworkPaging!="undefined")onNetworkPaging();else if(typeof onPaging!="undefined")onPaging();else window.location.reload()}function closeAnswerPopU2(){AnswerPopU.close();clearAnswerMonitor()}function startAnswerMonitor(){window.onbeforeunload=function(){if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey)return"\u4f60\u6b63\u5728\u4f5c\u7b54\uff0c\u9000\u51fa\u540e\u5c06\u4e0d\u80fd\u4fdd\u5b58\u60a8\u7684\u7b54\u6848"}}function clearAnswerMonitor(){window.onbeforeunload=null}(function(){var D="\u8d75\u94b1\u5b59\u674e\u5468\u5434\u90d1\u738b\u51af\u9648\u891a\u536b\u848b\u6c88\u97e9\u6768\u6731\u79e6\u5c24\u8bb8\u4f55\u5415\u65bd\u5f20\u5b54\u66f9\u4e25\u534e\u91d1\u9b4f\u9676\u59dc\u621a\u8c22\u90b9\u55bb\u67cf\u6c34\u7aa6\u7ae0\u4e91\u82cf\u6f58\u845b\u595a\u8303\u5f6d\u90ce\u9c81\u97e6\u660c\u9a6c\u82d7\u51e4\u82b1\u65b9\u4fde\u4efb\u8881\u67f3\u9146\u9c8d\u53f2\u5510\u8d39\u5ec9\u5c91\u859b\u96f7\u8d3a\u502a\u6c64\u6ed5\u6bb7\u7f57\u6bd5\u90dd\u90ac\u5b89\u5e38\u4e50\u4e8e\u65f6\u5085\u76ae\u535e\u9f50\u5eb7\u4f0d\u4f59\u5143\u535c\u987e\u5b5f\u5e73\u9ec4\u548c\u7a46\u8427\u5c39\u59da\u90b5\u6e5b\u6c6a\u7941\u6bdb\u79b9\u72c4\u7c73\u8d1d\u660e\u81e7\u8ba1\u4f0f\u6210\u6234\u8c08\u5b8b\u8305\u5e9e\u718a\u7eaa\u8212\u5c48\u9879\u795d\u8463\u6881\u675c\u962e\u84dd\u95f5\u5e2d\u5b63\u9ebb\u5f3a\u8d3e\u8def\u5a04\u5371\u6c5f\u7ae5\u989c\u90ed\u6885\u76db\u6797\u5201\u953a\u5f90\u90b1\u9a86\u9ad8\u590f\u8521\u7530\u6a0a\u80e1\u51cc\u970d\u865e\u4e07\u652f\u67ef\u661d\u7ba1\u5362\u83ab\u7ecf\u623f\u88d8\u7f2a\u5e72\u89e3\u5e94\u5b97\u4e01\u5ba3\u8d32\u9093\u90c1\u5355\u676d\u6d2a\u5305\u8bf8\u5de6\u77f3\u5d14\u5409\u94ae\u9f9a\u7a0b\u5d47\u90a2\u6ed1\u88f4\u9646\u8363\u7fc1\u8340\u7f8a\u65bc\u60e0\u7504\u9eb4\u5bb6\u5c01\u82ae\u7fbf\u50a8\u9773\u6c72\u90b4\u7cdc\u677e\u4e95\u6bb5\u5bcc\u5deb\u4e4c\u7126\u5df4\u5f13\u7267\u9697\u5c71\u8c37\u8f66\u4faf\u5b93\u84ec\u5168\u90d7\u73ed\u4ef0\u79cb\u4ef2\u4f0a\u5bab\u5b81\u4ec7\u683e\u66b4\u7518\u94ad\u5386\u620e\u7956\u6b66\u7b26\u5218\u666f\u8a79\u675f\u9f99\u53f6\u5e78\u53f8\u97f6\u90dc\u9ece\u84df\u6ea5\u5370\u5bbf\u767d\u6000\u84b2\u90b0\u4ece\u9102\u7d22\u54b8\u7c4d\u8d56\u5353\u853a\u5c60\u8499\u6c60\u4e54\u9633\u90c1\u80e5\u80fd\u82cd\u53cc\u95fb\u8398\u515a\u7fdf\u8c2d\u8d21\u52b3\u9004\u59ec\u7533\u6276\u5835\u5189\u5bb0\u90e6\u96cd\u5374\u74a9\u6851\u6842\u6fee\u725b\u5bff\u901a\u8fb9\u6248\u71d5\u5180\u50ea\u6d66\u5c1a\u519c\u6e29\u522b\u5e84\u664f\u67f4\u77bf\u960e\u5145\u6155\u8fde\u8339\u4e60\u5ba6\u827e\u9c7c\u5bb9\u5411\u53e4\u6613\u614e\u6208\u5ed6\u5ebe\u7ec8\u66a8\u5c45\u8861\u6b65\u90fd\u803f\u6ee1\u5f18\u5321\u56fd\u6587\u5bc7\u5e7f\u7984\u9619\u4e1c\u6b27\u6bb3\u6c83\u5229\u851a\u8d8a\u5914\u9686\u5e08\u5de9\u538d\u8042\u6641\u52fe\u6556\u878d\u51b7\u8a3e\u8f9b\u961a\u90a3\u7b80\u9976\u7a7a\u66fe\u6bcb\u6c99\u4e5c\u517b\u97a0\u987b\u4e30\u5de2\u5173\u84af\u76f8\u67e5\u540e\u8346\u7ea2\u6e38\u7afa\u6743\u902e\u76cd\u76ca\u6853\u516c\u53ec\u6709\u821c\u4e1b\u5cb3\u5bf8\u8d30\u7687\u4fa8\u5f64\u7aed\u7aef\u8d6b\u5b9e\u752b\u96c6\u8c61\u7fe0\u72c2\u8f9f\u5178\u826f\u51fd\u8292\u82e6\u5176\u4eac\u4e2d\u5915\u4e4b\u8e47\u79f0\u8bfa\u6765\u591a\u7e41\u620a\u6734\u56de\u6bd3\u7a0e\u8364\u9756\u7eea\u6108\u7855\u7262\u4e70\u4f46\u5de7\u679a\u6492\u6cf0\u79d8\u4ea5\u7ecd\u4ee5\u58ec\u68ee\u658b\u91ca\u5955\u59d2\u670b\u6c42\u7fbd\u7528\u5360\u771f\u7a70\u7fe6\u95fe\u6f06\u8d35\u4ee3\u8d2f\u65c1\u5d07\u680b\u544a\u4f11\u8912\u8c0f\u9510\u768b\u95f3\u5728\u6b67\u79be\u793a\u662f\u59d4\u948a\u9891\u5b34\u547c\u5927\u5a01\u6602\u5f8b\u5192\u4fdd\u7cfb\u6284\u5b9a\u5316\u83b1\u6821\u4e48\u6297\u7962\u7da6\u609f\u5b8f\u529f\u5e9a\u52a1\u654f\u6377\u62f1\u5146\u4e11\u4e19\u7545\u82df\u968f\u7c7b\u536f\u4fdf\u53cb\u7b54\u4e59\u5141\u7532\u7559\u5c3e\u4f7c\u7384\u4e58\u88d4\u5ef6\u690d\u73af\u77eb\u8d5b\u6614\u4f8d\u5ea6\u65f7\u9047\u5076\u524d\u7531\u548e\u585e\u655b\u53d7\u6cf7\u88ad\u8845\u53d4\u5723\u5fa1\u592b\u4ec6\u9547\u85e9\u90b8\u5e9c\u638c\u9996\u5458\u7109\u620f\u53ef\u667a\u5c14\u51ed\u6089\u8fdb\u7b03\u539a\u4ec1\u4e1a\u8087\u8d44\u5408\u4ecd\u4e5d\u8877\u54c0\u5211\u4fce\u4ef5\u572d\u5937\u5fad\u86ee\u6c57\u5b5b\u4e7e\u5e16\u7f55\u6d1b\u6de6\u6d0b\u90b6\u90f8\u90ef\u9097\u909b\u5251\u8662\u968b\u84bf\u8306\u83c5\u82cc\u6811\u6850\u9501\u949f\u673a\u76d8\u94ce\u659b\u7389\u7ebf\u9488\u7b95\u5eb9\u7ef3\u78e8\u8489\u74ee\u5f2d\u5200\u758f\u7275\u6d51\u607d\u52bf\u4e16\u4edd\u540c\u8681\u6b62\u6222\u7762\u51bc\u79cd\u6d82\u8096\u5df1\u6ce3\u6f5c\u5377\u8131\u8c2c\u8e49\u8d67\u6d6e\u987f\u8bf4\u6b21\u9519\u5ff5\u5919\u65af\u5b8c\u4e39\u8868\u804a\u6e90\u59d3\u543e\u5bfb\u5c55\u51fa\u4e0d\u6237\u95ed\u624d\u65e0\u4e66\u5b66\u611a\u672c\u6027\u96ea\u971c\u70df\u5bd2\u5c11\u5b57\u6865\u677f\u6590\u72ec\u5343\u8bd7\u5609\u626c\u5584\u63ed\u7948\u6790\u8d64\u7d2b\u9752\u67d4\u521a\u5947\u62dc\u4f5b\u9640\u5f25\u963f\u7d20\u957f\u50e7\u9690\u4ed9\u96bd\u5b87\u796d\u9152\u6de1\u5854\u7426\u95ea\u59cb\u661f\u5357\u5929\u63a5\u6ce2\u78a7\u901f\u799a\u817e\u6f6e\u955c\u4f3c\u6f84\u6f6d\u8b07\u7eb5\u6e20\u5948\u98ce\u6625\u6fef\u6c90\u8302\u82f1\u5170\u6a80\u85e4\u679d\u68c0\u751f\u6298\u767b\u9a79\u9a91\u8c8a\u864e\u80a5\u9e7f\u96c0\u91ce\u79bd\u98de\u8282\u5b9c\u9c9c\u7c9f\u6817\u8c46\u5e1b\u5b98\u5e03\u8863\u85cf\u5b9d\u949e\u94f6\u95e8\u76c8\u5e86\u559c\u53ca\u666e\u5efa\u8425\u5de8\u671b\u5e0c\u9053\u8f7d\u58f0\u6f2b\u7281\u529b\u8d38\u52e4\u9769\u6539\u5174\u4e93\u7766\u4fee\u4fe1\u95fd\u5317\u5b88\u575a\u52c7\u6c49\u7ec3\u5c09\u58eb\u65c5\u4e94\u4ee4\u5c06\u65d7\u519b\u884c\u5949\u656c\u606d\u4eea\u6bcd\u5802\u4e18\u4e49\u793c\u6148\u5b5d\u7406\u4f26\u537f\u95ee\u6c38\u8f89\u4f4d\u8ba9\u5c27\u4f9d\u72b9\u4ecb\u627f\u5e02\u6240\u82d1\u675e\u5267\u7b2c\u96f6\u8c0c\u62db\u7eed\u8fbe\u5ffb\u516d\u911e\u6218\u8fdf\u5019\u5b9b\u52b1\u7c98\u8428\u909d\u8983\u8f9c\u521d\u697c\u57ce\u533a\u5c40\u53f0\u539f\u8003\u59ab\u7eb3\u6cc9\u8001\u6e05\u5fb7\u5351\u8fc7\u9ea6\u66f2\u7af9\u767e\u798f\u8a00\u4f5f\u7231\u5e74\u7b2a\u8c2f\u54c8\u58a8\u51a0\u5bbe\u9999\u679c\u8d4f\u4f2f\u4f74\u4f58\u725f\u5546\u7434\u540e\u51b5\u4ea2\u7f11\u5e05\u6d77\u5f52\u94a6\u9122\u6c5d\u6cd5\u95eb\u695a\u664b\u7763\u4ec9\u76d6\u902f\u5e93\u90cf\u9022\u9634\u8584\u5389\u7a3d\u5f00\u5149\u64cd\u745e\u772d\u6ce5\u8fd0\u6469\u4f1f\u94c1\u8fee",$="\u53f8\u5bc7 \u4e93\u5b98\u516c\u826f \u6bb5\u5e72 \u9c9c\u4e8e \u953a\u79bb \u767e\u91cc \u8c37\u6881 \u5bb0\u7236 \u5939\u8c37 \u62d3\u8dcb \u58e4\u9a77 \u4e50\u6b63 \u6f06\u96d5 \u516c\u897f \u5deb\u9a6c \u7aef\u6728 \u989b\u5b59 \u5b50\u8f66 \u5357\u5bab \u897f\u95e8 \u4e1c\u95e8 \u5de6\u4e18 \u6881\u4e18 \u5fae\u751f \u7f8a\u820c \u547c\u5ef6 \u5357\u95e8 \u4e1c\u90ed \u4e07\u4fdf \u53f8\u9a6c \u4e0a\u5b98 \u6b27\u9633 \u590f\u4faf \u8bf8\u845b \u95fb\u4eba \u4e1c\u65b9 \u8d6b\u8fde \u7687\u752b \u5c09\u8fdf \u516c\u7f8a  \u6fb9\u53f0 \u516c\u51b6 \u5b97\u653f \u6fee\u9633 \u6df3\u4e8e \u5355\u4e8e \u592a\u53d4 \u7533\u5c60 \u516c\u5b59 \u4ef2\u5b59 \u8f69\u8f95 \u4ee4\u72d0  \u949f\u79bb \u5b87\u6587 \u957f\u5b59 \u6155\u5bb9 \u53f8\u5f92 \u53f8\u7a7a \u53f6\u8d6b\u90a3\u62c9  \u7ae0\u4f73 \u90a3\u62c9 \u4f9d\u5c14\u6839\u89c9\u7f57 \u4f9d\u5c14\u89c9\u7f57 \u8428\u561b\u5587 \u8d6b\u820d\u91cc \u989d\u5c14\u5fb7\u7279  \u8428\u514b\u8fbe \u94ae\u795c\u7984 \u4ed6\u5854\u5587 \u559c\u5854\u814a \u8bb7\u6bb7\u5bcc\u5bdf \u53f6\u8d6b\u90a3\u5170 \u5e93\u96c5\u5587 \u74dc\u5c14\u4f73 \u8212\u7a46\u7984 \u7231\u65b0\u89c9\u7f57 \u7d22\u7ef0\u7edc \u7eb3\u5587  \u4e4c\u96c5 \u8303\u59dc \u78a7\u9c81 \u5f20\u5ed6 \u5f20\u7b80 \u56fe\u95e8 \u592a\u53f2 \u516c\u53d4 \u4e4c\u5b59 \u5b8c\u989c \u9a6c\u4f73 \u4f5f\u4f73  \u5bcc\u5bdf \u8d39\u83ab \u72ec\u5b64 \u9c9c\u4e8e \u95fe\u4e18 \u5b50\u8f66 \u4e93\u5b98 \u53f8\u5bc7 \u5deb\u9a6c \u516c\u897f \u989b\u5b59 \u58e4\u9a77\u3001\u516c\u826f \u6f06\u96d5 \u4e50\u6b63 \u5bb0\u7236 \u8c37\u6881 \u62d3\u8dcb \u5939\u8c37 \u8f69\u8f95 \u4ee4\u72d0 \u6bb5\u5e72 \u767e\u91cc \u5fae\u751f \u516c\u6237 \u516c\u7389 \u516c\u4eea \u6881\u4e18 \u516c\u4ef2 \u516c\u4e0a \u516c\u95e8 \u516c\u5c71 \u516c\u575a \u5de6\u4e18 \u516c\u4f2f \u897f\u95e8 \u516c\u7956 \u7b2c\u4e94 \u516c\u4e58 \u8d2f\u4e18 \u516c\u7699 \u5357\u8363 \u4e1c\u91cc \u4e1c\u5bab \u4ef2\u957f \u5b50\u4e66 \u5b50\u6851 \u5373\u58a8 \u8fbe\u595a \u891a\u5e08 ",C="\u4e86\u7684\u5417\u5427\u5462\u561b\u5566\u561e\u554a\u548b\u561b\u5643\u5605\u569f\u54a7\u55fb\u558e\u54af\u5570\u5569\u55ec\u5462\u55c4\u54a9\u560e",A=[0,1,2,3,4,5,6,7],B=function(E){if(E=="")return false;if(!new RegExp("^[\u4e00-\u9fa5]*$","i").test(E))return false;var G="",H=A[1];for(var B=0;B<E.length;B++){var F=E.charAt(B);if(_(C,F))return false;G+=F;switch(H){case A[1]:H=_(D,F)?A[3]:A[2];break;case A[2]:H=_($,G)?A[5]:A[2];break;case A[3]:if(E.charAt(B-1)==F)H=A[7];else if(G.length==E.length)H=A[6];else H=A[4];break;case A[4]:H=E.length<=4?A[6]:A[7];break;case A[5]:H=E.length-G.length>0&&E.length-G.length<=2?A[6]:A[7];break;default:break}if(H==A[7])break}return H==A[6]},_=function(_,$){return _.indexOf($)>=0};window.validateRealName=B})();(function(){var $=function($){if($=="")return false;var _=/^[a-zA-Z]{1,12}$|^[\u4e00-\u9fa5]{1,6}$/img;if(!_.test($))return false;return true};window.validateDirtyChar=$})();$(function(){$("input[name=role]").click(function(){$("tr.tr0").hide();$("tr.tr"+$(this).val()).show()});$("input#btnReg").click(regUser);$("input#txtEmail").focus(checkEmail);$("input#txtPassword").focus(checkPwd);$("input#txtConfirm").focus(checkConfirm);$("input#txtRealName").focus(checkRealName);$("input[name=role]").focus(checkRole);$("input#txtEmail").blur(checkEmail);$("input#txtPassword").blur(checkPwd);$("input#txtConfirm").blur(checkConfirm);$("input#txtRealName").blur(checkRealName);$("input[name=role]").blur(checkRole);$("input[name=role]").unbind("click").click(checkRole);$("#txtSchool").change(function(){checkRoleSetInfo($(this))});$("#GradeSelect").change(function(){checkRoleSetInfo($(this))});$("#SubjectSelect").change(function(){checkRoleSetInfo($(this))});$("#regCheck").click(function(){if($(this).attr("checked"))$("#btnReg").removeAttr("disabled");else $("#btnReg").attr("disabled","disabled")});$("input#txtPassword").live("keyup",function(){var _=$(this).next().next();$(this).next().hide();$(this).next().next().next().hide();_.find("div").hide();_.show();if(this.value==""||this.value.length<=5)_.find("div#pwd0").show();else if(new RegExp("[0-9]+[_-]+[a-zA-Z]+|[a-zA-Z]+[0-9]+[_-]+|[_-]+[a-zA-Z]+[0-9]+|[a-zA-Z]+[0-9]+[_-]+|[a-zA-Z]+[_-]+[0-9]+|[0-9]+[a-zA-Z]+[_-]+","i").test(this.value))_.find("div#pwd3").show();else if(new RegExp("[0-9]+[a-zA-Z]+|[0-9]+[_-]+|[a-zA-Z]+[0-9]+|[a-zA-Z]+[_-]+","i").test(this.value))_.find("div#pwd2").show();else _.find("div#pwd1").show()});$("input#txtPassword").live("keydown",function(){});$("input#txtPassword").live("blur",function(){});$("input#txtEmail").focus();$("#StudyTimeSelect option:first-child").remove()});function regUser(){var D=$("input[name=role][checked=true]").val();if(!validate(D))return;if(D=="1"){var A={UserId:0,UserName:$("input#txtEmail").val(),Password:$("input#txtPassword").val(),RealName:$("input#txtRealName").val()};UserService.OpenTeacher(A,"",regUserSuccess,onFailed)}else if(D=="2"){var _={UserId:0,UserName:$("input#txtEmail").val(),Password:$("input#txtPassword").val(),RealName:$("input#txtRealName").val()};UserService.OpenStudent(_,"",regUserSuccess,onFailed)}else if(D=="3"){var C={UserId:0,UserName:$("input#txtEmail").val(),Password:$("input#txtPassword").val(),RealName:$("input#txtRealName").val()};UserService.OpenTutor(C,"",regUserSuccess,onFailed)}else if(D=="4"){var B={UserId:0,UserName:$("input#txtEmail").val(),Password:$("input#txtPassword").val(),RealName:$("input#txtRealName").val()};UserService.OpenParent(B,"",regUserSuccess,onFailed)}}function regUserSuccess(_){popuAlert({contents:"\u6ce8\u518c\u6210\u529f",onHideFn:function(){var B=$("input[name=role][checked=true]").val();if(B=="3")location.href="/Edu/Common/CheckOut.aspx";else if(B=="4")location.href="/Edu/Common/ActivateForum.aspx?returnurl=showforum-13.aspx";else{if(B=="2")jQuery.cookie("guide_"+_,true,{expires:1,path:"/"});var A=$("#StudyTimeSelect").val();location.href="/Edu/Common/CheckOut.aspx"}}})}function validate($){if(!checkEmail())return false;if(!checkPwd())return false;if(!checkConfirm())return false;if(!checkRealName())return false;if(!checkRole())return false;if(isExist)return false;return true}function checkEmail(){var _=$("input#txtEmail"),A=checkInputForRegister.apply(_,[$.trim(_.val()),"^[a-z0-9]([a-z0-9]*[-_.]?[a-z0-9]+)*@[a-z0-9.]+?$","\u90ae\u7bb1\u683c\u5f0f\u6709\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165"]);if(A)UserService.NotExistUserName($.trim(_.val()),function(C){isExist=!C;if(!C){var A=_,B=A.parent().find("div.iconSet");if(A.parent().find("div.tipBox2").css("display")=="none"){$("div.tipBox").hide();$("div.tipBox2").hide();B.removeClass();B.addClass("iconSet");B.addClass("falseIcon");B.css("display","inline");A.parents("td").find("div.tipBox2 i").html("\u8be5\u90ae\u7bb1\u5df2\u6ce8\u518c\uff0c\u60a8\u53ef\u4ee5\uff1a<br/><a href=\"/\">\u7acb\u5373\u4ee5\u8be5\u90ae\u7bb1\u767b\u5f55</a><br/>&nbsp;&nbsp;\u6216<a href=\"javascript:clearEmail();\">\u6362\u4e00\u4e2a\u90ae\u7bb1</a>");A.parents("td").find("div.tipBox2").show()}}},onFailed);return A}function checkPwd(){var A=$("input#txtPassword");if($.trim(A.val())==""){var _=$(this).next().next();_.find("div").hide();_.find("div#pwd0").show()}return checkInputForRegister.apply(A,[A.val(),"^[0-9a-bA-Z_-]{6,18}$"])}function checkRealName(){var _=$("input#txtRealName");if(!validateDirtyChar(_.val()))return checkInputForRegister.apply(_,[_.val(),"_"]);return checkInputForRegister.apply(_,[_.val(),""])}function checkConfirm(){$("div.tipBox").hide();$("div.tipBox2").hide();var _=$("input#txtConfirm"),A=_.parent().find("div.iconSet");A.removeClass();A.addClass("iconSet");if(_.val()==""){_.parent().find("div.tipBox").show();return false}if($("input#txtPassword").val()==_.val()){A.addClass("trueIcon");A.css("display","inline");return true}A.addClass("falseIcon");A.css("display","inline");_.parent().find("div.tipBox2").show();return false}function checkInputForRegister(_,D,C){$("div.tipBox").hide();$("div.tipBox2").hide();var A=this,B=A.parent().find("div.iconSet");B.removeClass();B.addClass("iconSet");if(_==""){A.parent().find("div.tipBox").show();return false}if(!new RegExp(D,"i").test(_)){B.addClass("falseIcon");B.css("display","inline");if(C!=null)A.parent().find("div.tipBox2 i").html(C);A.parent().find("div.tipBox2").show();return false}A.parent().find("div.tipBox2").hide();B.addClass("trueIcon");B.css("display","inline");return true}function checkRole(){$("div.tipBox").hide();$("div.tipBox2").hide();var _=$("input[type=radio][name=role]");_.parent().find("div.tipBox").show();if($("input[name=role][checked=true]").length==0){$("div#roleAlert").css("display","inline");return false}$("div#roleAlert").hide();return true}function checkRoleSetInfo($){if($.val()==""){$.parent().find("div.tipBox2").show();return false}$.parent().find("div.tipBox2").hide();return true}function clearEmail(){$("#txtEmail").val("");$("#txtEmail").focus();$("div.tipBox3").hide()}jQuery.cookie=function(I,_,D){if(typeof _!="undefined"){D=D||{};if(_===null){_="";D.expires=-1}var J="";if(D.expires&&(typeof D.expires=="number"||D.expires.toUTCString)){var B;if(typeof D.expires=="number"){B=new Date();B.setTime(B.getTime()+(D.expires*24*60*60*1000))}else B=D.expires;J="; expires="+B.toUTCString()}var H=D.path?"; path="+(D.path):"",G=D.domain?"; domain="+(D.domain):"",$=D.secure?"; secure":"";document.cookie=[I,"=",encodeURIComponent(_),J,H,G,$].join("")}else{var C=null;if(document.cookie&&document.cookie!=""){var E=document.cookie.split(";");for(var F=0;F<E.length;F++){var A=jQuery.trim(E[F]);if(A.substring(0,I.length+1)==(I+"=")){C=decodeURIComponent(A.substring(I.length+1));break}}}return C}};var UserService=function(){UserService.initializeBase(this);this._timeout=0;this._userContext=null;this._succeeded=null;this._failed=null};UserService.prototype={_get_path:function(){var $=this.get_path();if($)return $;else return UserService._staticInstance.get_path()},ActivateForumUser:function(B,$,A,_){return this._invoke(this._get_path(),"ActivateForumUser",false,{nickName:B},$,A,_)},ValidNickName:function(B,$,A,_){return this._invoke(this._get_path(),"ValidNickName",false,{nickName:B},$,A,_)},ExistNickName:function(B,$,A,_){return this._invoke(this._get_path(),"ExistNickName",false,{nickName:B},$,A,_)},NotExistUserName:function($,_,B,A){return this._invoke(this._get_path(),"NotExistUserName",false,{userName:$},_,B,A)},IsLogin:function($,A,_){return this._invoke(this._get_path(),"IsLogin",false,{},$,A,_)},OpenTeacher:function(_,$,A,C,B){return this._invoke(this._get_path(),"OpenTeacher",false,{teacherInfoEN:_,invitationCode:$},A,C,B)},OpenStudent:function(_,$,A,C,B){return this._invoke(this._get_path(),"OpenStudent",false,{studentInfoEN:_,invitationCode:$},A,C,B)},OpenTutor:function(B,$,_,C,A){return this._invoke(this._get_path(),"OpenTutor",false,{tutorInfoEN:B,invitationCode:$},_,C,A)},OpenParent:function(B,$,_,C,A){return this._invoke(this._get_path(),"OpenParent",false,{parentInfoEN:B,invitationCode:$},_,C,A)},Login:function(_,$,A,C,B){return this._invoke(this._get_path(),"Login",false,{userName:_,password:$},A,C,B)},LoginPersistent:function(_,$,C,A,D,B){return this._invoke(this._get_path(),"LoginPersistent",false,{userName:_,password:$,isPersistent:C},A,D,B)},ChangePassword:function($,A,_,C,B){return this._invoke(this._get_path(),"ChangePassword",false,{oldPwd:$,newPwd:A},_,C,B)},UpdateContactInfo:function(A,$,B,_){return this._invoke(this._get_path(),"UpdateContactInfo",false,{userContact:A},$,B,_)},UpdateSubjectConfig:function($,_,B,A){return this._invoke(this._get_path(),"UpdateSubjectConfig",false,{subjectConfig:$},_,B,A)},UpdatePaperTypeConfig:function(_,$,B,A){return this._invoke(this._get_path(),"UpdatePaperTypeConfig",false,{paperTypeConfig:_},$,B,A)},UpdateTemplateConfig:function(A,$,B,_){return this._invoke(this._get_path(),"UpdateTemplateConfig",false,{templateConfig:A},$,B,_)},UpdateBaseInfo:function(_,$,B,A){return this._invoke(this._get_path(),"UpdateBaseInfo",false,{userInfoEN:_},$,B,A)},UpdateGKInfo:function(_,C,B,$,D,A){return this._invoke(this._get_path(),"UpdateGKInfo",false,{examineeType:_,gkAim:C,scores:B},$,D,A)},AddTeach:function($,_,B,A){return this._invoke(this._get_path(),"AddTeach",false,{teachEN:$},_,B,A)},RemoveTeach:function(B,$,A,_){return this._invoke(this._get_path(),"RemoveTeach",false,{teachId:B},$,A,_)},UpdateTeach:function($,_,B,A){return this._invoke(this._get_path(),"UpdateTeach",false,{teachEN:$},_,B,A)},UpdateStudentInfo:function($,_,B,A){return this._invoke(this._get_path(),"UpdateStudentInfo",false,{studentInfoEN:$},_,B,A)},AddSubject:function(B,$,A,_){return this._invoke(this._get_path(),"AddSubject",false,{subject:B},$,A,_)},RemoveSubject:function(B,$,A,_){return this._invoke(this._get_path(),"RemoveSubject",false,{subject:B},$,A,_)},RemoveRecommendUser:function($,_,B,A){return this._invoke(this._get_path(),"RemoveRecommendUser",false,{userId:$},_,B,A)},GetRecommendUser:function($,_,B,A){return this._invoke(this._get_path(),"GetRecommendUser",false,{last:$},_,B,A)},IgnoreMessage:function(A,$,B,_){return this._invoke(this._get_path(),"IgnoreMessage",false,{messageId:A},$,B,_)},GetFriendListByUser:function($,_,B,A){return this._invoke(this._get_path(),"GetFriendListByUser",false,{userId:$},_,B,A)},GetFriendList:function($,A,_){return this._invoke(this._get_path(),"GetFriendList",false,{},$,A,_)},GetUserName:function($,_,B,A){return this._invoke(this._get_path(),"GetUserName",false,{userId:$},_,B,A)},CheckUserDoing:function(B,$,A,_){return this._invoke(this._get_path(),"CheckUserDoing",false,{doingCode:B},$,A,_)},CheckUserTaskIsFinished:function(B,$,A,_){return this._invoke(this._get_path(),"CheckUserTaskIsFinished",false,{doingCode:B},$,A,_)},CheckUserTaskIsShow:function(B,$,A,_){return this._invoke(this._get_path(),"CheckUserTaskIsShow",false,{doingCode:B},$,A,_)},GetFinishedTask:function($,A,_){return this._invoke(this._get_path(),"GetFinishedTask",false,{},$,A,_)},GetUnFinishedTask:function($,A,_){return this._invoke(this._get_path(),"GetUnFinishedTask",false,{},$,A,_)},ExecuteUserDoing:function(B,$,A,_){return this._invoke(this._get_path(),"ExecuteUserDoing",false,{doingCode:B},$,A,_)},SetUserTaskUnShow:function(B,$,A,_){return this._invoke(this._get_path(),"SetUserTaskUnShow",false,{doingCode:B},$,A,_)},GetDefaultHeaderTask:function($,A,_){return this._invoke(this._get_path(),"GetDefaultHeaderTask",false,{},$,A,_)},GetMyLoginMoney:function($,A,_){return this._invoke(this._get_path(),"GetMyLoginMoney",false,{},$,A,_)},AddMyLoginMoney:function($,A,_){return this._invoke(this._get_path(),"AddMyLoginMoney",false,{},$,A,_)},Recovery:function(_,$,A,C,B){return this._invoke(this._get_path(),"Recovery",false,{userName:_,code:$},A,C,B)},ResetPassword:function(_,B,$,A,D,C){return this._invoke(this._get_path(),"ResetPassword",false,{userName:_,newPwd:B,code:$},A,D,C)},UpdateMistakeConfig:function($,_,B,A){return this._invoke(this._get_path(),"UpdateMistakeConfig",false,{item:$},_,B,A)},ApplyChangeName:function($,_,B,A){return this._invoke(this._get_path(),"ApplyChangeName",false,{realName:$},_,B,A)},OpenForTeacher:function($,_,B,A){return this._invoke(this._get_path(),"OpenForTeacher",false,{teacherInfoEN:$},_,B,A)},OpenForStudent:function($,_,B,A){return this._invoke(this._get_path(),"OpenForStudent",false,{studentInfoEN:$},_,B,A)},OpenForTutor:function(A,$,B,_){return this._invoke(this._get_path(),"OpenForTutor",false,{tutorInfoEN:A},$,B,_)},UpdateSubjectKpsTreeConfig:function($,_,B,A){return this._invoke(this._get_path(),"UpdateSubjectKpsTreeConfig",false,{config:$},_,B,A)}};UserService.registerClass("UserService",Sys.Net.WebServiceProxy);UserService._staticInstance=new UserService();UserService.set_path=function($){UserService._staticInstance.set_path($)};UserService.get_path=function(){return UserService._staticInstance.get_path()};UserService.set_timeout=function($){UserService._staticInstance.set_timeout($)};UserService.get_timeout=function(){return UserService._staticInstance.get_timeout()};UserService.set_defaultUserContext=function($){UserService._staticInstance.set_defaultUserContext($)};UserService.get_defaultUserContext=function(){return UserService._staticInstance.get_defaultUserContext()};UserService.set_defaultSucceededCallback=function($){UserService._staticInstance.set_defaultSucceededCallback($)};UserService.get_defaultSucceededCallback=function(){return UserService._staticInstance.get_defaultSucceededCallback()};UserService.set_defaultFailedCallback=function($){UserService._staticInstance.set_defaultFailedCallback($)};UserService.get_defaultFailedCallback=function(){return UserService._staticInstance.get_defaultFailedCallback()};UserService.set_path("/App_Service/UserService.asmx");UserService.ActivateForumUser=function(A,B,$,_){UserService._staticInstance.ActivateForumUser(A,B,$,_)};UserService.ValidNickName=function(A,B,$,_){UserService._staticInstance.ValidNickName(A,B,$,_)};UserService.ExistNickName=function(A,B,$,_){UserService._staticInstance.ExistNickName(A,B,$,_)};UserService.NotExistUserName=function($,B,_,A){UserService._staticInstance.NotExistUserName($,B,_,A)};UserService.IsLogin=function(A,$,_){UserService._staticInstance.IsLogin(A,$,_)};UserService.OpenTeacher=function(_,$,C,A,B){UserService._staticInstance.OpenTeacher(_,$,C,A,B)};UserService.OpenStudent=function(_,$,C,A,B){UserService._staticInstance.OpenStudent(_,$,C,A,B)};UserService.OpenTutor=function(B,$,C,_,A){UserService._staticInstance.OpenTutor(B,$,C,_,A)};UserService.OpenParent=function(B,$,C,_,A){UserService._staticInstance.OpenParent(B,$,C,_,A)};UserService.Login=function(_,$,C,A,B){UserService._staticInstance.Login(_,$,C,A,B)};UserService.LoginPersistent=function(_,$,C,D,A,B){UserService._staticInstance.LoginPersistent(_,$,C,D,A,B)};UserService.ChangePassword=function($,A,C,_,B){UserService._staticInstance.ChangePassword($,A,C,_,B)};UserService.UpdateContactInfo=function(A,B,$,_){UserService._staticInstance.UpdateContactInfo(A,B,$,_)};UserService.UpdateSubjectConfig=function($,B,_,A){UserService._staticInstance.UpdateSubjectConfig($,B,_,A)};UserService.UpdatePaperTypeConfig=function(_,B,$,A){UserService._staticInstance.UpdatePaperTypeConfig(_,B,$,A)};UserService.UpdateTemplateConfig=function(A,B,$,_){UserService._staticInstance.UpdateTemplateConfig(A,B,$,_)};UserService.UpdateBaseInfo=function(_,B,$,A){UserService._staticInstance.UpdateBaseInfo(_,B,$,A)};UserService.UpdateGKInfo=function(_,C,B,D,$,A){UserService._staticInstance.UpdateGKInfo(_,C,B,D,$,A)};UserService.AddTeach=function($,B,_,A){UserService._staticInstance.AddTeach($,B,_,A)};UserService.RemoveTeach=function(A,B,$,_){UserService._staticInstance.RemoveTeach(A,B,$,_)};UserService.UpdateTeach=function($,B,_,A){UserService._staticInstance.UpdateTeach($,B,_,A)};UserService.UpdateStudentInfo=function($,B,_,A){UserService._staticInstance.UpdateStudentInfo($,B,_,A)};UserService.AddSubject=function(A,B,$,_){UserService._staticInstance.AddSubject(A,B,$,_)};UserService.RemoveSubject=function(A,B,$,_){UserService._staticInstance.RemoveSubject(A,B,$,_)};UserService.RemoveRecommendUser=function($,B,_,A){UserService._staticInstance.RemoveRecommendUser($,B,_,A)};UserService.GetRecommendUser=function($,B,_,A){UserService._staticInstance.GetRecommendUser($,B,_,A)};UserService.IgnoreMessage=function(A,B,$,_){UserService._staticInstance.IgnoreMessage(A,B,$,_)};UserService.GetFriendListByUser=function($,B,_,A){UserService._staticInstance.GetFriendListByUser($,B,_,A)};UserService.GetFriendList=function(A,$,_){UserService._staticInstance.GetFriendList(A,$,_)};UserService.GetUserName=function($,B,_,A){UserService._staticInstance.GetUserName($,B,_,A)};UserService.CheckUserDoing=function(A,B,$,_){UserService._staticInstance.CheckUserDoing(A,B,$,_)};UserService.CheckUserTaskIsFinished=function(A,B,$,_){UserService._staticInstance.CheckUserTaskIsFinished(A,B,$,_)};UserService.CheckUserTaskIsShow=function(A,B,$,_){UserService._staticInstance.CheckUserTaskIsShow(A,B,$,_)};UserService.GetFinishedTask=function(A,$,_){UserService._staticInstance.GetFinishedTask(A,$,_)};UserService.GetUnFinishedTask=function(A,$,_){UserService._staticInstance.GetUnFinishedTask(A,$,_)};UserService.ExecuteUserDoing=function(A,B,$,_){UserService._staticInstance.ExecuteUserDoing(A,B,$,_)};UserService.SetUserTaskUnShow=function(A,B,$,_){UserService._staticInstance.SetUserTaskUnShow(A,B,$,_)};UserService.GetDefaultHeaderTask=function(A,$,_){UserService._staticInstance.GetDefaultHeaderTask(A,$,_)};UserService.GetMyLoginMoney=function(A,$,_){UserService._staticInstance.GetMyLoginMoney(A,$,_)};UserService.AddMyLoginMoney=function(A,$,_){UserService._staticInstance.AddMyLoginMoney(A,$,_)};UserService.Recovery=function(_,$,C,A,B){UserService._staticInstance.Recovery(_,$,C,A,B)};UserService.ResetPassword=function(_,B,$,D,A,C){UserService._staticInstance.ResetPassword(_,B,$,D,A,C)};UserService.UpdateMistakeConfig=function($,B,_,A){UserService._staticInstance.UpdateMistakeConfig($,B,_,A)};UserService.ApplyChangeName=function($,B,_,A){UserService._staticInstance.ApplyChangeName($,B,_,A)};UserService.OpenForTeacher=function($,B,_,A){UserService._staticInstance.OpenForTeacher($,B,_,A)};UserService.OpenForStudent=function($,B,_,A){UserService._staticInstance.OpenForStudent($,B,_,A)};UserService.OpenForTutor=function(A,B,$,_){UserService._staticInstance.OpenForTutor(A,B,$,_)};UserService.UpdateSubjectKpsTreeConfig=function($,B,_,A){UserService._staticInstance.UpdateSubjectKpsTreeConfig($,B,_,A)};var gtc=Sys.Net.WebServiceProxy._generateTypedConstructor;Type.registerNamespace("ND.OnlineLearning.Lib");if(typeof(ND.OnlineLearning.Lib.TeacherInfoEN)==="undefined"){ND.OnlineLearning.Lib.TeacherInfoEN=gtc("ND.OnlineLearning.Lib.TeacherInfoEN");ND.OnlineLearning.Lib.TeacherInfoEN.registerClass("ND.OnlineLearning.Lib.TeacherInfoEN")}if(typeof(ND.OnlineLearning.Lib.StudentInfoEN)==="undefined"){ND.OnlineLearning.Lib.StudentInfoEN=gtc("ND.OnlineLearning.Lib.StudentInfoEN");ND.OnlineLearning.Lib.StudentInfoEN.registerClass("ND.OnlineLearning.Lib.StudentInfoEN")}if(typeof(ND.OnlineLearning.Lib.TutorInfoEN)==="undefined"){ND.OnlineLearning.Lib.TutorInfoEN=gtc("ND.OnlineLearning.Lib.TutorInfoEN");ND.OnlineLearning.Lib.TutorInfoEN.registerClass("ND.OnlineLearning.Lib.TutorInfoEN")}if(typeof(ND.OnlineLearning.Lib.ParentInfoEN)==="undefined"){ND.OnlineLearning.Lib.ParentInfoEN=gtc("ND.OnlineLearning.Lib.ParentInfoEN");ND.OnlineLearning.Lib.ParentInfoEN.registerClass("ND.OnlineLearning.Lib.ParentInfoEN")}if(typeof(ND.OnlineLearning.Lib.ContactItem)==="undefined"){ND.OnlineLearning.Lib.ContactItem=gtc("ND.OnlineLearning.Lib.ContactItem");ND.OnlineLearning.Lib.ContactItem.registerClass("ND.OnlineLearning.Lib.ContactItem")}if(typeof(ND.OnlineLearning.Lib.SubjectConfigItem)==="undefined"){ND.OnlineLearning.Lib.SubjectConfigItem=gtc("ND.OnlineLearning.Lib.SubjectConfigItem");ND.OnlineLearning.Lib.SubjectConfigItem.registerClass("ND.OnlineLearning.Lib.SubjectConfigItem")}if(typeof(ND.OnlineLearning.Lib.PaperTypeConfigItem)==="undefined"){ND.OnlineLearning.Lib.PaperTypeConfigItem=gtc("ND.OnlineLearning.Lib.PaperTypeConfigItem");ND.OnlineLearning.Lib.PaperTypeConfigItem.registerClass("ND.OnlineLearning.Lib.PaperTypeConfigItem")}if(typeof(ND.OnlineLearning.Lib.TemplateConfigItem)==="undefined"){ND.OnlineLearning.Lib.TemplateConfigItem=gtc("ND.OnlineLearning.Lib.TemplateConfigItem");ND.OnlineLearning.Lib.TemplateConfigItem.registerClass("ND.OnlineLearning.Lib.TemplateConfigItem")}if(typeof(ND.OnlineLearning.Lib.UserInfoEN)==="undefined"){ND.OnlineLearning.Lib.UserInfoEN=gtc("ND.OnlineLearning.Lib.UserInfoEN");ND.OnlineLearning.Lib.UserInfoEN.registerClass("ND.OnlineLearning.Lib.UserInfoEN")}if(typeof(ND.OnlineLearning.Lib.TeachEN)==="undefined"){ND.OnlineLearning.Lib.TeachEN=gtc("ND.OnlineLearning.Lib.TeachEN");ND.OnlineLearning.Lib.TeachEN.registerClass("ND.OnlineLearning.Lib.TeachEN")}Type.registerNamespace("System.Data");if(typeof(System.Data.DataTable)==="undefined"){System.Data.DataTable=gtc("System.Data.DataTable");System.Data.DataTable.registerClass("System.Data.DataTable")}if(typeof(ND.OnlineLearning.Lib.UserSimple)==="undefined"){ND.OnlineLearning.Lib.UserSimple=gtc("ND.OnlineLearning.Lib.UserSimple");ND.OnlineLearning.Lib.UserSimple.registerClass("ND.OnlineLearning.Lib.UserSimple")}if(typeof(ND.OnlineLearning.Lib.UserDoingInfo)==="undefined"){ND.OnlineLearning.Lib.UserDoingInfo=gtc("ND.OnlineLearning.Lib.UserDoingInfo");ND.OnlineLearning.Lib.UserDoingInfo.registerClass("ND.OnlineLearning.Lib.UserDoingInfo")}if(typeof(ND.OnlineLearning.Lib.MistakeConfigItem)==="undefined"){ND.OnlineLearning.Lib.MistakeConfigItem=gtc("ND.OnlineLearning.Lib.MistakeConfigItem");ND.OnlineLearning.Lib.MistakeConfigItem.registerClass("ND.OnlineLearning.Lib.MistakeConfigItem")}if(typeof(ND.OnlineLearning.Lib.SubjectKpsTreeConfig)==="undefined"){ND.OnlineLearning.Lib.SubjectKpsTreeConfig=gtc("ND.OnlineLearning.Lib.SubjectKpsTreeConfig");ND.OnlineLearning.Lib.SubjectKpsTreeConfig.registerClass("ND.OnlineLearning.Lib.SubjectKpsTreeConfig")}if(typeof(ND.OnlineLearning.Lib.ExamineeType)==="undefined"){ND.OnlineLearning.Lib.ExamineeType=function(){throw Error.invalidOperation()};ND.OnlineLearning.Lib.ExamineeType.prototype={None:0,ArtsGK:1,ArtsYK:2,ScienceGK:3,ScienceYK:4};ND.OnlineLearning.Lib.ExamineeType.registerEnum("ND.OnlineLearning.Lib.ExamineeType",true)}if(typeof(ND.OnlineLearning.Lib.GKAim)==="undefined"){ND.OnlineLearning.Lib.GKAim=function(){throw Error.invalidOperation()};ND.OnlineLearning.Lib.GKAim.prototype={None:0,Ben1:1,Ben2:2,Ben3:3,JuniorCollege:4};ND.OnlineLearning.Lib.GKAim.registerEnum("ND.OnlineLearning.Lib.GKAim",true)}if(typeof(ND.OnlineLearning.Lib.Subject)==="undefined"){ND.OnlineLearning.Lib.Subject=function(){throw Error.invalidOperation()};ND.OnlineLearning.Lib.Subject.prototype={None:0,Chinese:1,Mathematics:2,English:3,Politics:4,Physics:5,Chemistry:6,History:7,Geography:8,Biology:9};ND.OnlineLearning.Lib.Subject.registerEnum("ND.OnlineLearning.Lib.Subject",true)}var CommonService=function(){CommonService.initializeBase(this);this._timeout=0;this._userContext=null;this._succeeded=null;this._failed=null};CommonService.prototype={_get_path:function(){var $=this.get_path();if($)return $;else return CommonService._staticInstance.get_path()},GetCityInTree:function($,A,_){return this._invoke(this._get_path(),"GetCityInTree",false,{},$,A,_)},GetSchoolList:function(A,$,B,_){return this._invoke(this._get_path(),"GetSchoolList",false,{areaId:A},$,B,_)},GetAreaTree:function($,A,_){return this._invoke(this._get_path(),"GetAreaTree",false,{},$,A,_)},GetProvinceList:function($,A,_){return this._invoke(this._get_path(),"GetProvinceList",false,{},$,A,_)},GetSchool:function(_,$,B,A){return this._invoke(this._get_path(),"GetSchool",false,{schoolId:_},$,B,A)}};CommonService.registerClass("CommonService",Sys.Net.WebServiceProxy);CommonService._staticInstance=new CommonService();CommonService.set_path=function($){CommonService._staticInstance.set_path($)};CommonService.get_path=function(){return CommonService._staticInstance.get_path()};CommonService.set_timeout=function($){CommonService._staticInstance.set_timeout($)};CommonService.get_timeout=function(){return CommonService._staticInstance.get_timeout()};CommonService.set_defaultUserContext=function($){CommonService._staticInstance.set_defaultUserContext($)};CommonService.get_defaultUserContext=function(){return CommonService._staticInstance.get_defaultUserContext()};CommonService.set_defaultSucceededCallback=function($){CommonService._staticInstance.set_defaultSucceededCallback($)};CommonService.get_defaultSucceededCallback=function(){return CommonService._staticInstance.get_defaultSucceededCallback()};CommonService.set_defaultFailedCallback=function($){CommonService._staticInstance.set_defaultFailedCallback($)};CommonService.get_defaultFailedCallback=function(){return CommonService._staticInstance.get_defaultFailedCallback()};CommonService.set_path("/App_Service/CommonService.asmx");CommonService.GetCityInTree=function(A,$,_){CommonService._staticInstance.GetCityInTree(A,$,_)};CommonService.GetSchoolList=function(A,B,$,_){CommonService._staticInstance.GetSchoolList(A,B,$,_)};CommonService.GetAreaTree=function(A,$,_){CommonService._staticInstance.GetAreaTree(A,$,_)};CommonService.GetProvinceList=function(A,$,_){CommonService._staticInstance.GetProvinceList(A,$,_)};CommonService.GetSchool=function(_,B,$,A){CommonService._staticInstance.GetSchool(_,B,$,A)};gtc=Sys.Net.WebServiceProxy._generateTypedConstructor;Type.registerNamespace("ND.OnlineLearning.Lib");if(typeof(ND.OnlineLearning.Lib.CityInTreeEN)==="undefined"){ND.OnlineLearning.Lib.CityInTreeEN=gtc("ND.OnlineLearning.Lib.CityInTreeEN");ND.OnlineLearning.Lib.CityInTreeEN.registerClass("ND.OnlineLearning.Lib.CityInTreeEN")}if(typeof(ND.OnlineLearning.Lib.SchoolEN)==="undefined"){ND.OnlineLearning.Lib.SchoolEN=gtc("ND.OnlineLearning.Lib.SchoolEN");ND.OnlineLearning.Lib.SchoolEN.registerClass("ND.OnlineLearning.Lib.SchoolEN")}if(typeof(ND.OnlineLearning.Lib.AreaInfoEN)==="undefined"){ND.OnlineLearning.Lib.AreaInfoEN=gtc("ND.OnlineLearning.Lib.AreaInfoEN");ND.OnlineLearning.Lib.AreaInfoEN.registerClass("ND.OnlineLearning.Lib.AreaInfoEN")}if(typeof(ND.OnlineLearning.Lib.AreaEN)==="undefined"){ND.OnlineLearning.Lib.AreaEN=gtc("ND.OnlineLearning.Lib.AreaEN");ND.OnlineLearning.Lib.AreaEN.registerClass("ND.OnlineLearning.Lib.AreaEN")}