Hola Malebolgia
Prueba a ver si vale esto.
<html>
<head>
<title>Untitled</title>
<script language=JavaScript type=text/javascript>
<!--
String.prototype.itsWhitespace = function(){
return this.search(/\S/g) == -1 ? true : false
}
String.prototype.trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, "");
}
function add_options(cf){
// cuantos options hay
wf = cf.select1.length
// obtenemos el valor del textarea y quitamos espacios en blanco a ambos lados
t1 = cf.text1.value.trim()
//comprobamos que no este vacío
if(!t1.itsWhitespace()){
iguales = false
// recorremos todos los elementos options
for(var ctr = 0; ctr < wf; ctr ++){
opt = cf.select1.options[ctr].text.toLowerCase()
// comprabamos si son iguales
if((t1.toLowerCase().search(opt) != -1)&&(t1.length == opt.length)){
iguales = true
break
}
}
// añadimos el elemento si no hay ninguno igual
if(!iguales){
cf.select1.options[wf] = new Option(t1,t1)
}
}
}
//-->
</script>
</head>
<body>
<form name="formulario" >
<select name="select1" >
<option value="22145" >ab</option>
<option value="22285">Centro De Educacion Integral De Adultos</option>
<option value="6936">Esc. Rural Coronel Santiago Bueras Avar</option>
<option value="6956">Escuela Alicia Mera Ovalle</option>
<option value="6935">Escuela Antilhue</option>
<option value="otros" >Otros Establecimientos</option>
</select>
<input type="text" name="text1" size="40" value="" />
<input type="button" value="enviar" onclick="add_options(this.form)" >
</form>
</body>
</html>
Espero que te sea util.
Saludos