title: .all function is not working in Mozilla
body: <pre><code>function expand(entity) {
              alert("expand");
          var oImage;
          var children;
          if (entity.hasChildNodes())
   {
      children= entity.childNodes;
     for (var i = 0; i &lt; children.length; i++)
     {
     };
   };
  
  oImage = children.all["image"];
          oImage.src = entity.imageOpen;
  
          if (typeof(entity.imageOpen) == "undefined")
              oImage.src = "&lt;%=request.getContextPath()%&gt;/images/MinusSignBlackSilver.gif";
  
          for(i=0; i &lt; entity.childNodes.length; i++) {
              if(entity.childNodes(i).tagName == "DIV") {
                  entity.childNodes(i).style.display = "block"
              }
          }
          entity.open = "true"
      }
  </code></pre>
  
  <p><code>.all</code> is not woking in Mozilla.
  What function do I use in place of <code>.all</code> so that it can work both in IE and Mozilla?</p>