if(typeof AIKON == "undefined") AIKON={};
if(typeof AIKON.CommerceLive == "undefined") AIKON.CommerceLive={};
if(typeof AIKON.CommerceLive.WebService == "undefined") AIKON.CommerceLive.WebService={};
AIKON.CommerceLive.WebService.Lead_class = function() {};
Object.extend(AIKON.CommerceLive.WebService.Lead_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SetView: function(LeadID, View) {
		return this.invoke("SetView", {"LeadID":LeadID, "View":View}, this.SetView.getArguments().slice(2));
	},
	PasswordForget: function(email, leadType) {
		return this.invoke("PasswordForget", {"email":email, "leadType":leadType}, this.PasswordForget.getArguments().slice(2));
	},
	SendECard: function(productId, recipientsFirstName, recipientsEmailAddress, personalizedMessage, signedBy, creditCardId) {
		return this.invoke("SendECard", {"productId":productId, "recipientsFirstName":recipientsFirstName, "recipientsEmailAddress":recipientsEmailAddress, "personalizedMessage":personalizedMessage, "signedBy":signedBy, "creditCardId":creditCardId}, this.SendECard.getArguments().slice(6));
	},
	DoLogin: function(email, password, remember) {
		return this.invoke("DoLogin", {"email":email, "password":password, "remember":remember}, this.DoLogin.getArguments().slice(3));
	},
	GetSessionLead: function() {
		return this.invoke("GetSessionLead", {}, this.GetSessionLead.getArguments().slice(0));
	},
	PopulateCards: function(leadId) {
		return this.invoke("PopulateCards", {"leadId":leadId}, this.PopulateCards.getArguments().slice(1));
	},
	SelectedCard: function(lead) {
		return this.invoke("SelectedCard", {"lead":lead}, this.SelectedCard.getArguments().slice(1));
	},
	Update: function(cardId, leadId) {
		return this.invoke("Update", {"cardId":cardId, "leadId":leadId}, this.Update.getArguments().slice(2));
	},
	storeReturnUrl: function() {
		return this.invoke("storeReturnUrl", {}, this.storeReturnUrl.getArguments().slice(0));
	},
	CheckAddressCount: function() {
		return this.invoke("CheckAddressCount", {}, this.CheckAddressCount.getArguments().slice(0));
	},
	url: '/ajaxpro/AIKON.CommerceLive.WebService.Lead,AIKON.CommerceLive.ashx'
}));
AIKON.CommerceLive.WebService.Lead = new AIKON.CommerceLive.WebService.Lead_class();

