anchor.diff:          el.disabled = false;
        }
      }
  -
  -   window.onload = function() {
  -     typeChanged();
  -   }
  -
   //]]>-->
   </script>
   
  
positive.code:     	return false;
      }
  
  
     var typeToEnable = new Array();
     <c:forEach items="${typesWithConnectingField}" var="type">
     typeToEnable['${type}'] = 1;
     </c:forEach>
  
     function typeChanged() {
       submitBag.disabled = true;
       var type = document.getElementById('typeSelector').value;
       var el = document.getElementById('extraConstraintSelect');
       if (typeToEnable[type] == null){
  
negative.code:   </html:form>
  </div>
  </im:boxarea>
  
  <script language="javascript">
  <!--//<![CDATA[
     window.onload = function() {
       typeChanged();
     }
  
  //]]>-->
  </script>
  <!-- /bagBuild.jsp -->
  