addNamespace("tm");
tm.ajx_class = Class.create();
Object.extend(tm.ajx_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	checkLogin: function(customer_login, customer_email) {
		return this.invoke("checkLogin", {"customer_login":customer_login, "customer_email":customer_email}, this.checkLogin.getArguments().slice(2));
	},
	saveLogin: function(customer_firstname, customer_lastname, customer_company, customer_email, customer_phone, customer_address, customer_state, customer_city, customer_zip, customer_country, customer_login, customer_password, customer_news, customer_news_language, customer_know_site) {
		return this.invoke("saveLogin", {"customer_firstname":customer_firstname, "customer_lastname":customer_lastname, "customer_company":customer_company, "customer_email":customer_email, "customer_phone":customer_phone, "customer_address":customer_address, "customer_state":customer_state, "customer_city":customer_city, "customer_zip":customer_zip, "customer_country":customer_country, "customer_login":customer_login, "customer_password":customer_password, "customer_news":customer_news, "customer_news_language":customer_news_language, "customer_know_site":customer_know_site}, this.saveLogin.getArguments().slice(15));
	},
	saveFeedback: function(feedback_name, feedback_email, feedback_phone, feedback_area, feedback_message) {
		return this.invoke("saveFeedback", {"feedback_name":feedback_name, "feedback_email":feedback_email, "feedback_phone":feedback_phone, "feedback_area":feedback_area, "feedback_message":feedback_message}, this.saveFeedback.getArguments().slice(5));
	},
	saveSupport: function(urlsite, language_id, support_company, support_distributor, support_name, support_email, support_phone, support_classification, support_product, support_license, support_pattern, support_engine, support_user_type, support_problem_type, support_problem, support_solution, support_query, support_file, support_internal_file) {
		return this.invoke("saveSupport", {"urlsite":urlsite, "language_id":language_id, "support_company":support_company, "support_distributor":support_distributor, "support_name":support_name, "support_email":support_email, "support_phone":support_phone, "support_classification":support_classification, "support_product":support_product, "support_license":support_license, "support_pattern":support_pattern, "support_engine":support_engine, "support_user_type":support_user_type, "support_problem_type":support_problem_type, "support_problem":support_problem, "support_solution":support_solution, "support_query":support_query, "support_file":support_file, "support_internal_file":support_internal_file}, this.saveSupport.getArguments().slice(19));
	},
	updateLogin: function(customer_id, customer_firstname, customer_lastname, customer_company, customer_email, customer_phone, customer_address, customer_state, customer_city, customer_zip, customer_country, customer_login, customer_password, customer_news, customer_news_language, customer_know_site) {
		return this.invoke("updateLogin", {"customer_id":customer_id, "customer_firstname":customer_firstname, "customer_lastname":customer_lastname, "customer_company":customer_company, "customer_email":customer_email, "customer_phone":customer_phone, "customer_address":customer_address, "customer_state":customer_state, "customer_city":customer_city, "customer_zip":customer_zip, "customer_country":customer_country, "customer_login":customer_login, "customer_password":customer_password, "customer_news":customer_news, "customer_news_language":customer_news_language, "customer_know_site":customer_know_site}, this.updateLogin.getArguments().slice(16));
	},
	doLogin: function(customer_login, customer_password) {
		return this.invoke("doLogin", {"customer_login":customer_login, "customer_password":customer_password}, this.doLogin.getArguments().slice(2));
	},
	checkEmail: function(customer_email) {
		return this.invoke("checkEmail", {"customer_email":customer_email}, this.checkEmail.getArguments().slice(1));
	},
	sendInfo: function(customer_email) {
		return this.invoke("sendInfo", {"customer_email":customer_email}, this.sendInfo.getArguments().slice(1));
	},
	saveCompetitive: function(language_id, competitive_company, competitive_distributor, competitive_name, competitive_email, competitive_phone, competitive_customer, competitive_solution, competitive_qty_license, competitive_val_license, competitive_comments, customer_id) {
		return this.invoke("saveCompetitive", {"language_id":language_id, "competitive_company":competitive_company, "competitive_distributor":competitive_distributor, "competitive_name":competitive_name, "competitive_email":competitive_email, "competitive_phone":competitive_phone, "competitive_customer":competitive_customer, "competitive_solution":competitive_solution, "competitive_qty_license":competitive_qty_license, "competitive_val_license":competitive_val_license, "competitive_comments":competitive_comments, "customer_id":customer_id}, this.saveCompetitive.getArguments().slice(12));
	},
	saveImhs: function(language_id, imhs_email, imhs_company, imhs_license_number, imhs_registration_key, imhs_activation_code, customer_id) {
		return this.invoke("saveImhs", {"language_id":language_id, "imhs_email":imhs_email, "imhs_company":imhs_company, "imhs_license_number":imhs_license_number, "imhs_registration_key":imhs_registration_key, "imhs_activation_code":imhs_activation_code, "customer_id":customer_id}, this.saveImhs.getArguments().slice(7));
	},
	saveSale: function(language_id, sale_company, sale_name, sale_phone, sale_address, sale_district, sale_city, sale_email, sale_state_uf, sale_zip_code, sale_qty, customer_id) {
		return this.invoke("saveSale", {"language_id":language_id, "sale_company":sale_company, "sale_name":sale_name, "sale_phone":sale_phone, "sale_address":sale_address, "sale_district":sale_district, "sale_city":sale_city, "sale_email":sale_email, "sale_state_uf":sale_state_uf, "sale_zip_code":sale_zip_code, "sale_qty":sale_qty, "customer_id":customer_id}, this.saveSale.getArguments().slice(12));
	},
	saveLicense: function(language_id, license_company, license_cnpj, license_ie, license_legal_address, license_postal_address, license_state, license_city, license_zip, license_country, license_phone, license_has_site, license_site, license_email, license_distributor, license_your_id, license_qty_customer, license_products, license_qty_license, license_person_name, license_person_phone, license_person_email, license_language, license_comments, customer_id, license_question_answer_1, license_question_answer_2, license_question_answer_3, license_question_answer_4, license_question_answer_5, license_question_answer_6, license_question_answer_7, license_question_answer_8, license_question_answer_9, license_question_answer_10, license_question_answer_11, license_question_answer_12, license_question_answer_13, license_question_answer_14, license_question_answer_15, license_question_answer_16, license_question_answer_17, license_question_answer_18, license_question_answer_19, license_question_answer_20, license_question_id) {
		return this.invoke("saveLicense", {"language_id":language_id, "license_company":license_company, "license_cnpj":license_cnpj, "license_ie":license_ie, "license_legal_address":license_legal_address, "license_postal_address":license_postal_address, "license_state":license_state, "license_city":license_city, "license_zip":license_zip, "license_country":license_country, "license_phone":license_phone, "license_has_site":license_has_site, "license_site":license_site, "license_email":license_email, "license_distributor":license_distributor, "license_your_id":license_your_id, "license_qty_customer":license_qty_customer, "license_products":license_products, "license_qty_license":license_qty_license, "license_person_name":license_person_name, "license_person_phone":license_person_phone, "license_person_email":license_person_email, "license_language":license_language, "license_comments":license_comments, "customer_id":customer_id, "license_question_answer_1":license_question_answer_1, "license_question_answer_2":license_question_answer_2, "license_question_answer_3":license_question_answer_3, "license_question_answer_4":license_question_answer_4, "license_question_answer_5":license_question_answer_5, "license_question_answer_6":license_question_answer_6, "license_question_answer_7":license_question_answer_7, "license_question_answer_8":license_question_answer_8, "license_question_answer_9":license_question_answer_9, "license_question_answer_10":license_question_answer_10, "license_question_answer_11":license_question_answer_11, "license_question_answer_12":license_question_answer_12, "license_question_answer_13":license_question_answer_13, "license_question_answer_14":license_question_answer_14, "license_question_answer_15":license_question_answer_15, "license_question_answer_16":license_question_answer_16, "license_question_answer_17":license_question_answer_17, "license_question_answer_18":license_question_answer_18, "license_question_answer_19":license_question_answer_19, "license_question_answer_20":license_question_answer_20, "license_question_id":license_question_id}, this.saveLicense.getArguments().slice(46));
	},
	saveSubscription: function(language_id, subscription_event, subscription_global_code, subscription_name, subscription_company, subscription_email, subscription_phone, subscription_oppinion, event_id, customer_id) {
		return this.invoke("saveSubscription", {"language_id":language_id, "subscription_event":subscription_event, "subscription_global_code":subscription_global_code, "subscription_name":subscription_name, "subscription_company":subscription_company, "subscription_email":subscription_email, "subscription_phone":subscription_phone, "subscription_oppinion":subscription_oppinion, "event_id":event_id, "customer_id":customer_id}, this.saveSubscription.getArguments().slice(10));
	},
	doOpenRead: function(email_history_id) {
		return this.invoke("doOpenRead", {"email_history_id":email_history_id}, this.doOpenRead.getArguments().slice(1));
	},
	initialize: function() {
		this.url = '/ajaxpro/tm.ajx,TM.ashx';
	}
}));
tm.ajx = new tm.ajx_class();

