anchor.diff:  
   <script>
   // Call to set initial expert mode actions correctly 
  -toggleExpertMode();
  +init();
   </script>
  
positive.code: <portlet:defineObjects/>
  
  <script>
  // Check to see if a component is "safe" to stop within a running server.
  // Service components with names that begin with "org.apache.geronimo.configs/", for example,
  // may not be safe to stop because doing so might prevent other components
  
negative.code:     }
      return results;
  }
  
  // get cookie utility routine
  function getCookie(name) {
      var result = "";
      var key = name + "=";
      if (document.cookie.length > 0) {
          start = document.cookie.indexOf(key);
          if (start != -1) { 
              start += key.length;
              end = document.cookie.indexOf(";", start);
              if (end == -1) end = document.cookie.length;
              result=document.cookie.substring(start, end);
          }
      }
      return result;
  }
  
  // initialization routine to set the initial display state for expert mode correctly
  function init() {
      if (getCookie(EXPERT_COOKIE) == 'true') {
          document.checkExpert.expertMode.checked = true;
      }
      else {
          document.checkExpert.expertMode.checked = false;
      }
      toggleExpertMode();
  }
  </script>
  
  
  <br />
  <form name="checkExpert">
  <input type="checkbox" name="expertMode" onClick="toggleExpertMode();" />&nbsp;Expert User (enable all actions on Geronimo Provided Components)   
  </form>
  <br />
  <table width="100%">
  