title: Vbscript - Click an untypical button on website
body: <p>how do I make vbscript click a button on a webpage which, according to "Inspect Element" is represented by this code:</p>
  
  <pre><code>&lt;td class="a" id="logout" onclick="BtnClickPreHandler(this);" onmouseover="HoverOn(this)" onmouseout="HoverOff(this);" title="Log out"&gt;
      &lt;img class="d" id="logout_d" src="/style/2011/images/buttons/logout_up.gif" style="display: none;"&gt;
      &lt;img class="a" style="" id="logout_a" src="/style/2011/images/buttons/logout_up.gif"&gt;
      &lt;img class="h" style="display: none;" id="logout_h" src="/style/2011/images/buttons/logout_up.gif"&gt;
      &lt;span id="logout_s" class="a"&gt;Log out&lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I was able to click normal buttons with something like <code>appIE.Document.getElementsByName("Submit").Item(0).Click</code>, however in this case I cannot reference the object correctly.</p>
  
  <p>Any ideas?</p>