anchor.diff:  //
   // Modifications:
   //
  +// 2007 Aug 15: combined node and domain reports into resource reports
  +// 2006 Mar 08: added standard and custom domain reports
   // 2003 Feb 07: Fixed URLEncoder issues.
   // 2002 Nov 26: Fixed breadcrumbs issue.
   // 
  
positive.code: </jsp:include>
  
  <script language="Javascript" type="text/javascript" >
    function validateNode()
    {
        var isChecked = false
        for( i = 0; i < document.choose_node.parentResource.length; i++ )
        {
           //make sure something is checked before proceeding
           if (document.choose_node.parentResource[i].selected)
           {
              isChecked=true;
           }
  
negative.code: 
        if (!isChecked)
        {
            alert("Please check the resource that you would like to report on.");
        }
        return isChecked;
    }
  
    function submitResourceForm()
    {
        if (validateResource())
        {
            document.choose_resource.submit();
        }
    }
  
    function submitResourceFormAdhoc()
    {
        if (validateResourceAdhoc())
        {
            document.choose_resource_adhoc.submit();
        }
    }
  
  </script>
  
  <div class="TwoColLeft">
    <div class="boxWrapper">
      <h3>Standard Resource<br>Performance Reports</h3>
  
      <p>
        Choose a resource for a standard performance report.
      </p>
  
      <form method="get" name="choose_resource" action="graph/chooseresource.htm">
        <input type="hidden" name="reports" value="all" />
  
        <select style="width: 100%;" name="parentResourceId" size="10">
          <c:forEach var="resource" items="${topLevelResources}">
            <option value="${resource.id}">${resource.resourceType.label}: ${resource.label}</option>
          </c:forEach>
        </select>
  
        <br/>
        <br/>
  
        <input type="button" value="Start" onclick="submitResourceForm()"/>
      </form>
    </div>
    <div class="boxWrapper">
  
      <h3>Custom Resource<br>Performance Reports</h3>
  
      <p>
        Choose a resource for a custom performance report.
      </p>
  
      <form method="get" name="choose_resource_adhoc" action="graph/chooseresource.htm">
        <input type="hidden" name="endUrl" value="graph/adhoc2.jsp"/>
        <select style="width: 100%;" name="parentResourceId" size="10">
          <c:forEach var="resource" items="${topLevelResources}">
            <option value="${resource.id}">${resource.resourceType.label}: ${resource.label}</option>
          </c:forEach>
        </select>
  
        <br/>
        <br/>
  
        <input type="button" value="Start" onclick="submitResourceFormAdhoc()"/>
      </form>
    </div>
  </div>
  
  <div class="TwoColRight">
    <div class="boxWrapper">
      <h3 align=center>Network Performance Data</h3>
  
      <p>
        The <strong>Standard Performance Reports</strong> provide a stock way to
        easily visualize the critical SNMP data collected from managed nodes
        and interfaces throughout your network.
      </p>
  
      <p>
        <strong>Custom Performance Reports</strong> can be used to produce a
        single graph that contains the data of your choice from a single
        interface or node.  You can select the timeframe, line colors, line
         styles, and title of the graph and you can bookmark the results.
      </p>
    </div>
  </div>
  
  <jsp:include page="/includes/footer.jsp" flush="false"/>
  