// cached javascript var TagApply = { GetInfoObjectTags:function(objectId,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectTags&_session=no','objectId=' + enc(objectId),callback, context);}, UpdateInfoObjectTag:function(objectId,tagId,callback,context){return new ajax_request(this.url + '?_method=UpdateInfoObjectTag&_session=no','objectId=' + enc(objectId)+ '\r\ntagId=' + enc(tagId),callback, context);}, UpdateInfoObjectTagMappingOnDetailTree:function(objectId,containingTagId,tagId,callback,context){return new ajax_request(this.url + '?_method=UpdateInfoObjectTagMappingOnDetailTree&_session=no','objectId=' + enc(objectId)+ '\r\ncontainingTagId=' + enc(containingTagId)+ '\r\ntagId=' + enc(tagId),callback, context);}, RemoveInfoObjectTagDetailMapping:function(objectId,containingTagId,tagId,callback,context){return new ajax_request(this.url + '?_method=RemoveInfoObjectTagDetailMapping&_session=no','objectId=' + enc(objectId)+ '\r\ncontainingTagId=' + enc(containingTagId)+ '\r\ntagId=' + enc(tagId),callback, context);}, RemoveInfoObjectTagMapping:function(objectId,tagId,callback,context){return new ajax_request(this.url + '?_method=RemoveInfoObjectTagMapping&_session=no','objectId=' + enc(objectId)+ '\r\ntagId=' + enc(tagId),callback, context);}, GetInfoObjectByTag:function(tagId,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectByTag&_session=no','tagId=' + enc(tagId),callback, context);}, GetInfoObjectsByTagDetail:function(containingTagId,detailTagId,facetSortById,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectsByTagDetail&_session=no','containingTagId=' + enc(containingTagId)+ '\r\ndetailTagId=' + enc(detailTagId)+ '\r\nfacetSortById=' + enc(facetSortById),callback, context);}, GetInfoObjectsBySearchTerm:function(searchTerm,facetSortById,tagSortById,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectsBySearchTerm&_session=no','searchTerm=' + enc(searchTerm)+ '\r\nfacetSortById=' + enc(facetSortById)+ '\r\ntagSortById=' + enc(tagSortById),callback, context);}, GetInfoObjectArrayByTag:function(tagId,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectArrayByTag&_session=no','tagId=' + enc(tagId),callback, context);}, GetInfoObjectByTagAndTypeDS:function(tagId,typeId,pageIndex,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectByTagAndTypeDS&_session=no','tagId=' + enc(tagId)+ '\r\ntypeId=' + enc(typeId)+ '\r\npageIndex=' + enc(pageIndex),callback, context);}, GetInfoObjectByTagDS:function(tagId,pageIndex,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectByTagDS&_session=no','tagId=' + enc(tagId)+ '\r\npageIndex=' + enc(pageIndex),callback, context);}, GetIInfoObjectCollectionBySearchAndType:function(searchTerm,typeId,pageIndex,callback,context){return new ajax_request(this.url + '?_method=GetIInfoObjectCollectionBySearchAndType&_session=no','searchTerm=' + enc(searchTerm)+ '\r\ntypeId=' + enc(typeId)+ '\r\npageIndex=' + enc(pageIndex),callback, context);}, GetIInfoObjectCollectionBySearch:function(searchTerm,pageIndex,callback,context){return new ajax_request(this.url + '?_method=GetIInfoObjectCollectionBySearch&_session=no','searchTerm=' + enc(searchTerm)+ '\r\npageIndex=' + enc(pageIndex),callback, context);}, GetInfoObjectCollectionDS:function(searchObjectTypeName,tagId,searchTerm,dateType,dateLength,authorId,portalId,typeId,pageIndex,sortField,sortDirection,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectCollectionDS&_session=no','searchObjectTypeName=' + enc(searchObjectTypeName)+ '\r\ntagId=' + enc(tagId)+ '\r\nsearchTerm=' + enc(searchTerm)+ '\r\ndateType=' + enc(dateType)+ '\r\ndateLength=' + enc(dateLength)+ '\r\nauthorId=' + enc(authorId)+ '\r\nportalId=' + enc(portalId)+ '\r\ntypeId=' + enc(typeId)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\nsortField=' + enc(sortField)+ '\r\nsortDirection=' + enc(sortDirection),callback, context);}, GetInfoObjectCollectionWithAdditionalWhereTextDS:function(searchObjectTypeName,tagId,searchTerm,optionalWhereText,dateType,dateLength,authorId,portalId,typeId,pageIndex,sortField,sortDirection,callback,context){return new ajax_request(this.url + '?_method=GetInfoObjectCollectionWithAdditionalWhereTextDS&_session=no','searchObjectTypeName=' + enc(searchObjectTypeName)+ '\r\ntagId=' + enc(tagId)+ '\r\nsearchTerm=' + enc(searchTerm)+ '\r\noptionalWhereText=' + enc(optionalWhereText)+ '\r\ndateType=' + enc(dateType)+ '\r\ndateLength=' + enc(dateLength)+ '\r\nauthorId=' + enc(authorId)+ '\r\nportalId=' + enc(portalId)+ '\r\ntypeId=' + enc(typeId)+ '\r\npageIndex=' + enc(pageIndex)+ '\r\nsortField=' + enc(sortField)+ '\r\nsortDirection=' + enc(sortDirection),callback, context);}, AddTag:function(parentTagId,name,treeId,callback,context){return new ajax_request(this.url + '?_method=AddTag&_session=no','parentTagId=' + enc(parentTagId)+ '\r\nname=' + enc(name)+ '\r\ntreeId=' + enc(treeId),callback, context);}, AddTagFromTagEdit_aspx:function(parentTagId,name,treeId,order,callback,context){return new ajax_request(this.url + '?_method=AddTagFromTagEdit_aspx&_session=no','parentTagId=' + enc(parentTagId)+ '\r\nname=' + enc(name)+ '\r\ntreeId=' + enc(treeId)+ '\r\norder=' + enc(order),callback, context);}, DeleteTag:function(tagId,callback,context){return new ajax_request(this.url + '?_method=DeleteTag&_session=no','tagId=' + enc(tagId),callback, context);}, GetTag:function(tagId,callback,context){return new ajax_request(this.url + '?_method=GetTag&_session=no','tagId=' + enc(tagId),callback, context);}, GetTagInfo:function(tagId,callback,context){return new ajax_request(this.url + '?_method=GetTagInfo&_session=no','tagId=' + enc(tagId),callback, context);}, GetTagView:function(tagId,callback,context){return new ajax_request(this.url + '?_method=GetTagView&_session=no','tagId=' + enc(tagId),callback, context);}, GetTagDetailView:function(objectId,contaningTagId,callback,context){return new ajax_request(this.url + '?_method=GetTagDetailView&_session=no','objectId=' + enc(objectId)+ '\r\ncontaningTagId=' + enc(contaningTagId),callback, context);}, UpdateTag:function(tagId,name,descr,callback,context){return new ajax_request(this.url + '?_method=UpdateTag&_session=no','tagId=' + enc(tagId)+ '\r\nname=' + enc(name)+ '\r\ndescr=' + enc(descr),callback, context);}, UpdateTagAndOrder:function(tagId,longName,shortName,description,order,callback,context){return new ajax_request(this.url + '?_method=UpdateTagAndOrder&_session=no','tagId=' + enc(tagId)+ '\r\nlongName=' + enc(longName)+ '\r\nshortName=' + enc(shortName)+ '\r\ndescription=' + enc(description)+ '\r\norder=' + enc(order),callback, context);}, UpdateMapping:function(tagId,mappedTagId,callback,context){return new ajax_request(this.url + '?_method=UpdateMapping&_session=no','tagId=' + enc(tagId)+ '\r\nmappedTagId=' + enc(mappedTagId),callback, context);}, UpdateObjectModuleMapping:function(objectId,moduleId,callback,context){return new ajax_request(this.url + '?_method=UpdateObjectModuleMapping&_session=no','objectId=' + enc(objectId)+ '\r\nmoduleId=' + enc(moduleId),callback, context);}, RedrawTree:function(objectId,domId,callback,context){return new ajax_request(this.url + '?_method=RedrawTree&_session=no','objectId=' + enc(objectId)+ '\r\ndomId=' + enc(domId),callback, context);}, RedrawTreeWithClassName:function(objectId,domId,className,callback,context){return new ajax_request(this.url + '?_method=RedrawTreeWithClassName&_session=no','objectId=' + enc(objectId)+ '\r\ndomId=' + enc(domId)+ '\r\nclassName=' + enc(className),callback, context);}, RedrawTreeInformationExplorer:function(objectId,domId,optionalAttributes,callback,context){return new ajax_request(this.url + '?_method=RedrawTreeInformationExplorer&_session=no','objectId=' + enc(objectId)+ '\r\ndomId=' + enc(domId)+ '\r\noptionalAttributes=' + enc(optionalAttributes),callback, context);}, RedrawByTreeId:function(objectId,domId,callback,context){return new ajax_request(this.url + '?_method=RedrawByTreeId&_session=no','objectId=' + enc(objectId)+ '\r\ndomId=' + enc(domId),callback, context);}, RedrawByTreeIdWithClassName:function(objectId,domId,className,callback,context){return new ajax_request(this.url + '?_method=RedrawByTreeIdWithClassName&_session=no','objectId=' + enc(objectId)+ '\r\ndomId=' + enc(domId)+ '\r\nclassName=' + enc(className),callback, context);}, AddGeoTagToInfoObject:function(objectId,geoCode,name,country,stateProvince,feature,latitude,longitude,callback,context){return new ajax_request(this.url + '?_method=AddGeoTagToInfoObject&_session=no','objectId=' + enc(objectId)+ '\r\ngeoCode=' + enc(geoCode)+ '\r\nname=' + enc(name)+ '\r\ncountry=' + enc(country)+ '\r\nstateProvince=' + enc(stateProvince)+ '\r\nfeature=' + enc(feature)+ '\r\nlatitude=' + enc(latitude)+ '\r\nlongitude=' + enc(longitude),callback, context);}, PublishArticle:function(articleId,callback,context){return new ajax_request(this.url + '?_method=PublishArticle&_session=no','articleId=' + enc(articleId),callback, context);}, PublishCalendarEvent:function(calendarEventId,callback,context){return new ajax_request(this.url + '?_method=PublishCalendarEvent&_session=no','calendarEventId=' + enc(calendarEventId),callback, context);}, RemoveLinkedObject:function(moduleId,removedModuleId,callback,context){return new ajax_request(this.url + '?_method=RemoveLinkedObject&_session=no','moduleId=' + enc(moduleId)+ '\r\nremovedModuleId=' + enc(removedModuleId),callback, context);}, url:'/ajax/BoaB.CMS.Web.Admin.Tools.Tags.TagApply,BoaB.CMS.Web.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;}