

function limpiaCaja(){



	var texto=document.frmBuscar.txt.value;

	//alert(texto);



	do {    

	 texto = texto.replace('á','a');	 	 

	 } while(texto.indexOf('á') >= 0);

	 do {

	texto = texto.replace('é','e');

	} while(texto.indexOf('é') >= 0);

	do {

	 texto = texto.replace('í','i');

	 } while(texto.indexOf('í') >= 0);

	 do {

	 texto = texto.replace('ó','o');

	 } while(texto.indexOf('ó') >= 0);

	 do {

	 texto = texto.replace('ú','u');

	 } while(texto.indexOf('ú') >= 0);

	 do {

	 texto = texto.replace('Ñ','N');

	 } while(texto.indexOf('Ñ') >= 0);

	 do {

	 texto = texto.replace('ñ','n'); 

	 } while(texto.indexOf('ñ') >= 0);

	 do {

	 texto = texto.replace('Á','A'); 

	 } while(texto.indexOf('Á') >= 0);

	 do {

	 texto = texto.replace('É','E'); 

	 } while(texto.indexOf('É') >= 0);

	 do {

	 texto = texto.replace('Í','I'); 

	 } while(texto.indexOf('Í') >= 0);

	 do {

	 texto = texto.replace('Ó','O'); 

	 } while(texto.indexOf('Ó') >= 0);

	 do {

	 texto = texto.replace('Ú','U'); 

	 } while(texto.indexOf('Ú') >= 0);

	

	

	document.frmBuscar.q.value=texto;




	return true;

	

}

