
function getXmlObj() {
	return (!window.XMLHttpRequest)? (new ActiveXObject("Microsoft.XMLHTTP")):(new XMLHttpRequest());
}

function updateProducts(obj) {
	
	n = obj.name;
	
	v = obj.options[obj.selectedIndex].value;
	
	url = '/content/en/store/options.php?categoryId=' + v + "&ts=" + new Date().getTime();
	xml = getXmlObj();
	
	xml.open("GET", url);
	xml.onreadystatechange=function() {
		if (xml.readyState==4) {
			
			response = xml.responseText;
			document.getElementById("ProductIdContainer").innerHTML = response;
						
			
		}
	}
	xml.send(null);
	
	
}