anchor.diff:  	</h2>
   </c:if>
   
  -
  -<title>Coexpression search for <c:out
  -		value="${sourceGene.officialSymbol}" /> (<c:out
  -		value="${sourceGene.officialName}" />)</title>
  -<h2>
  -	Results for
  -	<a
  -		href="/Gemma/gene/showGene.html?id=<c:out value="${sourceGene.id}" />">
  -		<c:out value="${sourceGene.officialSymbol}" /> </a> (
  -	<c:out value="${sourceGene.officialName}" />
  -	)
  -	<br />
  -	with
  -	<c:out value="${numSourceGeneGoTerms}" />
  -	GO Terms
  -</h2>
  -<hr>
  -<div style="width:500px;">
  -
  +<c:if test="${coexpressedGenes != null}">
  +	<title>Coexpression search for <c:out value="${sourceGene.officialSymbol}" /> (<c:out
  +			value="${sourceGene.officialName}" />)</title>
  +	<h2>
  +		Results for
  +		<a href="/Gemma/gene/showGene.html?id=<c:out value="${sourceGene.id}" />"> <c:out value="${sourceGene.officialSymbol}" />
  +		</a> (
  +		<c:out value="${sourceGene.officialName}" />
  +		)
  +		<br />
  +		with
  +		<c:out value="${numSourceGeneGoTerms}" />
  +		GO Terms
  +	</h2>
  +	<hr>
   	<h4>
   
   		<a
  
positive.code: 							document.getElementById('geneIdSearch').value = 'false';
  						}
  						">
  								<option value="">
  									[Select a gene or refine the search]
  								</option>
  								<option value="Refine Search">
  									[Refine Search]
  								</option>
  								<c:forEach items="${genes}" var="gene">
  									<option value="${gene.id}">
  										${gene.officialSymbol} : ${gene.officialName }
  									</option>
  								</c:forEach>
  							</select>
  
  							<input id="searchStringTextInput" disabled style="display:none"
  								type="text" size=15 name="<c:out value="${status.expression}"/>"
  								value="${status.value}" />
  							<input id="geneIdSearch" style="display:none" type="text" size=15
  								name="geneIdSearch" value="true" />
  						</spring:bind>
  						<spring:bind path="coexpressionSearchCommand.exactSearch">
  							<input style="display:none" id="exactSearchCheckbox"
  								type="checkbox" name="${status.expression}"
  								<c:if test="${status.value == 'on'}">checked="checked"</c:if> />
  							<input type="hidden"
  								name="_<c:out value="${status.expression}"/>">
  						</spring:bind>
  						<span id="exactSearchLabel" style="display:none"> Exact
  							search </span>
  					</c:if>
  
  
  
  					<c:if test="${genes == null}">
  						<spring:bind path="coexpressionSearchCommand.searchString">
  							<input type="text" size=15
  								name="<c:out value="${status.expression}"/>"
  								value="<c:out value="${sourceGene.officialSymbol}"/>" />
  						</spring:bind>
  						<spring:bind path="coexpressionSearchCommand.exactSearch">
  							<input id="exactSearchCheckbox" type="checkbox"
  								name="${status.expression}"
  								<c:if test="${status.value == 'on'}">checked="checked"</c:if> />
  							<input type="hidden"
  								name="_<c:out value="${status.expression}"/>">
  						</spring:bind>
  					Exact search
  				</c:if>
  				</td>
  				<td>
  					<a class="helpLink" href="?"
  						onclick="showHelpTip(event, 
  				'Term(s) to identify a gene; check \'exact search\' if you know the official symbol for the gene.'); return false">
  						<img src="/Gemma/images/help.png" /> </a>
  				</td>
  			</tr>
  
  			<tr>
  				<td class='label' valign="top">
  					<b> Experiment keywords </b>
  				</td>
  				<td>
  					<spring:bind path="coexpressionSearchCommand.eeSearchString">
  						<input type="text" size=30
  							name="<c:out value="${status.expression}"/>"
  							value="<c:out value="${status.value}"/>" />
  					</spring:bind>
  				</td>
  				<td>
  					<a class="helpLink" href="?"
  						onclick="showHelpTip(event, 
  				'keywords of experiments to use in the coexpression analysis'); return false">
  						<img src="/Gemma/images/help.png" /> </a>
  				</td>
  			</tr>
  
  			<tr>
  				<td class='label' valign="top">
  					<b> <fmt:message key="label.species" /> </b>
  				</td>
  
  
  				<td>
  					<spring:bind path="coexpressionSearchCommand.taxon">
  						<select name="${status.expression}">
  							<c:forEach items="${taxa}" var="taxon">
  								<spring:transform value="${taxon}" var="scientificName" />
  								<option value="${scientificName}"
  									<c:if test="${status.value == scientificName}">selected </c:if>>
  									${scientificName}
  								</option>
  							</c:forEach>
  						</select>
  
  					</spring:bind>
  				</td>
  				<td>
  					<a class="helpLink" href="?"
  						onclick="showHelpTip(event, 
  				'Species to use in the coexpression search'); return false">
  						<img src="/Gemma/images/help.png" /> </a>
  				</td>
  			</tr>
  
  			<tr>
  				<td class='label' valign="top">
  					<b> <fmt:message key="label.stringency" /> </b>
  				</td>
  				<td>
  					<spring:bind path="coexpressionSearchCommand.stringency">
  						<input type="text" size=1
  							name="<c:out value="${status.expression}"/>"
  							value="<c:out value="${status.value}"/>" />
  					</spring:bind>
  				</td>
  				<td>
  					<a class="helpLink" href="?"
  						onclick="showHelpTip(event, 
  				'The number of datasets (experiments) that coexpress the gene before it is considered a positive result'); return false">
  						<img src="/Gemma/images/help.png" /> </a>
  				</td>
  			</tr>
  			<tr>
  				<td>
  					&nbsp;
  				</td>
  				<td>
  					<input type="submit" class="button" name="submit"
  						value="<fmt:message key="button.search"/>" />
  				</td>
  				<td>
  					&nbsp;
  				</td>
  			</tr>
  
  		</table>
  	</form>
  </div>
  
  <c:if test="${coexpressedGenes != null}">
  	<c:if test="${numLinkedExpressionExperiments != 0}">
  
  		<script type='text/javascript' src='/Gemma/scripts/prototype.js'></script>
  		<script type='text/javascript'
  			src='/Gemma/scripts/expandableObjects.js'></script>
  
  		<!-- Toggles for the expand/hide datasetList table -->
  		<span class="datasetList"
  			onclick="return toggleVisibility('datasetList')"> <img
  				src="/Gemma/images/chart_organisation_add.png" /> </span>
  		<span class="datasetList" style="display:none"
  			onclick="return toggleVisibility('datasetList')"> <img
  				src="/Gemma/images/chart_organisation_delete.png" /> </span>
  	</c:if>
  	<b> <c:out value="${numUsedExpressionExperiments}" /> datasets had
  		relevent coexpression data <br /> &emsp;&nbsp; <c:out
  			value="${numQuerySpecificEEs}" /> datasets probes for <c:out
  			value="${sourceGene.officialSymbol}" /> without detected
  		cross-hybridization potential. <c:if
  			test="${numLinkedExpressionExperiments != 0}">
  			<a href="#" onclick="return toggleVisibility('datasetList')">(details)</a>
  		</c:if> </b>
  
  	<br />
  	<div class="datasetList" style="display:none">
  
  		<display:table pagesize="100" name="expressionExperiments" sort="list"
  			defaultsort="2" class="list" requestURI=""
  			id="expressionExperimentList"
  			decorator="ubic.gemma.web.taglib.displaytag.expression.experiment.ExpressionExperimentWrapper">
  
  			<display:column property="rawCoexpressionLinkCount" sortable="true"
  				defaultorder="descending"
  				titleKey="expressionExperiment.rawLinkcount" />
  
  			<display:column property="coexpressionLinkCount" sortable="true"
  				defaultorder="ascending" titleKey="expressionExperiment.linkcount" />
  
  			<display:column property="nameLink" sortable="true"
  				sortProperty="name" titleKey="expressionExperiment.name" />
  
  			<display:column property="shortName" sortable="true"
  				titleKey="expressionExperiment.shortName" />
  
  			<display:column property="specific" sortable="true"
  				titleKey="expressionExperiment.specific" />
  
  
  			<authz:authorize ifAnyGranted="admin">
  				<display:column property="arrayDesignLink" sortable="true"
  					title="Arrays" />
  			</authz:authorize>
  
  
  			<display:column property="assaysLink" sortable="true"
  				titleKey="bioAssays.title" />
  
  			<display:setProperty name="basic.empty.showtable" value="false" />
  		</display:table>
  
negative.code: 		<c:if test="${numLinkedAlignedExpressionExperiments != 0}">
  
  			<!-- Toggles for the expand/hide datasetList table -->
  			<span class="alignedDatasetList" onclick="return toggleVisibility('alignedDatasetList')"> <img
  					src="/Gemma/images/chart_organisation_add.png" /> </span>
  			<span class="alignedDatasetList" style="display:none" onclick="return toggleVisibility('alignedDatasetList')"> <img
  					src="/Gemma/images/chart_organisation_delete.png" /> </span>
  		</c:if>
  		<b> <c:out value="${numUsedAlignedExpressionExperiments}" /> datasets had relevent Probe Aligned Region Coexpression
  			data <c:if test="${numLinkedAlignedExpressionExperiments != 0}">
  				<a href="#" onclick="return toggleVisibility('alignedDatasetList')">(details)</a>
  			</c:if> </b>
  
  		<br />
  		<div class="alignedDatasetList" style="display:none">
  
  			<display:table pagesize="100" name="alignedExpressionExperiments" sort="list" defaultsort="2" class="list" requestURI=""
  				id="alignedExpressionExperimentList"
  				decorator="ubic.gemma.web.taglib.displaytag.expression.experiment.ExpressionExperimentWrapper">
  
  				<display:column property="rawCoexpressionLinkCount" sortable="true" defaultorder="descending"
  					titleKey="expressionExperiment.rawLinkcount" />
  
  				<display:column property="coexpressionLinkCount" sortable="true" defaultorder="descending"
  					titleKey="expressionExperiment.linkcount" />
  
  				<display:column property="nameLink" sortable="true" sortProperty="name" titleKey="expressionExperiment.name" />
  
  				<display:column property="shortName" sortable="true" titleKey="expressionExperiment.shortName" />
  
  				<authz:authorize ifAnyGranted="admin">
  					<display:column property="arrayDesignLink" sortable="true" title="Arrays" />
  				</authz:authorize>
  
  
  				<display:column property="assaysLink" sortable="true" titleKey="bioAssays.title" />
  
  				<display:setProperty name="basic.empty.showtable" value="false" />
  			</display:table>
  