anchor.diff:  <tr>
       <td colspan="2" bgcolor="#eeeeee"><B>Experimental Designs</B></td>
       <%
  -			if(ee.getExperimentalDesigns().size()==0)
  -				out.print("<tr><td colspan='2'>No Experimental Designs for this experiment.</td></tr>");
  -			else{
  -				for(Iterator iter=ee.getExperimentalDesigns().iterator(); iter.hasNext(); ){
  -					ExperimentalDesign ed = (ExperimentalDesign) iter.next();
  -					String normalization = ed.getNormalizationDescription();
  -					String qualitycontrol = ed.getQualityControlDescription();
  -					String replicates = ed.getReplicateDescription();
  -					if(normalization==null)
  -						normalization = "Unknown";
  -					if(qualitycontrol==null)
  -						qualitycontrol = "Unknown";
  -					if(replicates==null)
  -						replicates = "Unknown";
  -						
  -					%>
  +
  +                if ( ee.getExperimentalDesigns().size() == 0 )
  +                    out.print( "<tr><td colspan='2'>No Experimental Designs for this experiment.</td></tr>" );
  +                else {
  +                    for ( Iterator iter = ee.getExperimentalDesigns().iterator(); iter.hasNext(); ) {
  +                        ExperimentalDesign ed = ( ExperimentalDesign ) iter.next();
  +                        String normalization = ed.getNormalizationDescription();
  +                        String qualitycontrol = ed.getQualityControlDescription();
  +                        String replicates = ed.getReplicateDescription();
  +                        if ( normalization == null ) normalization = "Unknown";
  +                        if ( qualitycontrol == null ) qualitycontrol = "Unknown";
  +                        if ( replicates == null ) replicates = "Unknown";
  +
  +                        %>
   <tr>
       <td>Normalization</td>
       <td><%=normalization%></td>
  
positive.code: <tr>
      <td valign='top'>Design Types:</td>
      <td><%
  						for(Iterator iterTypes=ed.getTypes().iterator(); iterTypes.hasNext(); ){
  							OntologyEntry oe = (OntologyEntry) iterTypes.next();
  							out.print(oe.getValue() + "<br>");	
  						}
  						%></td>
  </tr>
  <tr>
      <td valign='top'>Factors</td>
      <td><%
  						String categoryName="";
  						String factorList="";
  						if( ed.getExperimentalFactors().size()==0 )
  							out.print("No Factors for this experiment");
  						else{
  							for(Iterator iterFac=ed.getExperimentalFactors().iterator(); iterFac.hasNext(); ){
  								categoryName="";
  								factorList="";
  								String factorValue="";
  								String factorMeasurement="";
  								ExperimentalFactor fac = (ExperimentalFactor) iterFac.next();
  								OntologyEntry category = fac.getCategory();
  								if( category==null)
  									categoryName="Unknown";
  								else
  									categoryName=category.getValue();
  								for(Iterator iterFacValues=fac.getFactorValues().iterator(); iterFacValues.hasNext(); ){
  									FactorValue fv = (FactorValue) iterFacValues.next();	
  									OntologyEntry fvValue = fv.getValue();
  									if(fvValue==null)
  										factorValue="Unknown Value";
  									else
  										factorValue = fvValue.getValue();
  									if(fv.getMeasurement()==null)
  										factorMeasurement="";
  									else
  										factorMeasurement = fv.getMeasurement().getValue();
  									factorList = factorList + " (" + factorValue + ") " + factorMeasurement + "<br>";
  								}						
  							}
  						}
  						
  						%>
      <table>
          <tr>
              <td valign='top'><b><%=categoryName%></b>:</td>
  
negative.code:         name="action" id="action" value="setPI"> <input type="hidden"
          name="experimentID" id="experimentID" value="<%=ee.getId()%>">
      <td valign="top">Principal Investigator:<BR>
      <%
  
                  if ( ee.getOwner() == null ) {
                  %> "None specified" <%} else
                      %><%= ee.getOwner().getName() %>
      </td>
      <td valign="top"><input type="text" name="username" id="username"> <input
          type="submit" value="update"></td>
  