addNamespace("DnR.Templates.Documents.Newsletter_Sys");
DnR.Templates.Documents.Newsletter_Sys.ucFull_class = Class.create();
DnR.Templates.Documents.Newsletter_Sys.ucFull_class.prototype = (new AjaxPro.Request()).extend({
	AjaxSaveNewsletterSettings: function(documentId, email, subscriptions, interval, mailType, callback) {
		return this.invoke("AjaxSaveNewsletterSettings", {"documentId":documentId, "email":email, "subscriptions":subscriptions, "interval":interval, "mailType":mailType}, callback);
	},
	AjaxRemoveNewsletterSubscriber: function(documentId, email, callback) {
		return this.invoke("AjaxRemoveNewsletterSubscriber", {"documentId":documentId, "email":email}, callback);
	},
	AjaxLoadNewsletter: function(documentId, firstLoad, mode, email, callback) {
		return this.invoke("AjaxLoadNewsletter", {"documentId":documentId, "firstLoad":firstLoad, "mode":mode, "email":email}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/DnR.Templates.Documents.Newsletter_Sys.ucFull,DnR.ashx";
	}
})
DnR.Templates.Documents.Newsletter_Sys.ucFull = new DnR.Templates.Documents.Newsletter_Sys.ucFull_class();

