// cached javascript var AjaxMethod = { CheckRegName:function(userName,callback,context){return new ajax_request(this.url + '?_method=CheckRegName&_session=no','userName=' + enc(userName),callback, context);}, GetGamelist:function(callback,context){return new ajax_request(this.url + '?_method=GetGamelist&_session=no','',callback, context);}, GetServerList:function(GameID,callback,context){return new ajax_request(this.url + '?_method=GetServerList&_session=no','GameID=' + enc(GameID),callback, context);}, GetServerListSX:function(GameID,Serverxc,callback,context){return new ajax_request(this.url + '?_method=GetServerListSX&_session=no','GameID=' + enc(GameID)+ '\r\nServerxc=' + enc(Serverxc),callback, context);}, GetAmountList:function(GameID,callback,context){return new ajax_request(this.url + '?_method=GetAmountList&_session=no','GameID=' + enc(GameID),callback, context);}, GetPrice:function(ServerID,num,current,callback,context){return new ajax_request(this.url + '?_method=GetPrice&_session=no','ServerID=' + enc(ServerID)+ '\r\nnum=' + enc(num)+ '\r\ncurrent=' + enc(current),callback, context);}, PostToOrderPage:function(ServerID,Amount,callback,context){return new ajax_request(this.url + '?_method=PostToOrderPage&_session=no','ServerID=' + enc(ServerID)+ '\r\nAmount=' + enc(Amount),callback, context);}, LoadProductList:function(GameID,ServerName,GameTypeName,CurrencySign,callback,context){return new ajax_request(this.url + '?_method=LoadProductList&_session=no','GameID=' + enc(GameID)+ '\r\nServerName=' + enc(ServerName)+ '\r\nGameTypeName=' + enc(GameTypeName)+ '\r\nCurrencySign=' + enc(CurrencySign),callback, context);}, showSelectProcuct:function(GameID,ServerName,GameTypeName,CurrencySign,Qty,callback,context){return new ajax_request(this.url + '?_method=showSelectProcuct&_session=no','GameID=' + enc(GameID)+ '\r\nServerName=' + enc(ServerName)+ '\r\nGameTypeName=' + enc(GameTypeName)+ '\r\nCurrencySign=' + enc(CurrencySign)+ '\r\nQty=' + enc(Qty),callback, context);}, LoadServerList:function(callback,context){return new ajax_request(this.url + '?_method=LoadServerList&_session=no','',callback, context);}, LoadAmount:function(callback,context){return new ajax_request(this.url + '?_method=LoadAmount&_session=no','',callback, context);}, UpateAcount:function(myUserID,E_Mail,FirstName,Tel,callback,context){return new ajax_request(this.url + '?_method=UpateAcount&_session=no','myUserID=' + enc(myUserID)+ '\r\nE_Mail=' + enc(E_Mail)+ '\r\nFirstName=' + enc(FirstName)+ '\r\nTel=' + enc(Tel),callback, context);}, UpatePassWord:function(myUserID,OldPwd,NewPwd,ConfirmPwd,callback,context){return new ajax_request(this.url + '?_method=UpatePassWord&_session=no','myUserID=' + enc(myUserID)+ '\r\nOldPwd=' + enc(OldPwd)+ '\r\nNewPwd=' + enc(NewPwd)+ '\r\nConfirmPwd=' + enc(ConfirmPwd),callback, context);}, UpdateAddress:function(UserID,Address,City,Province,ZipCode,Country,callback,context){return new ajax_request(this.url + '?_method=UpdateAddress&_session=no','UserID=' + enc(UserID)+ '\r\nAddress=' + enc(Address)+ '\r\nCity=' + enc(City)+ '\r\nProvince=' + enc(Province)+ '\r\nZipCode=' + enc(ZipCode)+ '\r\nCountry=' + enc(Country),callback, context);}, MyOrderSel:function(flag,myUserID,callback,context){return new ajax_request(this.url + '?_method=MyOrderSel&_session=no','flag=' + enc(flag)+ '\r\nmyUserID=' + enc(myUserID),callback, context);}, TempOrderAdd:function(UserID,Ipstr,ServerID,ProductName,Price,Amount,PayType,WebName,callback,context){return new ajax_request(this.url + '?_method=TempOrderAdd&_session=no','UserID=' + enc(UserID)+ '\r\nIpstr=' + enc(Ipstr)+ '\r\nServerID=' + enc(ServerID)+ '\r\nProductName=' + enc(ProductName)+ '\r\nPrice=' + enc(Price)+ '\r\nAmount=' + enc(Amount)+ '\r\nPayType=' + enc(PayType)+ '\r\nWebName=' + enc(WebName),callback, context);}, CheckCouponCode:function(CouponCode,callback,context){return new ajax_request(this.url + '?_method=CheckCouponCode&_session=no','CouponCode=' + enc(CouponCode),callback, context);}, CouponPrice:function(CouponCode,Price,callback,context){return new ajax_request(this.url + '?_method=CouponPrice&_session=no','CouponCode=' + enc(CouponCode)+ '\r\nPrice=' + enc(Price),callback, context);}, returnCouponTips:function(CouponCode,Price,Amount,UserID,callback,context){return new ajax_request(this.url + '?_method=returnCouponTips&_session=no','CouponCode=' + enc(CouponCode)+ '\r\nPrice=' + enc(Price)+ '\r\nAmount=' + enc(Amount)+ '\r\nUserID=' + enc(UserID),callback, context);}, CouponTips:function(CouponCode,Price,GameID,UserID,callback,context){return new ajax_request(this.url + '?_method=CouponTips&_session=no','CouponCode=' + enc(CouponCode)+ '\r\nPrice=' + enc(Price)+ '\r\nGameID=' + enc(GameID)+ '\r\nUserID=' + enc(UserID),callback, context);}, OrderGameCard:function(flag,myUserID,callback,context){return new ajax_request(this.url + '?_method=OrderGameCard&_session=no','flag=' + enc(flag)+ '\r\nmyUserID=' + enc(myUserID),callback, context);}, MyOrderStatus:function(userID,flag,callback,context){return new ajax_request(this.url + '?_method=MyOrderStatus&_session=no','userID=' + enc(userID)+ '\r\nflag=' + enc(flag),callback, context);}, CurrencyExchange:function(OldCurrencyName,NewCurrencyName,callback,context){return new ajax_request(this.url + '?_method=CurrencyExchange&_session=no','OldCurrencyName=' + enc(OldCurrencyName)+ '\r\nNewCurrencyName=' + enc(NewCurrencyName),callback, context);}, GetUserLogin:function(callback,context){return new ajax_request(this.url + '?_method=GetUserLogin&_session=rw','',callback, context);}, GetQuickBuy:function(OS,BrowserVersion,TimeZone,callback,context){return new ajax_request(this.url + '?_method=GetQuickBuy&_session=r','OS=' + enc(OS)+ '\r\nBrowserVersion=' + enc(BrowserVersion)+ '\r\nTimeZone=' + enc(TimeZone),callback, context);}, GetAlert:function(str,callback,context){return new ajax_request(this.url + '?_method=GetAlert&_session=no','str=' + enc(str),callback, context);}, GetRegularUtilsEmail:function(str,callback,context){return new ajax_request(this.url + '?_method=GetRegularUtilsEmail&_session=no','str=' + enc(str),callback, context);}, GetRegularUtilsUserNameLogin:function(UserName,Password,callback,context){return new ajax_request(this.url + '?_method=GetRegularUtilsUserNameLogin&_session=rw','UserName=' + enc(UserName)+ '\r\nPassword=' + enc(Password),callback, context);}, GetCheckEmail:function(UserName,callback,context){return new ajax_request(this.url + '?_method=GetCheckEmail&_session=no','UserName=' + enc(UserName),callback, context);}, GetRegisterUserNameLogin:function(UserName,UserPassWord,callback,context){return new ajax_request(this.url + '?_method=GetRegisterUserNameLogin&_session=rw','UserName=' + enc(UserName)+ '\r\nUserPassWord=' + enc(UserPassWord),callback, context);}, GetGoToNextPage:function(UserID,ServerID,ProductName,h_price,tt_Qty,CurrencySign,Character,input_payment,txt_CouponCode,input_methodId,hd_OS,hd_BrowserVersion,hd_TimeZones,GameID,Server_Alle,Wahrung,callback,context){return new ajax_request(this.url + '?_method=GetGoToNextPage&_session=rw','UserID=' + enc(UserID)+ '\r\nServerID=' + enc(ServerID)+ '\r\nProductName=' + enc(ProductName)+ '\r\nh_price=' + enc(h_price)+ '\r\ntt_Qty=' + enc(tt_Qty)+ '\r\nCurrencySign=' + enc(CurrencySign)+ '\r\nCharacter=' + enc(Character)+ '\r\ninput_payment=' + enc(input_payment)+ '\r\ntxt_CouponCode=' + enc(txt_CouponCode)+ '\r\ninput_methodId=' + enc(input_methodId)+ '\r\nhd_OS=' + enc(hd_OS)+ '\r\nhd_BrowserVersion=' + enc(hd_BrowserVersion)+ '\r\nhd_TimeZones=' + enc(hd_TimeZones)+ '\r\nGameID=' + enc(GameID)+ '\r\nServer_Alle=' + enc(Server_Alle)+ '\r\nWahrung=' + enc(Wahrung),callback, context);}, GetAuthenticationQuickBuy:function(callback,context){return new ajax_request(this.url + '?_method=GetAuthenticationQuickBuy&_session=rw','',callback, context);}, GetAuthenticationUser:function(callback,context){return new ajax_request(this.url + '?_method=GetAuthenticationUser&_session=rw','',callback, context);}, url:'/ajax/AjaxMethod,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;}