   function objetus() {
   var xmlhttp=false;
	try {
   		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
            } catch (e) {

                   try {
                           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   } catch (E) {
                           xmlhttp = false;
                   }
           }
           if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
                   xmlhttp = new XMLHttpRequest();
           }
           return xmlhttp
   }
   function cargarDatos(idena,matt)//esto es para modificar noticias
   	{			   
		   _objetus=objetus()					   
		   _target=document.getElementById('ej5_td_H')
		   document.getElementById('ej5_td_H').innerHTML='<img src="../noticias/icons/loading.GIF" width="16" height="16">'
		   //_loader=document.getElementById('ej5_td_H')					    
		   _values_send="funcion=ejemplo5&opcion=modNoticia&id="+idena+"&random="+Math.random()
		   _URL_="js/procesador.php?"		   
		   //_loader.style.display=''
		   _objetus.open("GET",_URL_+"&"+_values_send,true);		   
		   _objetus.onreadystatechange=function() {
				   if(_objetus.readyState==4)
				   {
						   if(_objetus.status==200)
						   {						   		
								   _target.innerHTML = _objetus.responseText;
						   }
				   }			  
		   }
		   _objetus.send(null);
   	}
	function cargContacto(idena,matt)//esto es para modificar noticias
   	{			   
		   _objetus=objetus()					   
		   _target=document.getElementById('ej5_td_H')
		   document.getElementById('ej5_td_H').innerHTML='<img src="noticias/icons/loading.GIF">'
		   //_loader=document.getElementById('ej5_td_H')
		   if (idena=='kks')
		   		idena=document.getElementById('ej5_P').value
		  _values_send="funcion=ejemplo5&opcion=cargContacto&idcarg="+idena+"&random="+Math.random()
		   _URL_="contactos/js/procesador.php?"		   
		   //_loader.style.display=''
		   _objetus.open("GET",_URL_+"&"+_values_send,true);		   
		   _objetus.onreadystatechange=function() {
				   if(_objetus.readyState==4)
				   {
						   if(_objetus.status==200)
						   {						   		
								   _target.innerHTML = _objetus.responseText;
						   }
				   }			  
		   }
		   _objetus.send(null);
   	}
	function busContacto()//esto es para modificar contactos
   	{			   
		   _objetus=objetus()
		   _nombre=document.formi.txt_nombre.value
		   _apellido=document.formi.txt_apellido.value
		   if (_orga=document.formi.sel_organismo.value!=0)		   
		   		_orga=document.formi.sel_organismo.value
		   else
				_orga=""
		   _target=document.getElementById('ej5_td_H')
		   document.getElementById('ej5_td_H').innerHTML='<img src="noticias/icons/loading.GIF" width="16" height="16">'
		   //_loader=document.getElementById('ej5_td_H')					    
		   _values_send="funcion=ejemplo5&opcion=buscContacto&busnombre="+_nombre+"&busapellido="+_apellido+"&busorganismo="+_orga+"&random="+Math.random()
		   _URL_="contactos/js/procesador.php?"		   
		   //_loader.style.display=''
		   _objetus.open("GET",_URL_+"&"+_values_send,true);		   
		   _objetus.onreadystatechange=function() {
				   if(_objetus.readyState==4)
				   {
						   if(_objetus.status==200)
						   {						   		
								   _target.innerHTML = _objetus.responseText;
						   }
				   }			  
		   }
		   _objetus.send(null);
   	}