function GetObj(name,doc) {
  if (!doc) doc = document;
  if (doc.getElementById) {
    if (doc.getElementById(name)) {
      this.obj    = doc.getElementById(name);
      this.style  = doc.getElementById(name).style;
    }
  }
  else if (doc.all) {
    this.obj   = doc.all[name];
    this.style = doc.all[name].style;
  }
  else if (doc.layers) {
    this.obj   = doc.layers[name];
    this.style = doc.layers[name];
  }
}

function commentShow(id,hide) {
  var comment = new GetObj(id);
  if(comment.obj) {
    if(!hide) comment.style.display = 'block';
    else comment.style.display = 'none';
  }
  delete comment;
}