function Smile(what)
{
  document.forms.komentare.text.focus();
  document.forms.komentare.text.value=document.forms.komentare.text.value+what;
}
function Toggle(id) 
{

  spanid1 = "rozklapovaci_"+id;
  spanid2 = "rozklapovaci_ikonka_"+id;
  val = document.getElementById(spanid1).style.display;
  if (val == "none")
  {
    document.getElementById(spanid1).style.display = "block";
    document.getElementById(spanid2).src = "images/ikonka_minus.gif";
  }
  else
  {
    document.getElementById(spanid1).style.display = "none";
    document.getElementById(spanid2).src = "images/ikonka_plus.gif";
  }
}
