var page = null;
function categoriesProductsQuery() {}
categoriesProductsQuery.prototype = new DXMLHttpRequestShell();
categoriesProductsQuery.constructor = categoriesProductsQuery;

categoriesProductsQuery.prototype.onLoad = function () {
	document.getElementById('categoriesProducts').innerHTML = this.getResponseText();
}
categoriesProductsQuery.prototype.send = function () {
	this.init();
	var cat_id = document.getElementById("category").value;
	this.fastPostUrl(BASE_URL + LANG + "/categories-products/" + cat_id + ".html", "page=" + page);
}
function changePage(pageId) {
	page = pageId;
	var temp = new categoriesProductsQuery();
	temp.send();
}
