function styleAbbr() {
  var oldBodyText, newBodyText, reg
  if (isIE) {
    oldBodyText = document.body.innerHTML;
    reg = /<ABBR([^>]*)>([^<]*)<\/ABBR>/g;
    newBodyText = oldBodyText.replace(reg, '<ABBR $1><SPAN class=\"abbr\" $1>$2</SPAN></ABBR>');
    document.body.innerHTML = newBodyText;
  }
}

window.onload = function(){
  styleAbbr()
  if (document.getElementById('chc_host')) checkPresent();
};

isIE = (document.all) ? true:false;
function checkPresent() {
  if (document.getElementById('chc_host').value == 1) {
    document.getElementById('div_present').className = 'present visible';
  }
  else document.getElementById('div_present').className = 'present';
}

