  if (document.images)
  {
     homeon                  = new Image(150,56);
     homeon.src              = imgdir + "home-on.gif";
     homeoff                 = new Image(150,56);
     homeoff.src             = imgdir + "home-off.gif";

     picson                  = new Image(150,56);
     picson.src              = imgdir + "pics-on.gif";
     picsoff                 = new Image(150,56);
     picsoff.src             = imgdir + "pics-off.gif";

     funnyon                  = new Image(150,56);
     funnyon.src              = imgdir + "funny-on.gif";
     funnyoff                 = new Image(150,56);
     funnyoff.src             = imgdir + "funny-off.gif";

     stockon                  = new Image(150,56);
     stockon.src              = imgdir + "stock-on.gif";
     stockoff                 = new Image(150,56);
     stockoff.src             = imgdir + "stock-off.gif";

     specialon                = new Image(150,56);
     specialon.src            = imgdir + "special-on.gif";
     specialoff               = new Image(150,56);
     specialoff.src           = imgdir + "special-off.gif";

  }

  StatusStrings = new Array(4);
  StatusStrings[0] = "Go Home";
  StatusStrings[1] = "Go To Loren and Connie's Picture Pages";
  StatusStrings[2] = "Go To Loren's Collection of Funny Stories and Jokes";
  StatusStrings[3] = "Go To the Stock Grapher Utility That Loren Wrote";
  StatusStrings[4] = "Follow Our Road Trip Back East";
  StatusStrings[5] = "";

  function img_on(imgName)
  {
     if (document.images)
     {
        tmp = eval(imgName + "on.src");
        if (HighBW)
        {
          tmp = tmp + '?' + Math.random();
        }
        document[imgName].src = tmp;
     }
  }

  function img_off(imgName)
  {
     if (document.images)
        document[imgName].src = eval(imgName + "off.src");
  }

  function set_sts(stsString)
  {
     window.status=stsString;
  }

  function get_index(imgName)
  {
     if (imgName == 'home')
        return 0;
     else if (imgName == 'pics')
        return 1;
     else if (imgName == 'funny')
        return 2;
     else if (imgName == 'stock')
        return 3;
     else if (imgName == 'special')
        return 4;
     else
        return 5;
  }

  function set_sts_name(imgName)
  {
     set_sts(StatusStrings[get_index(imgName)]);
  }

  function set_on(imgName)
  {
     img_on(imgName);
     set_sts(StatusStrings[get_index(imgName)]);
  }
  
  function set_off(imgName)
  {
     img_off(imgName);
     set_sts("");
  }

  function SetSize()
  {
     document.select_form.width.value  = window.innerWidth;
     document.select_form.height.value = window.innerHeight;
  }
