function zobrazSkryj(idecko){
 el=document.getElementById(idecko).style;el.display=(el.display == 'block')?'none':'block';
}
function code(text) {
 if (document.formular.obsah.createTextRange && document.formular.obsah.caretPos){
  var caretPos = document.formular.obsah.caretPos;
  caretPos.text =  caretPos.textstary.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
 }else{
  document.formular.obsah.value += text;
  document.formular.obsah.focus(caretPos);
 }
}

