title: document.getElementsByName() is not a function in firefox
body: <p>my js code works fine in Chrome and IE, but in Firefox the console says: </p>
  
  <blockquote>
    <p>TypeError: xmlDoc.getElementsByName is not a function</p>
  </blockquote>
  
  <pre><code>var nextSectionName = actSection.getElementsByTagName("clickArea")[actClickArea].getAttribute('linkTo');
  actSection = xmlDoc.getElementsByName(nextSectionName)[0];
  </code></pre>
  
  <p>The xmlDoc is just a XML file and <code>actSection = xmlDoc.getElementsByTagName("section")[0];</code> works also fine.</p>