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:    <script type="text/javascript" charset="utf-8">
        initPasteInput();
      </script>
  <br><br>       
      <p><fmt:message key="bagBuild.or"/></p>
        
  	 
  	 <%-- file header --%>
       <!-- <h4><img src="images/disclosed.gif"/><fmt:message key="bagBuild.bagFromFile"/></h4> -->
        	
       <%-- file input --%>
       <div align="left"><html:file styleId="fileInput" property="formFile" onkeypress="switchInputs('file','paste');"  onfocus="switchInputs('file','paste');" /></div>
      <br>
  
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"/>") {
  