void setOwnerDocument(Document value) {

    super.setOwnerDocument(value);
    if (value instanceof HTMLDocument) {
      ((HTMLDocument) value).setBody(this);
    }
  }
  protected void assignAttributeField(String normalName, String value) {

    if ("onload".equals(normalName)) {
      Function onload = this.getEventFunction(null, normalName);
      if (onload != null) {
        this.setOnload(onload);
      }
    } else {
      super.assignAttributeField(normalName, value);
    }
  }