function chkprata() {
  var msg=unescape("%41%6C%6C%61%20%6F%62%6C%69%67%61%74%6F%72%69%73%6B%61%20%66%E4%6C%74%20%E4%72%20%69%6E%74%65%20%69%66%79%6C%6C%64%61%3A");
  msg+='\n';
  var ofocus,status=false;
  var otitle=document.getElementById('frmtitle');
  var otext=document.getElementById('frmtext');
  if(!otitle||otitle.value==''){
    msg+='- Titel\n';
    if(!ofocus)ofocus=otitle;
    status=true;
  }
  if(!otext||otext.value==''){
    msg+='- Text\n';
    if(!ofocus)ofocus=otext;
    status=true;
  }
  if(status){
    alert(msg);
    ofocus.focus();
    return false;
  }else{
    return true;
  }
}
function focusdownload() {
  var o=document.getElementById('download');
  o.style.borderColor='#cc3';
}
function chkmatsearch() {
  var o=document.getElementById('frmtext');
  if(o&&o.value!=''){
    return true;
  }else{
    if(confirm('€r du sŠker pŒ att du inte vill ange ett sškord?')) return true;
    else return false;
  }
}