var starSet = false;
function setStar(n)
  {
  VT_GetObj('imgstar').src = '/images/' + n + 'star.gif';
  }
function setValue(n)
  {
  VT_GetObj('starvalue').value = n;
  starSet = true;
  }
function clearStar()
  {
  if (!starSet)
    VT_GetObj('imgstar').src = '/images/0star.gif';
  else
    VT_GetObj('imgstar').src = '/images/' + VT_GetObj('starvalue').value + 'star.gif';
  }

