var cur_img_name = "";
var bType = "unknown";
var bName = navigator.appName;
var bVer  = parseInt(navigator.appVersion);

if      (bName == "Netscape" && bVer >= 3) bType = "n3";
else if (bName == "Microsoft Internet Explorer" && bVer >= 4) bType = "n3";
else if (bName == "Netscape" && bVer == 2) bType = "n2";
else if (bName == "Microsoft Internet Explorer" && bVer == 3) bType = "e3";

if (bType == 'n3')
{
   a1_n = new Image(136,14);
   a1_n.src = "/images/buttons/home.gif";
   a1_h = new Image(136,14);
   a1_h.src = "/images/buttons/home_over.gif";
   a1_s = new Image(136,14);
   a1_s.src = "/images/buttons/home_over.gif";

   a2_n = new Image(55,29);
   a2_n.src = "/images/buttons/login.gif";
   a2_h = new Image(55,29);
   a2_h.src = "/images/buttons/login_over.gif";
   a2_s = new Image(55,29);
   a2_s.src = "/images/buttons/login_over.gif";

   a3_n = new Image(136,14);
   a3_n.src = "/images/buttons/news.gif";
   a3_h = new Image(136,14);
   a3_h.src = "/images/buttons/news_over.gif";
   a3_s = new Image(136,14);
   a3_s.src = "/images/buttons/news_over.gif";

   a4_n = new Image(136,14);
   a4_n.src = "/images/buttons/register.gif";
   a4_h = new Image(136,14);
   a4_h.src = "/images/buttons/register_over.gif";
   a4_s = new Image(136,14);
   a4_s.src = "/images/buttons/register_over.gif";

   a5_n = new Image(136,14);
   a5_n.src = "/images/buttons/contact.gif";
   a5_h = new Image(136,14);
   a5_h.src = "/images/buttons/contact_over.gif";
   a5_s = new Image(136,14);
   a5_s.src = "/images/buttons/contact_over.gif";

   a6_n = new Image(136,14);
   a6_n.src = "/images/buttons/faq.gif";
   a6_h = new Image(136,14);
   a6_h.src = "/images/buttons/faq_over.gif";
   a6_s = new Image(136,14);
   a6_s.src = "/images/buttons/faq_over.gif";

   a7_n = new Image(136,14);
   a7_n.src = "/images/tekst_looking.gif";
   a7_h = new Image(136,14);
   a7_h.src = "/images/tekst_lookingaktief.gif";
   a7_s = new Image(136,14);
   a7_s.src = "/images/tekst_lookingaktief.gif";

   a8_n = new Image(136,14);
   a8_n.src = "/images/tekst_tenant.gif";
   a8_h = new Image(136,14);
   a8_h.src = "/images/tekst_tenantaktief.gif";
   a8_s = new Image(136,14);
   a8_s.src = "/images/tekst_tenantaktief.gif";

   a9_n = new Image(136,14);
   a9_n.src = "/images/tekst_about.gif";
   a9_h = new Image(136,14);
   a9_h.src = "/images/tekst_aboutaktief.gif";
   a9_s = new Image(136,14);
   a9_s.src = "/images/tekst_aboutaktief.gif";

   a10_n = new Image(136,14);
   a10_n.src = "/images/tekst_woonruimte.gif";
   a10_h = new Image(136,14);
   a10_h.src = "/images/tekst_woonruimteaktief.gif";
   a10_s = new Image(136,14);
   a10_s.src = "/images/tekst_woonruimteaktief.gif";

   a11_n = new Image(136,14);
   a11_n.src = "/images/tekst_huurder.gif";
   a11_h = new Image(136,14);
   a11_h.src = "/images/tekst_huurderaktief.gif";
   a11_s = new Image(136,14);
   a11_s.src = "/images/tekst_huurderaktief.gif";

   a12_n = new Image(136,14);
   a12_n.src = "/images/tekst_over.gif";
   a12_h = new Image(136,14);
   a12_h.src = "/images/tekst_overaktief.gif";
   a12_s = new Image(136,14);
   a12_s.src = "/images/tekst_overaktief.gif";

   a13_n = new Image(136,14);
   a13_n.src = "/images/buttons/nieuws.gif";
   a13_h = new Image(136,14);
   a13_h.src = "/images/buttons/nieuws_over.gif";
   a13_s = new Image(136,14);
   a13_s.src = "/images/buttons/nieuws_over.gif";

   a14_n = new Image(136,14);
   a14_n.src = "/images/buttons/inschrijven.gif";
   a14_h = new Image(136,14);
   a14_h.src = "/images/buttons/inschrijven_over.gif";
   a14_s = new Image(136,14);
   a14_s.src = "/images/buttons/inschrijven_over.gif";


   a15_n = new Image(136,14);
   a15_n.src = "/images/buttons/authorize.gif";
   a15_h = new Image(136,14);
   a15_h.src = "/images/buttons/authorize_over.gif";
   a15_s = new Image(136,14);
   a15_s.src = "/images/buttons/authorize_over.gif";

   a16_n = new Image(136,14);
   a16_n.src = "/images/buttons/autoriseren.gif";
   a16_h = new Image(136,14);
   a16_h.src = "/images/buttons/autoriseren_over.gif";
   a16_s = new Image(136,14);
   a16_s.src = "/images/buttons/autoriseren_over.gif";

}

function hiLite(imgDocID,imgObjName) {
   if (bType == 'n3') 
   {
      if (imgDocID != cur_img_name)
      {
         document.images[imgDocID].src = eval(imgObjName + ".src")
      }
   }
}
function set_active(imgDocID,imgObjName)
{
   if (bType == "n3")
   {
      if (cur_img_name != "")
      {
         document.images[cur_img_name].src = eval(cur_img_name + "_n.src")
      }
      cur_img_name = imgDocID;
      document.images[imgDocID].src = eval(imgObjName + ".src")
   }
}