// JavaScript Document

function sf(){document.forms.vote.name.focus();}

function check() {
  var ok = true;
  var msg = "The folowing fields must be filled:\n";
  if (document.forms.vote.name.value=='') { ok = false; msg += " - Your name\n"; }
  if (document.forms.vote.locon.value=='') { ok = false; msg += " - Location\n"; }
  if (document.forms.vote.comment.value=='') { ok = false; msg += " - Short comment\n"; }
  if (ok==false) { alert(msg); return false; }
}
