if(typeof Amtico == "undefined") Amtico={};
if(typeof Amtico.Controls == "undefined") Amtico.Controls={};
if(typeof Amtico.Controls.Ajax == "undefined") Amtico.Controls.Ajax={};
if(typeof Amtico.Controls.Ajax.SamplesAjax_class == "undefined") Amtico.Controls.Ajax.SamplesAjax_class={};
Amtico.Controls.Ajax.SamplesAjax_class = function() {};
Object.extend(Amtico.Controls.Ajax.SamplesAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddSample: function(id, image) {
		return this.invoke("AddSample", {"id":id, "image":image}, this.AddSample.getArguments().slice(2));
	},
	RemoveSample: function(id, s) {
		return this.invoke("RemoveSample", {"id":id, "s":s}, this.RemoveSample.getArguments().slice(2));
	},
	GetSamplesTop: function() {
		return this.invoke("GetSamplesTop", {}, this.GetSamplesTop.getArguments().slice(0));
	},
	AddSampleToOrder: function(id, image) {
		return this.invoke("AddSampleToOrder", {"id":id, "image":image}, this.AddSampleToOrder.getArguments().slice(2));
	},
	RemoveSampleFromOrder: function(id, s) {
		return this.invoke("RemoveSampleFromOrder", {"id":id, "s":s}, this.RemoveSampleFromOrder.getArguments().slice(2));
	},
	GetItemsToOrder: function() {
		return this.invoke("GetItemsToOrder", {}, this.GetItemsToOrder.getArguments().slice(0));
	},
	url: '/ajaxpro/Amtico.Controls.Ajax.SamplesAjax,Amtico.Controls.ashx'
}));
Amtico.Controls.Ajax.SamplesAjax = new Amtico.Controls.Ajax.SamplesAjax_class();


