
            var url;
            
            function handleHttpResponse()
            {
               if (http.readyState == 4)
               {
                  if (http.responseText.indexOf("invalid") == -1)
                  {
                     var xmlDocument = http.responseXML;
                     var xml = xmlDocument.documentElement;
                     if(xml != null)
                     {
                       var nodo = PercorreXML(xml);
                       nodo = nodo.split("#;#");
                       nodo.pop();
                       
                     // SOMETHING
                       if(nodo[0] == "")
                       {
                         var aux = document.getElementById('divContentProduct');
                         var strAux = '';

                         if(nodo[1] == 'true')
                         {
                           strAux = "<table cellspacing='0' cellpadding='0' width='100%' valign='center'>" +
                           "<tr valign='top'>" +
                             "<td align='center' colspan='10' width='100%' class='conteudoNegrito'><br><br><br><br>" + textoTrue + "</td>" +
                           "</tr>" +
                           "</table>";
                         }
                         else
                         {
                           strAux = "<table cellspacing='0' cellpadding='0' width='100%' valign='center'>" +
                           "<tr valign='top'>" +
                             "<td align='center' colspan='10' width='100%' class='conteudoNegrito'>" + textoFalse + "</td>" +
                           "</tr>" +
                           "</table>";
                         }
                         
                         hideLoadingImage();
                         aux.innerHTML = strAux;
                       }
                     }
                     
                     bFuncionando = false;
                  }
               }
            }
            
            function ShowSomething(cod)
            {
               if (!bFuncionando && http)
               {
                  hideDivContentProduct();
                  showLoadingImage();
                  var url = "getSomething.php?cod=" + cod;
                  http.open("GET", url, true);
                  http.onreadystatechange = handleHttpResponse;
                  bFuncionando = true;
                  http.send(null);
               }
            }