anchor.diff:           document.getElementById('pasteInput').style.fontStyle = "normal";
         }
       }
  -    
  +
       function resetInputs() {
          document.getElementById('fileInput').disabled = false;
          document.getElementById('pasteInput').disabled = false;
          document.getElementById('fileInput').value='';
          initPasteInput();
       }
  -    
  +
       function initPasteInput() {
          document.getElementById('pasteInput').value = "<fmt:message key="bagBuild.bagPaste"/>";
          document.getElementById('pasteInput').style.color = "#666";
          document.getElementById('pasteInput').style.fontStyle = "italic";
       }
  -    
  +
       function loadExample(example) {
       	document.getElementById('pasteInput').focus();
  -    	document.getElementById('pasteInput').value = example;    
  -    	
  +    	document.getElementById('pasteInput').value = example;
       	return false;
       }
   
  
positive.code:        <%-- reset button --%>
         <input type="button" onClick="resetInputs()" value="Reset" />
         <html:submit disabled="true" styleId="submitBag"><fmt:message key="bagBuild.makeBag"/></html:submit>
      </div>    
  
      <html:hidden styleId="whichInput" property="whichInput" />
    </html:form>
  
negative.code:    function switchInputs(open, close) {
        document.getElementById(open + 'Input').disabled = false;
        document.getElementById(close + 'Input').disabled = true;
  
        document.getElementById('whichInput').value = open;
  
        document.getElementById('submitBag').disabled = false;
        // only clear contents if contents equals our help text
        if(open == 'paste' && document.getElementById('pasteInput').value == "<fmt:message key="bagBuild.bagPaste"/>") {
  