addNamespace("Corgi.Controls");
Corgi.Controls.Register_class = Class.create();
Object.extend(Corgi.Controls.Register_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CreateProfile: function(fname, lname, email, pcode, target, house, ninumber, dob, id, org, dept, compdate, regno, appComp, phone, bThrow) {
		return this.invoke("CreateProfile", {"fname":fname, "lname":lname, "email":email, "pcode":pcode, "target":target, "house":house, "ninumber":ninumber, "dob":dob, "id":id, "org":org, "dept":dept, "compdate":compdate, "regno":regno, "appComp":appComp, "phone":phone, "bThrow":bThrow}, this.CreateProfile.getArguments().slice(16));
	},
	RegisterAccountAndProfile: function(userName, password, email, fname, lname, pcode, target, bThrow) {
		return this.invoke("RegisterAccountAndProfile", {"userName":userName, "password":password, "email":email, "fname":fname, "lname":lname, "pcode":pcode, "target":target, "bThrow":bThrow}, this.RegisterAccountAndProfile.getArguments().slice(8));
	},
	DoesUsernameExist: function(UserName) {
		return this.invoke("DoesUsernameExist", {"UserName":UserName}, this.DoesUsernameExist.getArguments().slice(1));
	},
	DoesEmailExist: function(Email) {
		return this.invoke("DoesEmailExist", {"Email":Email}, this.DoesEmailExist.getArguments().slice(1));
	},
	FindInstaller: function(strInstallerID) {
		return this.invoke("FindInstaller", {"strInstallerID":strInstallerID}, this.FindInstaller.getArguments().slice(1));
	},
	FindOperativeNI: function(OperativeID, NINumber) {
		return this.invoke("FindOperativeNI", {"OperativeID":OperativeID, "NINumber":NINumber}, this.FindOperativeNI.getArguments().slice(2));
	},
	InstallerGIYes: function() {
		return this.invoke("InstallerGIYes", {}, this.InstallerGIYes.getArguments().slice(0));
	},
	OperativeGIYes: function() {
		return this.invoke("OperativeGIYes", {}, this.OperativeGIYes.getArguments().slice(0));
	},
	UpdateAddressGIMag: function(OperativeID, ReceiveGI, cNewAddress) {
		return this.invoke("UpdateAddressGIMag", {"OperativeID":OperativeID, "ReceiveGI":ReceiveGI, "cNewAddress":cNewAddress}, this.UpdateAddressGIMag.getArguments().slice(3));
	},
	UpdateGIMag: function(InstallerID, InstReceiveGI, OPReceiveGI) {
		return this.invoke("UpdateGIMag", {"InstallerID":InstallerID, "InstReceiveGI":InstReceiveGI, "OPReceiveGI":OPReceiveGI}, this.UpdateGIMag.getArguments().slice(3));
	},
	FindAddress: function(Postcode, HouseNumber) {
		return this.invoke("FindAddress", {"Postcode":Postcode, "HouseNumber":HouseNumber}, this.FindAddress.getArguments().slice(2));
	},
	FindAddressByPostcode: function(Postcode) {
		return this.invoke("FindAddressByPostcode", {"Postcode":Postcode}, this.FindAddressByPostcode.getArguments().slice(1));
	},
	getHouseNumber: function(addSel) {
		return this.invoke("getHouseNumber", {"addSel":addSel}, this.getHouseNumber.getArguments().slice(1));
	},
	RegisterAccount: function(userName, password, email, subject, fromEmail, registrationEmailXslt, firstName, lastName, target, mailServer, bThrow) {
		return this.invoke("RegisterAccount", {"userName":userName, "password":password, "email":email, "subject":subject, "fromEmail":fromEmail, "registrationEmailXslt":registrationEmailXslt, "firstName":firstName, "lastName":lastName, "target":target, "mailServer":mailServer, "bThrow":bThrow}, this.RegisterAccount.getArguments().slice(11));
	},
	ValidatePin: function(regID, pin) {
		return this.invoke("ValidatePin", {"regID":regID, "pin":pin}, this.ValidatePin.getArguments().slice(2));
	},
	initialize: function() {
		this.url = '/ajaxpro/Corgi.Controls.Register,Corgi.ashx';
	}
}));
Corgi.Controls.Register = new Corgi.Controls.Register_class();

