// cached javascript var AjaxClass = { getNewsList:function(_page,callback,context){return new ajax_request(this.url + '?_method=getNewsList&_session=no','_page=' + enc(_page),callback, context);}, getNewsListPage:function(_page,callback,context){return new ajax_request(this.url + '?_method=getNewsListPage&_session=no','_page=' + enc(_page),callback, context);}, ExecDriver:function(_tname,_sex,_tTel,_tMail,_upaddr,_downaddr,_tDriverType,_tOrderTime,_tBTime,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecDriver&_session=rw','_tname=' + enc(_tname)+ '\r\n_sex=' + enc(_sex)+ '\r\n_tTel=' + enc(_tTel)+ '\r\n_tMail=' + enc(_tMail)+ '\r\n_upaddr=' + enc(_upaddr)+ '\r\n_downaddr=' + enc(_downaddr)+ '\r\n_tDriverType=' + enc(_tDriverType)+ '\r\n_tOrderTime=' + enc(_tOrderTime)+ '\r\n_tBTime=' + enc(_tBTime)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, ExecTrain:function(_tname,_sex,_tTel,_tMail,_upaddr,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecTrain&_session=rw','_tname=' + enc(_tname)+ '\r\n_sex=' + enc(_sex)+ '\r\n_tTel=' + enc(_tTel)+ '\r\n_tMail=' + enc(_tMail)+ '\r\n_upaddr=' + enc(_upaddr)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, ExecDriverVote:function(_tNo,_tname,_tEvent,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecDriverVote&_session=no','_tNo=' + enc(_tNo)+ '\r\n_tname=' + enc(_tname)+ '\r\n_tEvent=' + enc(_tEvent)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, ExecTrainVote:function(_tNo,_tname,_tEvent,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecTrainVote&_session=no','_tNo=' + enc(_tNo)+ '\r\n_tname=' + enc(_tname)+ '\r\n_tEvent=' + enc(_tEvent)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, ExecTry:function(_tname,_sex,_tTel,_tMail,_area,_upaddr,_idcard,_ptype,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecTry&_session=rw','_tname=' + enc(_tname)+ '\r\n_sex=' + enc(_sex)+ '\r\n_tTel=' + enc(_tTel)+ '\r\n_tMail=' + enc(_tMail)+ '\r\n_area=' + enc(_area)+ '\r\n_upaddr=' + enc(_upaddr)+ '\r\n_idcard=' + enc(_idcard)+ '\r\n_ptype=' + enc(_ptype)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, ExecTrip:function(_tname,_sex,_tTel,_tMail,_area,_upaddr,_ptype,_tContent,callback,context){return new ajax_request(this.url + '?_method=ExecTrip&_session=rw','_tname=' + enc(_tname)+ '\r\n_sex=' + enc(_sex)+ '\r\n_tTel=' + enc(_tTel)+ '\r\n_tMail=' + enc(_tMail)+ '\r\n_area=' + enc(_area)+ '\r\n_upaddr=' + enc(_upaddr)+ '\r\n_ptype=' + enc(_ptype)+ '\r\n_tContent=' + enc(_tContent),callback, context);}, getProductList:function(_page,_cid,callback,context){return new ajax_request(this.url + '?_method=getProductList&_session=rw','_page=' + enc(_page)+ '\r\n_cid=' + enc(_cid),callback, context);}, getPageProduct:function(_page,_cid,callback,context){return new ajax_request(this.url + '?_method=getPageProduct&_session=rw','_page=' + enc(_page)+ '\r\n_cid=' + enc(_cid),callback, context);}, ExecUser:function(_user,callback,context){return new ajax_request(this.url + '?_method=ExecUser&_session=no','_user=' + enc(_user),callback, context);}, execShopCart:function(_pid,_num,_state,callback,context){return new ajax_request(this.url + '?_method=execShopCart&_session=rw','_pid=' + enc(_pid)+ '\r\n_num=' + enc(_num)+ '\r\n_state=' + enc(_state),callback, context);}, execShopCartModified:function(_id,_productid,_quantity,callback,context){return new ajax_request(this.url + '?_method=execShopCartModified&_session=no','_id=' + enc(_id)+ '\r\n_productid=' + enc(_productid)+ '\r\n_quantity=' + enc(_quantity),callback, context);}, AnLoginShopModifyCount:function(_id,_productid,_userid,callback,context){return new ajax_request(this.url + '?_method=AnLoginShopModifyCount&_session=no','_id=' + enc(_id)+ '\r\n_productid=' + enc(_productid)+ '\r\n_userid=' + enc(_userid),callback, context);}, GetShopCart:function(_userid,_unTotal,_id,_productid,callback,context){return new ajax_request(this.url + '?_method=GetShopCart&_session=no','_userid=' + enc(_userid)+ '\r\n_unTotal=' + enc(_unTotal)+ '\r\n_id=' + enc(_id)+ '\r\n_productid=' + enc(_productid),callback, context);}, deleteShopCartEn:function(_id,callback,context){return new ajax_request(this.url + '?_method=deleteShopCartEn&_session=no','_id=' + enc(_id),callback, context);}, getQShopCartList:function(_userid,_unTotal,_citem,_id,_productid,callback,context){return new ajax_request(this.url + '?_method=getQShopCartList&_session=rw','_userid=' + enc(_userid)+ '\r\n_unTotal=' + enc(_unTotal)+ '\r\n_citem=' + enc(_citem)+ '\r\n_id=' + enc(_id)+ '\r\n_productid=' + enc(_productid),callback, context);}, removeShopCartEn:function(_userid,callback,context){return new ajax_request(this.url + '?_method=removeShopCartEn&_session=no','_userid=' + enc(_userid),callback, context);}, execDivShopCart:function(_productid,_quality,_state,callback,context){return new ajax_request(this.url + '?_method=execDivShopCart&_session=rw','_productid=' + enc(_productid)+ '\r\n_quality=' + enc(_quality)+ '\r\n_state=' + enc(_state),callback, context);}, getUserLoginCns:function(_user,_pwd,callback,context){return new ajax_request(this.url + '?_method=getUserLoginCns&_session=rw','_user=' + enc(_user)+ '\r\n_pwd=' + enc(_pwd),callback, context);}, getOrderList:function(_str,_username,page,callback,context){return new ajax_request(this.url + '?_method=getOrderList&_session=no','_str=' + enc(_str)+ '\r\n_username=' + enc(_username)+ '\r\npage=' + enc(page),callback, context);}, orderPageInfo:function(_str,_username,page,callback,context){return new ajax_request(this.url + '?_method=orderPageInfo&_session=no','_str=' + enc(_str)+ '\r\n_username=' + enc(_username)+ '\r\npage=' + enc(page),callback, context);}, getOrderHistoryDetail:function(_orderid,callback,context){return new ajax_request(this.url + '?_method=getOrderHistoryDetail&_session=no','_orderid=' + enc(_orderid),callback, context);}, getGiftList:function(npage,callback,context){return new ajax_request(this.url + '?_method=getGiftList&_session=no','npage=' + enc(npage),callback, context);}, getGiftPage:function(npage,callback,context){return new ajax_request(this.url + '?_method=getGiftPage&_session=no','npage=' + enc(npage),callback, context);}, getNote:function(_cid,_page,callback,context){return new ajax_request(this.url + '?_method=getNote&_session=rw','_cid=' + enc(_cid)+ '\r\n_page=' + enc(_page),callback, context);}, getPageNote:function(_cid,_page,callback,context){return new ajax_request(this.url + '?_method=getPageNote&_session=rw','_cid=' + enc(_cid)+ '\r\n_page=' + enc(_page),callback, context);}, execNoteInfo:function(_tcode,_tit,_cont,callback,context){return new ajax_request(this.url + '?_method=execNoteInfo&_session=rw','_tcode=' + enc(_tcode)+ '\r\n_tit=' + enc(_tit)+ '\r\n_cont=' + enc(_cont),callback, context);}, url:'/ajax/AjaxClass,App_Code.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} function _getTable(n,e){for(var i=0; i