color1="";          // dark blue (border1)
color2="#EAF3DC";          // light yellow	(border2)
color3="";          // light yellow (border3)
color4="#F5F8F0";   // black
color5="#5A83A8";   // white

color_mainback=	      color3 ;
color_maintext=	      color1 ;
color_mainback_over=  color2 ;
color_maintext_over=  color1 ;

color_dropback=	      color4;
color_droptext=       color1;
color_dropback_over=  color2;
color_droptext_over=  color1;



//check for versions
if(document.getElementById)
{
  IE5 = true;  //NN6 & IE5
}
else if(document.all)
{
  IE4 = true;
}
else if(document.layers)
{
  NN4 = true;  //Netscape 4
  alert(" This site does not work for older browser versions. Please upgrade!");
}

function jump(x)
{
  window.location.href = x;
}

function menu_item_over(x)
{
  if(IE5)
  {
    document.getElementById(x).style.background=color_mainback_over
    document.getElementById(x).style.color=color_maintext_over
  }
  else if(IE4)
  {
    document.all[x].style.background=color_mainback_over;
    document.all[x].style.color=color_maintext_over;
  }
  else if(NS4)
  {
    document.layers[x+1].style.background=color_maintext_over;
    document.layers[x+1].style.color=color_mainback_over;
  }

}

function menu_item_out(x)
{
  if(IE5)
  {
    document.getElementById(x).style.background=color_mainback;
    document.getElementById(x).style.color=color_maintext;
  }
  else if(IE4)
  {
    x.style.background=color_mainback;
    x.style.color=color_maintext;
  }
}

function vmenu_item_over(x)
{
  if(IE5)
  {
    document.getElementById(x).style.background=color_dropback_over;
    document.getElementById(x).style.color=color_droptext_over;
  }
  else if(IE4)
  {
    document.all[x].style.background=color_dropback_over;
    document.all[x].style.color=color_droptext_over;
  }
  else if(NS4)
  {
    document.layers[x+1].style.background=color_dropback_over;
    document.layers[x+1].style.color=color_droptext_over;
  }

}

function vmenu_item_out(x)
{
  if(IE5)
  {
    document.getElementById(x).style.background=color_dropback;
    document.getElementById(x).style.color=color_droptext;
  }
  else if(IE4)
  {
    x.style.background=color_dropback;
    x.style.color=color_droptext;
  }
}

function vmenu_over(x)
{
  if(IE5)
  {
    document.getElementById(x).style.visibility = "visible"
  }
  else if(IE4)
  {
    x.style.visibility = "visible"
  }
}

function vmenu_out(x)
{
  if(IE5)
  {
    document.getElementById(x).style.visibility = "hidden"
  }
  else if(IE4)
  {
    x.style.visibility = "hidden"
  }
}

