if(typeof AxpertiaBT == "undefined") AxpertiaBT={};
if(typeof AxpertiaBT.WCorp == "undefined") AxpertiaBT.WCorp={};
if(typeof AxpertiaBT.WCorp.Web == "undefined") AxpertiaBT.WCorp.Web={};
if(typeof AxpertiaBT.WCorp.Web.ClientServices == "undefined") AxpertiaBT.WCorp.Web.ClientServices={};
if(typeof AxpertiaBT.WCorp.Web.ClientServices.PublishControl_class == "undefined") AxpertiaBT.WCorp.Web.ClientServices.PublishControl_class={};
AxpertiaBT.WCorp.Web.ClientServices.PublishControl_class = function() {};
Object.extend(AxpertiaBT.WCorp.Web.ClientServices.PublishControl_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetListItems: function(listName, url) {
		return this.invoke("GetListItems", {"listName":listName, "url":url}, this.GetListItems.getArguments().slice(2));
	},
	GetLocalResource: function(key, url) {
		return this.invoke("GetLocalResource", {"key":key, "url":url}, this.GetLocalResource.getArguments().slice(2));
	},
	SendEmail: function(email, name, lastName, info, url, type) {
		return this.invoke("SendEmail", {"email":email, "name":name, "lastName":lastName, "info":info, "url":url, "type":type}, this.SendEmail.getArguments().slice(6));
	},
	Publish: function(url, listName, elementID, viewName) {
		return this.invoke("Publish", {"url":url, "listName":listName, "elementID":elementID, "viewName":viewName}, this.Publish.getArguments().slice(4));
	},
	GetContentPage: function(url) {
		return this.invoke("GetContentPage", {"url":url}, this.GetContentPage.getArguments().slice(1));
	},
	OpenDocument: function(id, url) {
		return this.invoke("OpenDocument", {"id":id, "url":url}, this.OpenDocument.getArguments().slice(2));
	},
	OpenIncident: function(id, url) {
		return this.invoke("OpenIncident", {"id":id, "url":url}, this.OpenIncident.getArguments().slice(2));
	},
	OpenAnnotation: function(id, url) {
		return this.invoke("OpenAnnotation", {"id":id, "url":url}, this.OpenAnnotation.getArguments().slice(2));
	},
	OpenInvoice: function(id, url) {
		return this.invoke("OpenInvoice", {"id":id, "url":url}, this.OpenInvoice.getArguments().slice(2));
	},
	VerifyCustomers: function(customer, url) {
		return this.invoke("VerifyCustomers", {"customer":customer, "url":url}, this.VerifyCustomers.getArguments().slice(2));
	},
	url: '/ajaxpro/AxpertiaBT.WCorp.Web.ClientServices.PublishControl,AxpertiaBT.WCorp.Web.ClientServices.ashx'
}));
AxpertiaBT.WCorp.Web.ClientServices.PublishControl = new AxpertiaBT.WCorp.Web.ClientServices.PublishControl_class();

