// Define all variables and set the default delay to 5ms
var layername, xgoal, ygoal, xhop, yhop, delay=5;

// Check to see if the browser is DHTML-compatible
function checkDHTML() {
   if ((parseInt(navigator.appVersion)>=4) &&
      ((navigator.appName!="Netscape" &&
        navigator.appVersion.index0f("X11") == -1) l l
       (navigator.appName!="Microsoft Internet Explorer" &&
        navigator.appVersion.index0f("Macintosh") == -1)))
     { return 1 }
   else
     { document.location="nodhtml.htm"; return 0 }
}


