val = unescapeString(val);
  static void parseParams(DomNode node, AppletTag t)  {    boolean ja = false;    boolean jb = false;    boolean jc = false;    NodeList l = node.getChildNodes();    int size = l.getLength();        if (size != 0)      for (int i = 0; i < size; i++)        {          Object c = l.item(i);          if (! (c instanceof DomHTMLParamElement))            continue;          DomHTMLParamElement curr = (DomHTMLParamElement) c;          String key = curr.getName();          String val = curr.getValue();                    if (key.equals("java_code"))            {              jc = true;              t.code = val;            }          else if (key.equals("java_codebase"))            {              jb = true;              t.codebase = val;            }          else if (!jc && key.equals("code"))            t.code = val;          else if (!jc && key.equals("classid"))            {              int x = val.indexOf(":");              if (x != -1)                val = val.substring(x + 1);              t.code = val;            }          else if (!jb && key.equals("codebase"))            t.codebase = val;          else if (key.equals("java_archive"))            {              ja = true;              t.archives = parseArchives(val, t);              val = t.archives.toString();            }          else if (!ja && key.equals("archive"))            {              t.archives = parseArchives(val, t);              val = t.archives.toString();            }          t.parameters.put(key.toLowerCase(), val);        }  }