if(typeof SharepointPortal == "undefined") SharepointPortal={};
if(typeof SharepointPortal.FrontWebParts == "undefined") SharepointPortal.FrontWebParts={};
if(typeof SharepointPortal.FrontWebParts.bbg == "undefined") SharepointPortal.FrontWebParts.bbg={};
if(typeof SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument_class == "undefined") SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument_class={};
SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument_class = function() {};
Object.extend(SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Search: function(LawDocumentId, belongSite, CurrentPageIndex) {
		return this.invoke("Search", {"LawDocumentId":LawDocumentId, "belongSite":belongSite, "CurrentPageIndex":CurrentPageIndex}, this.Search.getArguments().slice(3));
	},
	ClientRenderWebPart: function(TabModuleId, ViewName, HasPorlet) {
		return this.invoke("ClientRenderWebPart", {"TabModuleId":TabModuleId, "ViewName":ViewName, "HasPorlet":HasPorlet}, this.ClientRenderWebPart.getArguments().slice(3));
	},
	ClientRenderWebPartHttpRoot: function(HttpRoot, TabModuleId, ViewName, HasPorlet) {
		return this.invoke("ClientRenderWebPartHttpRoot", {"HttpRoot":HttpRoot, "TabModuleId":TabModuleId, "ViewName":ViewName, "HasPorlet":HasPorlet}, this.ClientRenderWebPartHttpRoot.getArguments().slice(4));
	},
	GetProcessingText: function() {
		return this.invoke("GetProcessingText", {}, this.GetProcessingText.getArguments().slice(0));
	},
	ServerSideDownloadItem: function(LawDocumentItemId) {
		return this.invoke("ServerSideDownloadItem", {"LawDocumentItemId":LawDocumentItemId}, this.ServerSideDownloadItem.getArguments().slice(1));
	},
	CheckOpenType: function(Url) {
		return this.invoke("CheckOpenType", {"Url":Url}, this.CheckOpenType.getArguments().slice(1));
	},
	ServerSideLogin: function(belongSite, LoginName, Password) {
		return this.invoke("ServerSideLogin", {"belongSite":belongSite, "LoginName":LoginName, "Password":Password}, this.ServerSideLogin.getArguments().slice(3));
	},
	GetOpenDetailUrl: function(belongSite, LawDocumentItemId) {
		return this.invoke("GetOpenDetailUrl", {"belongSite":belongSite, "LawDocumentItemId":LawDocumentItemId}, this.GetOpenDetailUrl.getArguments().slice(2));
	},
	url: '/ajaxpro/SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument,bbg.webparts.ashx'
}));
SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument = new SharepointPortal.FrontWebParts.bbg.bbgAllLawDocument_class();

