title: Can javascript be used in static FBML under pages' tab?
body: <p>I want to hover the image in static FBML page.</p>
  
  <p>But even the following simple code doesn't work:</p>
  
  <pre><code>&lt;div id="button1"&gt;button1&lt;/div&gt;
  &lt;div id="button2" onmouseover="document.getElementById('button1').setStyle({display: 'none'})"&gt;button2&lt;/div&gt;
  
  
  &lt;script type="text/javascript"&gt;
      document.getElementById('button1').setStyle({display: 'none'});
  &lt;/script&gt;
  </code></pre>
  
  <p>When "onmouseover" changes to "onclick", it works.</p>
  
  <pre><code>&lt;div id="button1"&gt;button1&lt;/div&gt;
  &lt;div id="button2" onclick="document.getElementById('button1').setStyle({display: 'none'})"&gt;button2&lt;/div&gt;
  
  
  &lt;script type="text/javascript"&gt;
      document.getElementById('button1').setStyle({display: 'none'});
  &lt;/script&gt;
  </code></pre>
  
  <p>Is there anything wrong?</p>