addNamespace("Moodia.MSIF.AJAX");
Moodia.MSIF.AJAX.AdminMethods_class = Class.create();
Moodia.MSIF.AJAX.AdminMethods_class.prototype = (new AjaxPro.AjaxClass()).extend({
	loadResponses: function(c, s, y) {
		return this.invoke("loadResponses", {"c":c, "s":s, "y":y}, this.loadResponses.getArguments().slice(3));
	},
	loadResponses_DisplayText: function(s, y) {
		return this.invoke("loadResponses_DisplayText", {"s":s, "y":y}, this.loadResponses_DisplayText.getArguments().slice(2));
	},
	save: function(val, c, s, contributorName, contributorEmail, y) {
		return this.invoke("save", {"val":val, "c":c, "s":s, "contributorName":contributorName, "contributorEmail":contributorEmail, "y":y}, this.save.getArguments().slice(6));
	},
	setDefaultSurvey: function(surveyid, isDefault) {
		return this.invoke("setDefaultSurvey", {"surveyid":surveyid, "isDefault":isDefault}, this.setDefaultSurvey.getArguments().slice(2));
	},
	insertSurvey: function(year) {
		return this.invoke("insertSurvey", {"year":year}, this.insertSurvey.getArguments().slice(1));
	},
	changeYearAvailable: function(surveyID, available) {
		return this.invoke("changeYearAvailable", {"surveyID":surveyID, "available":available}, this.changeYearAvailable.getArguments().slice(2));
	},
	getSurveyStatuses: function(surveyID) {
		return this.invoke("getSurveyStatuses", {"surveyID":surveyID}, this.getSurveyStatuses.getArguments().slice(1));
	},
	saveDisplayText: function(val, s, y) {
		return this.invoke("saveDisplayText", {"val":val, "s":s, "y":y}, this.saveDisplayText.getArguments().slice(3));
	},
	setYearDropdownToDefault: function() {
		return this.invoke("setYearDropdownToDefault", {}, this.setYearDropdownToDefault.getArguments().slice(0));
	},
	getSectionStatus: function(sectionid, countryid, year) {
		return this.invoke("getSectionStatus", {"sectionid":sectionid, "countryid":countryid, "year":year}, this.getSectionStatus.getArguments().slice(3));
	},
	approveSection: function(sectionid, countryid, year) {
		return this.invoke("approveSection", {"sectionid":sectionid, "countryid":countryid, "year":year}, this.approveSection.getArguments().slice(3));
	},
	buildRegistrationsDownload: function() {
		return this.invoke("buildRegistrationsDownload", {}, this.buildRegistrationsDownload.getArguments().slice(0));
	},
	buildQueriesDownload: function() {
		return this.invoke("buildQueriesDownload", {}, this.buildQueriesDownload.getArguments().slice(0));
	},
	generatePDF: function(country, year, IsAdmin) {
		return this.invoke("generatePDF", {"country":country, "year":year, "IsAdmin":IsAdmin}, this.generatePDF.getArguments().slice(3));
	},
	initialize: function() {
		this.url = '/ajaxpro/Moodia.MSIF.AJAX.AdminMethods,MSIF.ashx';
	}
});
Moodia.MSIF.AJAX.AdminMethods = new Moodia.MSIF.AJAX.AdminMethods_class();

