if(typeof Mantis == "undefined") Mantis={};
if(typeof Mantis.CaesarStone == "undefined") Mantis.CaesarStone={};
if(typeof Mantis.CaesarStone.Pages == "undefined") Mantis.CaesarStone.Pages={};
if(typeof Mantis.CaesarStone.Pages.NotebookControl == "undefined") Mantis.CaesarStone.Pages.NotebookControl={};
Mantis.CaesarStone.Pages.NotebookControl_class = function() {};
Object.extend(Mantis.CaesarStone.Pages.NotebookControl_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetComment: function() {
		return this.invoke("GetComment", {}, this.GetComment.getArguments().slice(0));
	},
	SaveComment: function(comment) {
		return this.invoke("SaveComment", {"comment":comment}, this.SaveComment.getArguments().slice(1));
	},
	AddProduct: function(productId, comment) {
		return this.invoke("AddProduct", {"productId":productId, "comment":comment}, this.AddProduct.getArguments().slice(2));
	},
	AddGalleryImage: function(galleryImageId, comment, url) {
		return this.invoke("AddGalleryImage", {"galleryImageId":galleryImageId, "comment":comment, "url":url}, this.AddGalleryImage.getArguments().slice(3));
	},
	GetProducts: function() {
		return this.invoke("GetProducts", {}, this.GetProducts.getArguments().slice(0));
	},
	GetGalleryImages: function() {
		return this.invoke("GetGalleryImages", {}, this.GetGalleryImages.getArguments().slice(0));
	},
	RemoveProduct: function(productId) {
		return this.invoke("RemoveProduct", {"productId":productId}, this.RemoveProduct.getArguments().slice(1));
	},
	RemoveGalleryImage: function(galleryImageId) {
		return this.invoke("RemoveGalleryImage", {"galleryImageId":galleryImageId}, this.RemoveGalleryImage.getArguments().slice(1));
	},
	ClearNotebook: function() {
		return this.invoke("ClearNotebook", {}, this.ClearNotebook.getArguments().slice(0));
	},
	SynchProducts: function(Items, Comments) {
		return this.invoke("SynchProducts", {"Items":Items, "Comments":Comments}, this.SynchProducts.getArguments().slice(2));
	},
	SynchGalleryImages: function(Items, Comments) {
		return this.invoke("SynchGalleryImages", {"Items":Items, "Comments":Comments}, this.SynchGalleryImages.getArguments().slice(2));
	},
	PrintSelected: function(products, gallery) {
		return this.invoke("PrintSelected", {"products":products, "gallery":gallery}, this.PrintSelected.getArguments().slice(2));
	},
	SendSelected: function(emails, emailComment, products, gallery) {
		return this.invoke("SendSelected", {"emails":emails, "emailComment":emailComment, "products":products, "gallery":gallery}, this.SendSelected.getArguments().slice(4));
	},
	url: '/ajaxpro/Mantis.CaesarStone.Pages.NotebookControl,App_Web_notebook.ascx.baefa154.1u2rtlio.ashx'
}));
Mantis.CaesarStone.Pages.NotebookControl = new Mantis.CaesarStone.Pages.NotebookControl_class();


