anchor.diff:        <td></td>
         <td>
           <input type="submit" name="upload" value="Upload<fmt:message key='attach.add.submit'/>" style="display:none;"/>
  -        <input type="button" name="uploax" value="<fmt:message key='attach.add.submit'/>" onclick="this.form.upload.click();"/>
  +        <input type="button" name="uploax" value="<fmt:message key='attach.add.submit'/>" onclick="popUp('<wiki:Link jsp='ProgressPopup.jsp' format='url'><wiki:Param name='id' value='<%=progressId%>'/></wiki:Link>'); this.form.upload.click();"/>
           <input type="hidden" name="action" value="upload" /></td>
         </td>
       </tr>
  
positive.code: <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
  <%@ page import="com.ecyrd.jspwiki.*" %>
  <%@ page import="com.ecyrd.jspwiki.auth.*" %>
  <%@ page import="com.ecyrd.jspwiki.auth.permissions.*" %>
  <%@ page import="java.security.Permission" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  
negative.code: <%
    int MAXATTACHNAMELENGTH = 30;
    WikiContext wikiContext = WikiContext.findContext(pageContext);
    String progressId = wikiContext.getEngine().getProgressManager().getNewProgressIdentifier();
  %>
  
  <script language="JavaScript">
  function popUp(URL) {
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=20,left = 240,top = 502');");
  }
  </script>
  <h3><fmt:message key="attach.add"/></h3>
  <wiki:Permission permission="upload">
    <wiki:Permission permission="upload">
    <form action="<wiki:Link jsp='attach' format='url' absolute='true'><wiki:Param name='progressid' value='<%=progressId%>'/></wiki:Link>"
           class="wikiform"
          method="post"
         enctype="multipart/form-data" accept-charset="<wiki:ContentEncoding/>"
        onsubmit="return Wiki.submitOnce( this );" >
      <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
  