code: public void addStyles(HtmlStyle style, StringBuilder vars) {
          vars.append("var ").append(style).append(" = \"").append(style)
                  .append("\";").append(DocletConstants.NL);
      }
docs: Adds javascript style variables to the document.
  
  @param style style to be added as a javascript variable
  @param vars variable string to which the style variable will be added