function menuMouseOver(id)
{
  document.getElementById(id).style.color = '#000000';
}
function menuMouseOut(id)
{
  document.getElementById(id).style.color = '#898989';
}
function menuMouseClick(id)
{
  switch(id)
  {
    case "menuZoeken":
      top.location.href='/zoeken/';
    break;
    case "menuUploaden":
      top.location.href='/uploaden/';
    break;
    case "menuTop10":
      top.location.href='/top10/';
    break;
    case "menuVerzoek":
      top.location.href='/verzoek/';
    break;
    case "menuInloggen":
      top.location.href='/inloggen/';
    break;
    case "menuUitloggen":
      top.location.href='/uitloggen/';
    break;
  }
}

function clickZoeken()
{
  sit = document.getElementById('searchintop');
  sit.style.borderColor = "rgb(52,190,237)";
  sit.style.color = "black";
  if (sit.value == 'zoeken') sit.value = '';
}

function blurZoeken()
{
  sit = document.getElementById('searchintop');
  sit.style.borderColor = "lightgray";
  sit.style.color = "gray";
  if (sit.value == '') sit.value = 'zoeken';
}

function confirmrate()
{
  retval = false;
  
  rateobj = document.getElementById('rate');
  rateval = rateobj[rateobj.selectedIndex].value;
  if (confirm("Wilt u de kwaliteit van deze cover waarderen met een " + rateval + "?"))
  {
    retval = true;
  }
  else
  {
    rateobj.selectedIndex = 0;
    retval = false;
  }
  return retval;
}
