// cached javascript var AjaxMethodPL = { GetProfessionLevel:function(gameProfessionId,callback,context){return new ajax_request(this.url + '?_method=GetProfessionLevel&_session=no','gameProfessionId=' + enc(gameProfessionId),callback, context);}, GetSpareInfo:function(serviceConfigID,characterClassID,callback,context){return new ajax_request(this.url + '?_method=GetSpareInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\ncharacterClassID=' + enc(characterClassID),callback, context);}, GetMountInfo:function(serviceConfigID,markID,callback,context){return new ajax_request(this.url + '?_method=GetMountInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nmarkID=' + enc(markID),callback, context);}, GetGearsName:function(serviceConfigID,typeOfSetID,callback,context){return new ajax_request(this.url + '?_method=GetGearsName&_session=no','serviceConfigID=' + enc(serviceConfigID)+ '\r\ntypeOfSetID=' + enc(typeOfSetID),callback, context);}, GetGearsDetail:function(serviceConfigID,nameID,callback,context){return new ajax_request(this.url + '?_method=GetGearsDetail&_session=no','serviceConfigID=' + enc(serviceConfigID)+ '\r\nnameID=' + enc(nameID),callback, context);}, GetProfessionPriceInfo:function(gameProfessionID,levelID,callback,context){return new ajax_request(this.url + '?_method=GetProfessionPriceInfo&_session=r','gameProfessionID=' + enc(gameProfessionID)+ '\r\nlevelID=' + enc(levelID),callback, context);}, GetRolePriceInfo:function(serviceConfigID,startLevel,endLevel,callback,context){return new ajax_request(this.url + '?_method=GetRolePriceInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nstartLevel=' + enc(startLevel)+ '\r\nendLevel=' + enc(endLevel),callback, context);}, GetFlexTimePriceInfo:function(serviceConfigID,hours,days,callback,context){return new ajax_request(this.url + '?_method=GetFlexTimePriceInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nhours=' + enc(hours)+ '\r\ndays=' + enc(days),callback, context);}, GetSparePriceInfo:function(serviceConfigID,spareIDs,callback,context){return new ajax_request(this.url + '?_method=GetSparePriceInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nspareIDs=' + enc(spareIDs),callback, context);}, GetGearsPriceInfo:function(serviceConfigID,gearsIDs,callback,context){return new ajax_request(this.url + '?_method=GetGearsPriceInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\ngearsIDs=' + enc(gearsIDs),callback, context);}, GetMarkPriceInfo:function(serviceConfigID,mountID,callback,context){return new ajax_request(this.url + '?_method=GetMarkPriceInfo&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nmountID=' + enc(mountID),callback, context);}, AddProfessionOrder:function(gameProfessionID,levelID,callback,context){return new ajax_request(this.url + '?_method=AddProfessionOrder&_session=r','gameProfessionID=' + enc(gameProfessionID)+ '\r\nlevelID=' + enc(levelID),callback, context);}, AddRoleOrder:function(serviceConfigID,startLevel,endLevel,callback,context){return new ajax_request(this.url + '?_method=AddRoleOrder&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nstartLevel=' + enc(startLevel)+ '\r\nendLevel=' + enc(endLevel),callback, context);}, AddFlexTimeOrder:function(serviceConfigID,startTime,endTime,days,startDate,callback,context){return new ajax_request(this.url + '?_method=AddFlexTimeOrder&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nstartTime=' + enc(startTime)+ '\r\nendTime=' + enc(endTime)+ '\r\ndays=' + enc(days)+ '\r\nstartDate=' + enc(startDate),callback, context);}, AddSpareOrder:function(serviceConfigID,sparePartIDs,characterClassID,callback,context){return new ajax_request(this.url + '?_method=AddSpareOrder&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nsparePartIDs=' + enc(sparePartIDs)+ '\r\ncharacterClassID=' + enc(characterClassID),callback, context);}, AddGrearsOrder:function(serviceConfigID,typeID,nameID,grearsIDs,callback,context){return new ajax_request(this.url + '?_method=AddGrearsOrder&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\ntypeID=' + enc(typeID)+ '\r\nnameID=' + enc(nameID)+ '\r\ngrearsIDs=' + enc(grearsIDs),callback, context);}, AddMarkOrder:function(serviceConfigID,markID,mountID,callback,context){return new ajax_request(this.url + '?_method=AddMarkOrder&_session=r','serviceConfigID=' + enc(serviceConfigID)+ '\r\nmarkID=' + enc(markID)+ '\r\nmountID=' + enc(mountID),callback, context);}, AddPackageOrder:function(packageID,callback,context){return new ajax_request(this.url + '?_method=AddPackageOrder&_session=r','packageID=' + enc(packageID),callback, context);}, GetReport:function(orderID,paypalEmail,callback,context){return new ajax_request(this.url + '?_method=GetReport&_session=no','orderID=' + enc(orderID)+ '\r\npaypalEmail=' + enc(paypalEmail),callback, context);}, GetCoupon:function(coupon,price,currencyMark,callback,context){return new ajax_request(this.url + '?_method=GetCoupon&_session=no','coupon=' + enc(coupon)+ '\r\nprice=' + enc(price)+ '\r\ncurrencyMark=' + enc(currencyMark),callback, context);}, url:'/ajax/AjaxMethodPL,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