function boldText(textField) {
 strSelection = document.selection.createRange().text
 if (strSelection == "") {
  eval("document.form."+textField+".focus()")
  document.selection.createRange().text = strSelection + "<b></b>"
 } 
 else document.selection.createRange().text = "<b>" + strSelection + "</b>"
 return;
}

function oplistText(textField) {
 strSelection = document.selection.createRange().text
 if (strSelection == "") {
  eval("document.form."+textField+".focus()")
  document.selection.createRange().text = strSelection + "<li></li>"
 } 
 else document.selection.createRange().text = "<li>" + strSelection + "</li>"
 return;
}
 
function italicText(textField) {
 strSelection = document.selection.createRange().text
 if (strSelection == "") {
  eval("document.form."+textField+".focus()")
  document.selection.createRange().text = strSelection + "<i></i>"
 } 
 else document.selection.createRange().text = "<i>" + strSelection + "</i>"
 return;
}
 
function underlinedText(textField) {
 strSelection = document.selection.createRange().text
 if (strSelection == "") {
  eval("document.form."+textField+".focus()")
  document.selection.createRange().text = strSelection + "<u></u>"
 } 
 else document.selection.createRange().text = "<u>" + strSelection + "</u>"
 return;
}
 
function textBreak(textField) {
 strSelection = document.selection.createRange().text
 if (strSelection == "") {
  eval("document.form."+textField+".focus()")
  document.selection.createRange().text = strSelection + "<br>"
 } 
 else document.selection.createRange().text = strSelection + "<br>"
 return;
}
