function beszur(tag)
{
  if (navigator.appName == "Netscape")
     { document.kbmsg.text.value = document.kbmsg.text.value.substring(0,document.kbmsg.text.selectionStart) + "[" + tag + "]"+
       document.kbmsg.text.value.substring(document.kbmsg.text.selectionStart,document.kbmsg.text.selectionEnd) + "[/" + tag +"]"+
       document.kbmsg.text.value.substring(document.kbmsg.text.selectionEnd,document.kbmsg.text.value.length)}
  else
     { document.kbmsg.text.focus();
       document.selection.createRange().text = "[" + tag + "]" + document.selection.createRange().text + "[/" + tag + "]" }
}
