function btnhover(id)
{
  if (id.className=="button")
    id.className="buttonhover";
  else
    id.className="button";
}

function appendtext(id, newtext)

{
  id.value+=newtext;
}

