function carga(){
			
		var t=document.getElementById('texto');
		if (t.value == null || t.value==''){
			t.style.cssText = "background: url(/medioambiente/img/img_google.jpg); background-repeat: no-repeat; background-position: 0% 100%; " ;
		}	
			
	}
		
	function setFocus() {
			
				if (document.formOrganigrama != null) {
					document.formOrganigrama.nom.focus();
				}
				else {
						if (document.formNormativa !=null){
							document.formNormativa.TITULO1.focus();
						}
						else {
						
							if (document.formAgenda != null) {
								document.formAgenda.texto.focus();
							}
						
							else {
								if(document.busquedaGlosario != null) {
									document.busquedaGlosario.texto.focus();
								}
								else {
									//Si no estamos en ningun formulario de busqueda, situamos el focus en el buscador
										document.formbusqueda.texto.focus();
										
										
										
										
								}
							}
						}
				}
	}
		

function cambiaEstilo(){
	document.formbusqueda.texto.style.background="none";	
}
			
