         toplevel = false
         try
           toplevel = not window.frameElement?
-        do_scroll_check()  if document.documentElement.doScroll and toplevel
+        do_oll_check()  if document.documentElement.doScroll and toplevel
 
 
     jsonp: new JSONP()

        me.automagic(new Automagic)
        me.automagic().initialize(options)

      document.head.insertBefore(script, document.head.firstChild)


    page_ready_event_fired: false



      # The DOM ready check for Internet Explorer
      do_oll_check = ->
        return  if @page_ready_event_fired

        # If IE is used, use the trick by Diego Perini
        # http://javaipt.nwbox.com/IEContentLoaded/
        try
          document.documentElement.doScroll "left"
        catch e
          setTimeout do_oll_check, 1
          return

        # Execute any waiting functions
