// JavaScript Document
<!--
function getZipData(tipoUsato){
	if (window.XMLHttpRequest) {
	xhr= new XMLHttpRequest();
	} else if (window.ActiveXObject) {
		xhr = new ActiveXObject("Microsoft.XMLHTTP");
	}
xhr.onreadystatechange=processZipData;
	xhr.open("GET", "/funzioni/usatoMarca.php?usato=" + tipoUsato, true);
	xhr.send(null);
}

function processZipData() {
	var strRes;
	var arrValori;

	if (xhr.readyState == 4) {
		strRes=xhr.responseText;
		arrValori=strRes.split(",");
		document.ricerca.INS_MARCA.options.length=0;
		for(i=0;i<arrValori.length-1;i++)
		{
			document.ricerca.INS_MARCA.options[document.ricerca.INS_MARCA.options.length]= new Option(arrValori[i].split(","));
		}
	}

}
-->
