// Disables scrollable overflow of #content when TinyMCE (or any iframe) 
// is in use on the page for Gecko browsers; the two don't seem to work 
// well together in Firefox.

if( navigator.product == 'Gecko' )
{
  geckoBug = function() {
    var content = document.getElementById("contentscroller");
    var iframes = document.getElementsByTagName( "iframe" );
    if( iframes.length > 0 )
    {
      // Disable scrolling of content scroller.
      content.style.overflow = "hidden";
    }
  }
  window.addEventListener( "load", geckoBug, false );
}
