includes/clientside/static/loader.js
author Dan
Fri, 16 May 2008 12:22:26 -0400
changeset 555 ac4c6a7f01d8
parent 520 4c16e87cfeae
child 581 5e8fd89c02ea
permissions -rw-r--r--
Added user preference for disabling visual effects in Javascript applets; added re-import button to installed plugins

// Some final stuff - loader routines, etc.

function mdgInnerLoader(e)
{
  if(window.location.hash == '#comments') ajaxComments();
  window.onkeydown=isKeyPressed;
  window.onkeyup=function(e) { isKeyPressed(e); };
  Fat.fade_all();
  fadeInfoBoxes();
  //initTextareas();
  //buildSearchBoxes();
  jBoxInit();
  if(typeof (dbx_set_key) == 'function')
  {
    dbx_set_key();
  }
  initSliders();
  runOnloadHooks(e);
}
var ld;
if(window.onload) ld = window.onload;
else ld = function() {return;};
function enano_init(e) {
  if ( typeof(ld) == 'function' )
  {
    ld(e);
  }
  mdgInnerLoader(e);
}

if ( typeof(KILL_SWITCH) == 'boolean' && !KILL_SWITCH )
{
  window.onload = enano_init;
}