﻿if(typeof CT == "undefined") CT={};
CT_class = function() {};
Object.extend(CT_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	VerifyLogin: function(email, password) {
		return this.invoke("VerifyLogin", {"email":email, "password":password}, this.VerifyLogin.getArguments().slice(2));
	},
	SubmitCamperApplication: function(xmlForm, paymentmode, payamount) {
		return this.invoke("SubmitCamperApplication", {"xmlForm":xmlForm, "paymentmode":paymentmode, "payamount":payamount}, this.SubmitCamperApplication.getArguments().slice(3));
	},
	SubmitStaffApplication: function(xmlForm) {
		return this.invoke("SubmitStaffApplication", {"xmlForm":xmlForm}, this.SubmitStaffApplication.getArguments().slice(1));
	},
	GetApplications: function(filter, role) {
		return this.invoke("GetApplications", {"filter":filter, "role":role}, this.GetApplications.getArguments().slice(2));
	},
	ArchiveApplication: function(id_application) {
		return this.invoke("ArchiveApplication", {"id_application":id_application}, this.ArchiveApplication.getArguments().slice(1));
	},
	DeleteApplication: function(id_application) {
		return this.invoke("DeleteApplication", {"id_application":id_application}, this.DeleteApplication.getArguments().slice(1));
	},
	ApproveApplication: function(id_application, paymentmode, googleordernumber) {
		return this.invoke("ApproveApplication", {"id_application":id_application, "paymentmode":paymentmode, "googleordernumber":googleordernumber}, this.ApproveApplication.getArguments().slice(3));
	},
	MarkPendingApplication: function(id_application) {
		return this.invoke("MarkPendingApplication", {"id_application":id_application}, this.MarkPendingApplication.getArguments().slice(1));
	},
	SaveParentForm: function(bSubmit, xmlForm, form, id_form) {
		return this.invoke("SaveParentForm", {"bSubmit":bSubmit, "xmlForm":xmlForm, "form":form, "id_form":id_form}, this.SaveParentForm.getArguments().slice(4));
	},
	ReloadBlueBox: function(next, previous) {
		return this.invoke("ReloadBlueBox", {"next":next, "previous":previous}, this.ReloadBlueBox.getArguments().slice(2));
	},
	LoadParentKeylog: function(id_camper) {
		return this.invoke("LoadParentKeylog", {"id_camper":id_camper}, this.LoadParentKeylog.getArguments().slice(1));
	},
	SendProspectiveCamperNotice: function(xmlForm) {
		return this.invoke("SendProspectiveCamperNotice", {"xmlForm":xmlForm}, this.SendProspectiveCamperNotice.getArguments().slice(1));
	},
	LoadCamperKeylog: function() {
		return this.invoke("LoadCamperKeylog", {}, this.LoadCamperKeylog.getArguments().slice(0));
	},
	LoadStaffKeylog: function() {
		return this.invoke("LoadStaffKeylog", {}, this.LoadStaffKeylog.getArguments().slice(0));
	},
	SavePreRegistrationForm: function(xmlForm, form) {
		return this.invoke("SavePreRegistrationForm", {"xmlForm":xmlForm, "form":form}, this.SavePreRegistrationForm.getArguments().slice(2));
	},
	LoadImports: function(type) {
		return this.invoke("LoadImports", {"type":type}, this.LoadImports.getArguments().slice(1));
	},
	ProcessImports: function(xmlForm, type) {
		return this.invoke("ProcessImports", {"xmlForm":xmlForm, "type":type}, this.ProcessImports.getArguments().slice(2));
	},
	SaveAlumniReconnectForm: function(xmlForm, form) {
		return this.invoke("SaveAlumniReconnectForm", {"xmlForm":xmlForm, "form":form}, this.SaveAlumniReconnectForm.getArguments().slice(2));
	},
	LoadAlumniKeylog: function() {
		return this.invoke("LoadAlumniKeylog", {}, this.LoadAlumniKeylog.getArguments().slice(0));
	},
	ForgotPassword: function(role, email) {
		return this.invoke("ForgotPassword", {"role":role, "email":email}, this.ForgotPassword.getArguments().slice(2));
	},
	SaveOptSettings: function(opt) {
		return this.invoke("SaveOptSettings", {"opt":opt}, this.SaveOptSettings.getArguments().slice(1));
	},
	AjaxTest: function() {
		return this.invoke("AjaxTest", {}, this.AjaxTest.getArguments().slice(0));
	},
	url: '/ajaxpro/BusinessLogicTier,App_Code.ashx'
}));
CT = new CT_class();

