function pokaz_ukryj(pokaz, ukryj, ukryj2) {

    document.getElementById(pokaz).style.display = "block";
    document.getElementById(ukryj).style.display = "none";   
    document.getElementById(ukryj2).style.display = "none";   
}
function wstaw(form_texarea, poczatek, koniec)
{
   //IE support
   if (document.selection)
   {
      form_texarea.focus();
      sel = document.selection.createRange();
      sel.text = poczatek+sel.text+koniec;
   }
   //MOZILLA/NETSCAPE support
   else if(form_texarea.selectionStart || form_texarea.selectionStart == 0)
   {
      var startPos = form_texarea.selectionStart;
      var endPos = form_texarea.selectionEnd;
      form_texarea.value = form_texarea.value.substring(0, startPos)+ poczatek+form_texarea.value.substring(startPos,endPos)+koniec+form_texarea.value.substring(endPos, form_texarea.value.length);
   }
   else
   {
      form_texarea.value += myValue;
   }
}
