function strfind(str){
	//var strsearch = this.document.champs.search.value;
	//var preload = this.document.champs.preloadinfo.value;
	//var dynselect = this.document.champs.dynselect.value;
/*i3 = document.getElementById("search");
alert(i3.value.match(str));
return;*/
	//cleanr the displayed list box
i2 = document.getElementById("dynselect");

i2.innerHTML = "Processing...";
i2.length = 0;



	//iterate through the invivible 
	if(document.getElementById('preload')){
		x = document.getElementById('preload');

		for(i=0; i<x.length; i++){

			if(x.options[i].text.toUpperCase().match(str.toUpperCase())){
				//append if found to the displayed list box
				x2 = new Option(x.options[i].text, x.options[i].value);
				i2.options[i2.length] = x2;

//				i2.innerHTML += "<li><a href=\"result.php?id="+x.options[i].value+"\" target=\"main\">"+x.options[i].text+"</a></li><br>"
				
			}
		}
	}

}