// cached javascript var AjaxUser = { CheckUserExists:function(vcusername,callback,context){return new ajax_request(this.url + '?_method=CheckUserExists&_session=no','vcusername=' + enc(vcusername),callback, context);}, CheckUserAgentIDExists:function(agentid,callback,context){return new ajax_request(this.url + '?_method=CheckUserAgentIDExists&_session=no','agentid=' + enc(agentid),callback, context);}, CheckCode:function(code,callback,context){return new ajax_request(this.url + '?_method=CheckCode&_session=no','code=' + enc(code),callback, context);}, CheckIDCardExists:function(code,callback,context){return new ajax_request(this.url + '?_method=CheckIDCardExists&_session=no','code=' + enc(code),callback, context);}, CheckIDCardExists1:function(code,userid,callback,context){return new ajax_request(this.url + '?_method=CheckIDCardExists1&_session=no','code=' + enc(code)+ '\r\nuserid=' + enc(userid),callback, context);}, Login:function(name,pwd,code,callback,context){return new ajax_request(this.url + '?_method=Login&_session=no','name=' + enc(name)+ '\r\npwd=' + enc(pwd)+ '\r\ncode=' + enc(code),callback, context);}, GetBadLoginTimes:function(vcusername,callback,context){return new ajax_request(this.url + '?_method=GetBadLoginTimes&_session=no','vcusername=' + enc(vcusername),callback, context);}, getGamebyName:function(keyword,callback,context){return new ajax_request(this.url + '?_method=getGamebyName&_session=no','keyword=' + enc(keyword),callback, context);}, GetCardCategoryListByName:function(keyword,callback,context){return new ajax_request(this.url + '?_method=GetCardCategoryListByName&_session=no','keyword=' + enc(keyword),callback, context);}, GetPreSellCardCategoryListByName:function(keyword,callback,context){return new ajax_request(this.url + '?_method=GetPreSellCardCategoryListByName&_session=no','keyword=' + enc(keyword),callback, context);}, GetCardPackageByName:function(keyword,callback,context){return new ajax_request(this.url + '?_method=GetCardPackageByName&_session=no','keyword=' + enc(keyword),callback, context);}, getServerByID:function(id,callback,context){return new ajax_request(this.url + '?_method=getServerByID&_session=no','id=' + enc(id),callback, context);}, getGameUnit:function(gameid,callback,context){return new ajax_request(this.url + '?_method=getGameUnit&_session=no','gameid=' + enc(gameid),callback, context);}, GetCardCategoryList:function(callback,context){return new ajax_request(this.url + '?_method=GetCardCategoryList&_session=no','',callback, context);}, SearchGoodsCate:function(cGoodsCates,callback,context){return new ajax_request(this.url + '?_method=SearchGoodsCate&_session=no','cGoodsCates=' + enc(cGoodsCates),callback, context);}, GetCardPackage:function(callback,context){return new ajax_request(this.url + '?_method=GetCardPackage&_session=no','',callback, context);}, GetCardPointsByCardCatesID:function(iCardCatesID,callback,context){return new ajax_request(this.url + '?_method=GetCardPointsByCardCatesID&_session=no','iCardCatesID=' + enc(iCardCatesID),callback, context);}, GetOrderDetailCancelReason:function(ai_CancelRole,callback,context){return new ajax_request(this.url + '?_method=GetOrderDetailCancelReason&_session=no','ai_CancelRole=' + enc(ai_CancelRole),callback, context);}, loginout:function(callback,context){return new ajax_request(this.url + '?_method=loginout&_session=no','',callback, context);}, DelImg:function(path,callback,context){return new ajax_request(this.url + '?_method=DelImg&_session=no','path=' + enc(path),callback, context);}, GetCommonUsedRole:function(iServerID,goodno,callback,context){return new ajax_request(this.url + '?_method=GetCommonUsedRole&_session=no','iServerID=' + enc(iServerID)+ '\r\ngoodno=' + enc(goodno),callback, context);}, GetCommonUserAddress:function(iUserID,callback,context){return new ajax_request(this.url + '?_method=GetCommonUserAddress&_session=no','iUserID=' + enc(iUserID),callback, context);}, GetUserInvoiceInfo:function(callback,context){return new ajax_request(this.url + '?_method=GetUserInvoiceInfo&_session=no','',callback, context);}, UserCommonUsedAddressOper:function(nvAddress,callback,context){return new ajax_request(this.url + '?_method=UserCommonUsedAddressOper&_session=no','nvAddress=' + enc(nvAddress),callback, context);}, UserInvoiceInfoOper:function(tiPostTypeId,ncAddress,bIsCrop,iCropNo,vcMobileBarCode,ncRealName,vcEmail,callback,context){return new ajax_request(this.url + '?_method=UserInvoiceInfoOper&_session=no','tiPostTypeId=' + enc(tiPostTypeId)+ '\r\nncAddress=' + enc(ncAddress)+ '\r\nbIsCrop=' + enc(bIsCrop)+ '\r\niCropNo=' + enc(iCropNo)+ '\r\nvcMobileBarCode=' + enc(vcMobileBarCode)+ '\r\nncRealName=' + enc(ncRealName)+ '\r\nvcEmail=' + enc(vcEmail),callback, context);}, CheckUserIsLogin:function(callback,context){return new ajax_request(this.url + '?_method=CheckUserIsLogin&_session=no','',callback, context);}, CheckUserBlackListid:function(userid,callback,context){return new ajax_request(this.url + '?_method=CheckUserBlackListid&_session=no','userid=' + enc(userid),callback, context);}, GetMyOrderMsgList:function(callback,context){return new ajax_request(this.url + '?_method=GetMyOrderMsgList&_session=no','',callback, context);}, UpdateOnlineStatus:function(type,callback,context){return new ajax_request(this.url + '?_method=UpdateOnlineStatus&_session=no','type=' + enc(type),callback, context);}, CheckHKSMS:function(mobile,code,callback,context){return new ajax_request(this.url + '?_method=CheckHKSMS&_session=no','mobile=' + enc(mobile)+ '\r\ncode=' + enc(code),callback, context);}, GetMyOrderLastMsgID:function(callback,context){return new ajax_request(this.url + '?_method=GetMyOrderLastMsgID&_session=no','',callback, context);}, CheckTWTel:function(iType,vcTelephone,callback,context){return new ajax_request(this.url + '?_method=CheckTWTel&_session=no','iType=' + enc(iType)+ '\r\nvcTelephone=' + enc(vcTelephone),callback, context);}, CheckTWTel1:function(iType,callback,context){return new ajax_request(this.url + '?_method=CheckTWTel1&_session=no','iType=' + enc(iType),callback, context);}, CheckTWTelAjax:function(iType,iUserid,callback,context){return new ajax_request(this.url + '?_method=CheckTWTelAjax&_session=no','iType=' + enc(iType)+ '\r\niUserid=' + enc(iUserid),callback, context);}, GetMobileVerifyCode:function(type,vcNationcode,callback,context){return new ajax_request(this.url + '?_method=GetMobileVerifyCode&_session=no','type=' + enc(type)+ '\r\nvcNationcode=' + enc(vcNationcode),callback, context);}, SendMobileVerifyCode:function(type,vcNationcode,mobile,callback,context){return new ajax_request(this.url + '?_method=SendMobileVerifyCode&_session=no','type=' + enc(type)+ '\r\nvcNationcode=' + enc(vcNationcode)+ '\r\nmobile=' + enc(mobile),callback, context);}, SendOSRegMobileVerifyCode:function(RegMsgCodeKey,RegMsgCode,mobile,callback,context){return new ajax_request(this.url + '?_method=SendOSRegMobileVerifyCode&_session=no','RegMsgCodeKey=' + enc(RegMsgCodeKey)+ '\r\nRegMsgCode=' + enc(RegMsgCode)+ '\r\nmobile=' + enc(mobile),callback, context);}, SendMobileVerifyCodeAjax:function(type,iUserID,vcNationcode,mobile,callback,context){return new ajax_request(this.url + '?_method=SendMobileVerifyCodeAjax&_session=no','type=' + enc(type)+ '\r\niUserID=' + enc(iUserID)+ '\r\nvcNationcode=' + enc(vcNationcode)+ '\r\nmobile=' + enc(mobile),callback, context);}, CheckMobileVerifyCode:function(vcVerifyCode,SendMessageType,vcMobile,vcNationcode,callback,context){return new ajax_request(this.url + '?_method=CheckMobileVerifyCode&_session=no','vcVerifyCode=' + enc(vcVerifyCode)+ '\r\nSendMessageType=' + enc(SendMessageType)+ '\r\nvcMobile=' + enc(vcMobile)+ '\r\nvcNationcode=' + enc(vcNationcode),callback, context);}, CheckMobileVerifyCodeAjax:function(vcVerifyCode,iUserID,SendMessageType,vcMobile,vcNationcode,callback,context){return new ajax_request(this.url + '?_method=CheckMobileVerifyCodeAjax&_session=no','vcVerifyCode=' + enc(vcVerifyCode)+ '\r\niUserID=' + enc(iUserID)+ '\r\nSendMessageType=' + enc(SendMessageType)+ '\r\nvcMobile=' + enc(vcMobile)+ '\r\nvcNationcode=' + enc(vcNationcode),callback, context);}, sendMobileVerify:function(mobile,usertype,sendtype,callback,context){return new ajax_request(this.url + '?_method=sendMobileVerify&_session=no','mobile=' + enc(mobile)+ '\r\nusertype=' + enc(usertype)+ '\r\nsendtype=' + enc(sendtype),callback, context);}, CheckMobileBarCode:function(TxID,BarCode,callback,context){return new ajax_request(this.url + '?_method=CheckMobileBarCode&_session=no','TxID=' + enc(TxID)+ '\r\nBarCode=' + enc(BarCode),callback, context);}, CheckUserChargePwd:function(as_ChargePwd,callback,context){return new ajax_request(this.url + '?_method=CheckUserChargePwd&_session=no','as_ChargePwd=' + enc(as_ChargePwd),callback, context);}, GetNoticeInfo:function(url,callback,context){return new ajax_request(this.url + '?_method=GetNoticeInfo&_session=no','url=' + enc(url),callback, context);}, GetUserSignInStatus:function(callback,context){return new ajax_request(this.url + '?_method=GetUserSignInStatus&_session=no','',callback, context);}, UserSignIn:function(callback,context){return new ajax_request(this.url + '?_method=UserSignIn&_session=no','',callback, context);}, GetBonusStatus:function(callback,context){return new ajax_request(this.url + '?_method=GetBonusStatus&_session=no','',callback, context);}, url:'/ajax/_i7391.Trading.AjaxMethod.AjaxUser,_i7391.Trading.AjaxMethod.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 AjaxImage(url){var img=new Image();img.src=url;return img;}