var StandManage = { AddComapnyVideoAppend:function(VideoName,MediaURL,TypeID,Size,callback,context){return new ajax_request(this.url + '?_method=AddComapnyVideoAppend&_session=rw','VideoName=' + enc(VideoName)+ '\r\nMediaURL=' + enc(MediaURL)+ '\r\nTypeID=' + enc(TypeID)+ '\r\nSize=' + enc(Size),callback, context);}, UpdateComapnyVideoAppendForOldMedia:function(ID,VideoName,MediaURL,TypeID,Size,callback,context){return new ajax_request(this.url + '?_method=UpdateComapnyVideoAppendForOldMedia&_session=rw','ID=' + enc(ID)+ '\r\nVideoName=' + enc(VideoName)+ '\r\nMediaURL=' + enc(MediaURL)+ '\r\nTypeID=' + enc(TypeID)+ '\r\nSize=' + enc(Size),callback, context);}, DelCompanyVideoAppend:function(mediaid,callback,context){return new ajax_request(this.url + '?_method=DelCompanyVideoAppend&_session=r','mediaid=' + enc(mediaid),callback, context);}, BulkDelCompanyVideoAppend:function(ids,callback,context){return new ajax_request(this.url + '?_method=BulkDelCompanyVideoAppend&_session=r','ids=' + enc(ids),callback, context);}, BulkCancelProVideoAndAppendVideoByVideoID:function(ids,models,callback,context){return new ajax_request(this.url + '?_method=BulkCancelProVideoAndAppendVideoByVideoID&_session=r','ids=' + enc(ids)+ '\r\nmodels=' + enc(models),callback, context);}, BulkCancelAllProVideoAndAppendVideo:function(videoid,mediaurl,callback,context){return new ajax_request(this.url + '?_method=BulkCancelAllProVideoAndAppendVideo&_session=r','videoid=' + enc(videoid)+ '\r\nmediaurl=' + enc(mediaurl),callback, context);}, ReCompanyVideoAppendList:function(pageSize,pageIndex,Keys,beginTime,endTime,isIsShow,IsView,callback,context){return new ajax_request(this.url + '?_method=ReCompanyVideoAppendList&_session=rw','pageSize=' + enc(pageSize)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\nKeys=' + enc(Keys)+ '\r\nbeginTime=' + enc(beginTime)+ '\r\nendTime=' + enc(endTime)+ '\r\nisIsShow=' + enc(isIsShow)+ '\r\nIsView=' + enc(IsView),callback, context);}, ReVideoCountByMediaID:function(ForeignLink,callback,context){return new ajax_request(this.url + '?_method=ReVideoCountByMediaID&_session=rw','ForeignLink=' + enc(ForeignLink),callback, context);}, GetToken:function(callback,context){return new ajax_request(this.url + '?_method=GetToken&_session=rw','',callback, context);}, UpdateCompanyVideoTitle:function(id,videoName,callback,context){return new ajax_request(this.url + '?_method=UpdateCompanyVideoTitle&_session=r','id=' + enc(id)+ '\r\nvideoName=' + enc(videoName),callback, context);}, ReGalleryList:function(pageSize,pageIndex,Sort,SortType,IsShow,KeyWords,callback,context){return new ajax_request(this.url + '?_method=ReGalleryList&_session=rw','pageSize=' + enc(pageSize)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\nSort=' + enc(Sort)+ '\r\nSortType=' + enc(SortType)+ '\r\nIsShow=' + enc(IsShow)+ '\r\nKeyWords=' + enc(KeyWords),callback, context);}, AddGallery:function(name,visitType,visitValue,callback,context){return new ajax_request(this.url + '?_method=AddGallery&_session=rw','name=' + enc(name)+ '\r\nvisitType=' + enc(visitType)+ '\r\nvisitValue=' + enc(visitValue),callback, context);}, ModGallery:function(id,name,visitType,visitValue,sort,isshow,callback,context){return new ajax_request(this.url + '?_method=ModGallery&_session=rw','id=' + enc(id)+ '\r\nname=' + enc(name)+ '\r\nvisitType=' + enc(visitType)+ '\r\nvisitValue=' + enc(visitValue)+ '\r\nsort=' + enc(sort)+ '\r\nisshow=' + enc(isshow),callback, context);}, ReGalleryPictures:function(gid,pageSize,pageIndex,Sort,SortType,IsShow,PictureID,Keys,callback,context){return new ajax_request(this.url + '?_method=ReGalleryPictures&_session=rw','gid=' + enc(gid)+ '\r\npageSize=' + enc(pageSize)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\nSort=' + enc(Sort)+ '\r\nSortType=' + enc(SortType)+ '\r\nIsShow=' + enc(IsShow)+ '\r\nPictureID=' + enc(PictureID)+ '\r\nKeys=' + enc(Keys),callback, context);}, DelGallery:function(GID,callback,context){return new ajax_request(this.url + '?_method=DelGallery&_session=r','GID=' + enc(GID),callback, context);}, UpdateGalleryFace:function(gid,pid,filepath,callback,context){return new ajax_request(this.url + '?_method=UpdateGalleryFace&_session=rw','gid=' + enc(gid)+ '\r\npid=' + enc(pid)+ '\r\nfilepath=' + enc(filepath),callback, context);}, ReplacePicture:function(pid,PictureDomain,Picture,FileSize,Width,Height,nwidth,nheight,callback,context){return new ajax_request(this.url + '?_method=ReplacePicture&_session=rw','pid=' + enc(pid)+ '\r\nPictureDomain=' + enc(PictureDomain)+ '\r\nPicture=' + enc(Picture)+ '\r\nFileSize=' + enc(FileSize)+ '\r\nWidth=' + enc(Width)+ '\r\nHeight=' + enc(Height)+ '\r\nnwidth=' + enc(nwidth)+ '\r\nnheight=' + enc(nheight),callback, context);}, MovePictures:function(pids,GalleryID,callback,context){return new ajax_request(this.url + '?_method=MovePictures&_session=rw','pids=' + enc(pids)+ '\r\nGalleryID=' + enc(GalleryID),callback, context);}, DelPictures:function(pids,callback,context){return new ajax_request(this.url + '?_method=DelPictures&_session=rw','pids=' + enc(pids),callback, context);}, ReNextPicture:function(thisPicId,thisGalID,SortType,callback,context){return new ajax_request(this.url + '?_method=ReNextPicture&_session=rw','thisPicId=' + enc(thisPicId)+ '\r\nthisGalID=' + enc(thisGalID)+ '\r\nSortType=' + enc(SortType),callback, context);}, ModPictureName:function(pid,pname,callback,context){return new ajax_request(this.url + '?_method=ModPictureName&_session=rw','pid=' + enc(pid)+ '\r\npname=' + enc(pname),callback, context);}, AddPicture:function(Name,GalleryID,PictureDomain,Picture,FileSize,Width,Height,callback,context){return new ajax_request(this.url + '?_method=AddPicture&_session=rw','Name=' + enc(Name)+ '\r\nGalleryID=' + enc(GalleryID)+ '\r\nPictureDomain=' + enc(PictureDomain)+ '\r\nPicture=' + enc(Picture)+ '\r\nFileSize=' + enc(FileSize)+ '\r\nWidth=' + enc(Width)+ '\r\nHeight=' + enc(Height),callback, context);}, AddCutImagePicture:function(Name,GalleryID,PictureDomain,Picture,FileSize,Width,Height,callback,context){return new ajax_request(this.url + '?_method=AddCutImagePicture&_session=rw','Name=' + enc(Name)+ '\r\nGalleryID=' + enc(GalleryID)+ '\r\nPictureDomain=' + enc(PictureDomain)+ '\r\nPicture=' + enc(Picture)+ '\r\nFileSize=' + enc(FileSize)+ '\r\nWidth=' + enc(Width)+ '\r\nHeight=' + enc(Height),callback, context);}, RePicWaterType:function(callback,context){return new ajax_request(this.url + '?_method=RePicWaterType&_session=rw','',callback, context);}, UpdateGalleriesSortRule:function(SortRule,callback,context){return new ajax_request(this.url + '?_method=UpdateGalleriesSortRule&_session=rw','SortRule=' + enc(SortRule),callback, context);}, UpdatePictureSortRule:function(SortRule,GalleryID,callback,context){return new ajax_request(this.url + '?_method=UpdatePictureSortRule&_session=rw','SortRule=' + enc(SortRule)+ '\r\nGalleryID=' + enc(GalleryID),callback, context);}, UpdateGalleriesSort:function(Values,callback,context){return new ajax_request(this.url + '?_method=UpdateGalleriesSort&_session=rw','Values=' + enc(Values),callback, context);}, UpdatePicturesSort:function(Values,callback,context){return new ajax_request(this.url + '?_method=UpdatePicturesSort&_session=rw','Values=' + enc(Values),callback, context);}, IsExitMainPicture:function(pids,callback,context){return new ajax_request(this.url + '?_method=IsExitMainPicture&_session=r','pids=' + enc(pids),callback, context);}, url:'/ajax/MobileIndustry.StandManage,MobileIndustry.ashx' } 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 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);}