anchor.diff:  <%@ page import="java.awt.*,
   			org.krysalis.jcharts.imageMap.*,
  -			java.util.*"%>
  +			java.util.*,
  +			gov.nih.nci.nautilus.lookup.*"%>
   
   <%
  -long randomness = System.currentTimeMillis();
  +long randomness = System.currentTimeMillis(); //prevent image caching
   %> 
   <img src="getMap.jsp?<%=randomness%>" usemap="#chartMap" border="0">
   <br clear="all">
  -Legend: Probesets<br><br>
  -<a href="javascript:void(window.print())">[Print this graph]</a><Br><Br>
  -<b>To save this image, right click and select "save image as..."</b><br><Br>
  +Legend: Probesets<br><br><br>
  +
    <map name="chartMap">
   <%
   
  
positive.code: ImageMap imageMap = (ImageMap) request.getAttribute( "map" );
  
  ArrayList pValues = (ArrayList) request.getAttribute( "pValues" );
  int counter = 0;
  Iterator iterator= imageMap.getIterator();
  while( iterator.hasNext() )
  {
      ImageMapArea imageMapArea= (ImageMapArea) iterator.next();
  /*
      html.append( "href=\"javascript:alert(" );
      html.append( imageMapArea.getValue() );
      html.append( ",'" );
      html.append( imageMapArea.getLengendLabel() );
      html.append( "','" );
      html.append( imageMapArea.getXAxisLabel() );
      html.append( "');\"" );
  */
  	html.append( "href=\"javascript:void(0);\"" );
  	html.append( "onmouseover=\"return overlib('"+imageMapArea.getLengendLabel()+": " + imageMapArea.getValue()+" PVALUE: " + pValues.get(counter).toString() +"', CAPTION, 'Value', FGCOLOR, '#FFFFFF', BGCOLOR, '#000000', WIDTH, 150, HEIGHT, 25);\"" );
  	html.append( "onmouseout=\"return nd();\"");
  %>
  <%= imageMapArea.toHTML( html.toString() ) %>
  <%
  
negative.code: }
  %>
  </map>
  
  <!-- <div style="border:1px solid black; width:300px; text-align:left; padding:3px"> -->
  <fieldset style="width:300px; text-align:left; padding:3px">
  	<legend>Abbreviations of Group Names</legend>
  		
  	<%
  	DiseaseTypeLookup[] diseaseTypes = LookupManager.getDiseaseType();
  	if(diseaseTypes != null)	{
  		for (int i = 0; i< diseaseTypes.length ; i++) {
  		String diseaseType = diseaseTypes[i].getDiseaseType();
  				if(diseaseType.equalsIgnoreCase(gov.nih.nci.nautilus.constants.Constants.ASTRO))	{
  		    			diseaseType = diseaseType.substring(0,6);
  		    	}	
  		 	out.println(diseaseType+": "+diseaseTypes[i].getDiseaseDesc() + "<br>" );
  		}
  	}
  	else	{
  	%>
  		<pre>
  		GBM:	Glioblastoma Multiforme
  		OLIG:	Oligodendroglioma
  		ASTRO:	Astrocytoma
  		MIXED:	Mixed
  		GLIOMA:	Glioma (Includes All)
  		NON-TUMOR: Normal
  		</pre>
  	<%
  	}
  	%>
  </fieldset>
  <!--
  </div>
  <br clear="all">
  Legend: Abbreviations of Group Names
  -->
  <br>
  <a href="javascript:void(window.print())">[Print this graph]</a><Br><Br>
  <b>To save this image, right click and select "save image as..."</b><br><Br>
  