Netscape 6 on Unix

Netscape 6 on Unix has a problem knowing when everything in a page has been loaded and is stable. This means that sometimes the page's onLoad function is called before the applet is loaded.

The easiest solution to this problem is to check the ok returned by easel_init. If it is false, wait for a while and try again:

function localOnLoad()
  {
    if (!easel_init("2.1", document.map))
      {
      setTimeout("localOnLoad();", 500);
      return;
      }
    
    // rest of onload function as usual