<!--

function inicializar () {
         for (j=0; j<resultado.length; j++) {
             resultado[j] = "true";
         }
}

//    filtro: valor seleccionado del combo de opciones
//    valores: array que inidica para cada elemento el valor de aquella propiedad
function checkValor(filtro, valores) {
         if (filtro != 0) {
            for (k=0;k<valores.length;k++) {
                if (valores[k]==filtro && resultado[k]=="true") {
                   resultado[k]="true";
                } else {
                   resultado[k]="false";
                }
            }
         }
}



function getCorrectos () {
         var contador = 0;

         for (i=0; i<resultado.length; i++) {
             if (resultado[i]=="true") {
                contador++;
             }
         }
         return contador;
}


function inicio() {
         var elements = this.getCorrectos();
         updateValor (elements);
}

function updateValor( valor ) {
	document.busquedaAvanzada.elementos.value = valor;
}

//-->

