var IE6 = 0;
if (navigator.appVersion.search('MSIE 6') != -1 || navigator.appVersion.search('MSIE 5') != -1) {
  IE6 = 1;
}
function runOnloads() {
  externalLinksNewWindows();
  levelBottoms();
  dynImages();
  if (typeof(movie) === 'function') {
    movie();
  }
  if (IE6) {
    IEPNGFix.start('div');
    IEPNGFix.start('img');
    IEPNGFix.start('a');
  }
}
function include(file) {
  var script  = document.createElement('script');
  script.src  = '/style/js/' + file;
  script.type = 'text/javascript';
  document.getElementsByTagName('head').item(0).appendChild(script);
}

include('external-links-new-windows.js');
if (IE6) {
  include('fix-pngs.js');
}
include('level-bottoms.js');
include('dyn-images.js');

window.onload = runOnloads;