// JavaScript Document
      <!--
      // Get the HTTP Object
      function getHTTPObject(){
      if (window.ActiveXObject) return new ActiveXObject("Msxml2.XMLHTTP");
      else if (window.XMLHttpRequest) return new XMLHttpRequest();
      else {
      alert("Your browser does not support AJAX.");
      return null;
      }
      }
	  
      // Change the value of the outputText field
      function setOutput(){
      if(httpObject.readyState == 4){
      document.getElementById("zoneBuscar").innerHTML = httpObject.responseText; <!-- para un div en la pagina regreso el elemento>	
      }

      }
      // Implement business logic
      function doFind(cat){
      httpObject = getHTTPObject();
      if (httpObject != null) {
        httpObject.open("GET", "../find.php?texto="+document.getElementById('buscar').value+"&cate="+cat, true);
        httpObject.onreadystatechange = function (){
	         if(httpObject.readyState == 4){
               document.getElementById("zoneBuscar").innerHTML = httpObject.responseText; <!-- para un div en la pagina regreso el elemento>	
             }
	         else {
		       document.getElementById("zoneBuscar").innerHTML = '<div align="center" class="titulo">Cargando<br><br><img src="../images/preloader.gif" alt="Cargando"></div>';
	         }
         }
		httpObject.send(null);
        
      }
      }
      var httpObject = null;
      //-->