if(typeof ETCWebPortal == "undefined") ETCWebPortal={};
if(typeof ETCWebPortal.CustomerLogin == "undefined") ETCWebPortal.CustomerLogin={};
ETCWebPortal.CustomerLogin_class = function() {};
Object.extend(ETCWebPortal.CustomerLogin_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	DoLogin: function(username, password) {
		return this.invoke("DoLogin", {"username":username, "password":password}, this.DoLogin.getArguments().slice(2));
	},
	RegisterCustomer: function(Email, Password, FirstName, LastName, Phone, BillFirstName, BillLastName, BillPhone, BillCompany, BillResidenceType, BillAddress1, BillAddress2, BillSuite, BillCity, BillCountry, BillState, BillZip, ShipFirstName, ShipLastName, ShipPhone, ShipCompany, ShipResidenceType, ShipAddress1, ShipAddress2, ShipSuite, ShipCity, ShipCountry, ShipState, ShipZip) {
		return this.invoke("RegisterCustomer", {"Email":Email, "Password":Password, "FirstName":FirstName, "LastName":LastName, "Phone":Phone, "BillFirstName":BillFirstName, "BillLastName":BillLastName, "BillPhone":BillPhone, "BillCompany":BillCompany, "BillResidenceType":BillResidenceType, "BillAddress1":BillAddress1, "BillAddress2":BillAddress2, "BillSuite":BillSuite, "BillCity":BillCity, "BillCountry":BillCountry, "BillState":BillState, "BillZip":BillZip, "ShipFirstName":ShipFirstName, "ShipLastName":ShipLastName, "ShipPhone":ShipPhone, "ShipCompany":ShipCompany, "ShipResidenceType":ShipResidenceType, "ShipAddress1":ShipAddress1, "ShipAddress2":ShipAddress2, "ShipSuite":ShipSuite, "ShipCity":ShipCity, "ShipCountry":ShipCountry, "ShipState":ShipState, "ShipZip":ShipZip}, this.RegisterCustomer.getArguments().slice(29));
	},
	url: '/ajaxpro/ETCWebPortal.CustomerLogin,ETCWebPortal.ashx'
}));
ETCWebPortal.CustomerLogin = new ETCWebPortal.CustomerLogin_class();

