function ricerca(voSelect,vsCat)
{
	vnId = voSelect.options[voSelect.selectedIndex].value;
	
	//compongo la richiesta
	url = "?module=prod&method=ricerca&psCat="+vsCat+"&pnId="+vnId;
	//alert(url);
	//invio la richiesta
	var oXMLHttpRequest = new XMLHttpRequest;
	showWaiting();
	oXMLHttpRequest.open("GET", url, false);
	oXMLHttpRequest.onreadystatechange = function()
	{
		if (this.readyState == XMLHttpRequest.DONE)
		{
			hideWaiting();
			//alert(oXMLHttpRequest.responseText);
			if (oXMLHttpRequest.responseText=="errore")
				alert("Errore nella ricerca!");
			else
			{
				//alert("ingredienti_IDEXT_ingredienti_wrapper:"+vnIdComp);
				document.getElementById("monumentale_wrapper").innerHTML=oXMLHttpRequest.responseText;
			}
		}
	}
	oXMLHttpRequest.send(null);
}