function catalogQuery() {}
catalogQuery.prototype = new DXMLHttpRequestShell();
catalogQuery.constructor = catalogQuery;

catalogQuery.prototype.onLoad = function () {
	document.getElementById('catalogContentAjax').innerHTML = this.getResponseText();
	//alert(this.getResponseText());
}

catalogQuery.prototype.send = function () {
	this.init();
	var lang = document.getElementById("id_current_lang").value;
	this.fastPostUrl(BASE_URL + lang + "/catalog-query.html", "firm=" + document.getElementById("catalog_firm").value + "&address=" + document.getElementById("catalog_address").value + "&name=" + document.getElementById("catalog_name").value + "&phone=" + document.getElementById("catalog_phone").value + "&email=" + document.getElementById("catalog_email").value + "&model=" + document.getElementById("catalog_model").value + "&comment=" + document.getElementById("catalog_comment").value + "&from_where=" + document.getElementById("catalog_from_where").value);
}


function submitCatalogQuery() {
	var temp = new catalogQuery();
	temp.send();
}
