anchor.diff:  var graphImgs = graphDiv.getElementsByClassName("graphImg");
   for (var imgIndex = 0; imgIndex < graphImgs.length; imgIndex++) {
       var graphImg = graphImgs[imgIndex];
  -    if (graphImg.dataset["imgsrc"].contains("width=") || graphImg.dataset["imgsrc"].contains("height=")) {
  +    if (graphImg.dataset["imgsrc"].indexOf("width=") > -1 || graphImg.dataset["imgsrc"].indexOf("height=") > -1) {
           graphImg.src = graphImg.dataset["imgsrc"];
       } else {
           graphImg.src = graphImg.dataset["imgsrc"] + "&width=" + defaultGraphWidth + "&height=" + defaultGraphHeight;
  
positive.code:                         <c:param name="end" value="${results.end.time}"/>
                      </c:url>
  
                      <c:if test="${fn:contains(resultSet.resource.resourceType.label, 'SNMP') || fn:contains(resultSet.resource.resourceType.label, 'TCA') }">
                          <c:if test="${fn:contains(resultSet.resource.label,'(*)') != true}">
                              <a href="javascript:nrtgPopUp('${resultSet.resource.id}','${graph.name}')"><font size="-1"> Start NRT-Graphing for ${graph.title} </font></a><br>
                              </c:if>
                          </c:if>
  
                      <!--
                                          <form action="nrt/starter" onsubmit="return nrtgPopup();" id="nrtgForm" >
                                              <input type="hidden" name="resourceId" value="${resultSet.resource.id}"/>
                                              <input type="hidden" name="report" value="${graph.name}"/>
                                              <input type="submit" name="nrt" value="NRT Graph"/>
                                          </form>
                      -->
                      <a href="${zoomUrl}"><img class="graphImg" data-imgsrc="${graphUrl}" src="#" alt="Resource graph: ${graph.title} (click to zoom)" /></a>
                      <opennms-addKscReport id="${resultSet.resource.id}.${graph.name}" reportName="${graph.name}" resourceId="${resultSet.resource.id}" graphTitle="${graph.title}" timespan="${results.relativeTime}"></opennms-addKscReport>
                      <br/>
                      <br/>
                  </c:forEach>
              </c:when>
  
  
negative.code: 
  
                  <div align="center">
                      <div>
                      <div style="text-align: right;" id="auxControls">
                      <opennms-addKscReport id="${resultSet.resource.id}.${resultSet.graphs[0].name}" reportName="${resultSet.graphs[0].name}" resourceId="${resultSet.resource.id}" graphTitle="${resultSet.graphs[0].title}" timespan="${results.relativeTime}" onclick="document.getElementById('auxControls').style.height = '120px';"></opennms-addKscReport>
                      <c:if test="${fn:contains(resultSet.resource.resourceType.label, 'SNMP') || fn:contains(resultSet.resource.resourceType.label, 'TCA') }">
                          <c:if test="${fn:contains(resultSet.resource.label,'(*)') != true}">
                              <a href="javascript:nrtgPopUp('${resultSet.resource.id}','${resultSet.graphs[0].name}')" title="Start NRT-Graphing for ${graph.title}"><button type="button" class="btn btn-default btn-xs" aria-label="Start NRT-Graphing for ${graph.title}"><span class="glyphicon glyphicon-flash" aria-hidden="true"></span></button></a><br/>
                          </c:if>
                      </c:if>
                      </div>
                      <img id="zoomImage" class="graphImg" data-imgsrc="${graphUrl}" src="#" alt="Resource graph: ${resultSet.graphs[0].title} (drag to zoom)" />
                      </div>
                  </div>
              </c:when>
  
  