<commit_before><%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!-- htmlHead.jsp -->

<tiles:importAttribute name="htmlPageTitle" ignore="true"/>
<tiles:importAttribute name="pageName" ignore="true"/>

<link href="${WEB_PROPERTIES['project.rss']}" rel="alternate" type="application/rss+xml" title="${WEB_PROPERTIES['project.title']} | News" />

<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/webapp.css'/>"/>
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/inlineTagEditor.css'/>"/>

<%
/* In Safari, loading a css that doesnt exist causes weirdness */
String pageName = (String) request.getAttribute("pageName");
if(new java.io.File(application.getRealPath("css")+"/"+pageName+".css").exists()) {
        request.setAttribute("pageCSS","true");
}
%>
<c:if test="${pageCSS == 'true'}">
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/${pageName}.css'/>"/>
</c:if>

<c:set var="theme" value="${WEB_PROPERTIES['theme']}"/>
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/themes/${theme}/theme.css'/>"/>

<script type="text/javascript" src="<html:rewrite page='/js/jquery-1.3.2.min.js'/>"></script>
<c:if test="${pageName == 'results' || pageName == 'bagDetails' || pageName == 'objectDetails'}">
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.qtip-1.0.0-rc3.min.js'/>"></script>
</c:if>
<c:if test="${pageName == 'begin'}">
  <script type="text/javascript" src="<html:rewrite page='/js/jQuery.roundCorners-1.1.1.js'/>"></script>
  <script type="text/javascript" src="<html:rewrite page='/js/excancas.js'/>"></script>
  <link rel="stylesheet" href="model/css/frontpage_sections.css" type="text/css" media="screen" title="no title" charset="utf-8">
</c:if>
<c:if test="${pageName == 'results' || pageName == 'query' || pageName == 'templates' || pageName == 'bagDetails' || pageName == 'objectDetails' }">
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.boxy.js'/>"></script>
  <link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/boxy.css'/>"/>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.dimensions.min.js'/>"></script>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.center.js'/>"></script>

  <!-- Get rid of this as soon as moved completely to dwr - inline templates -->
  <script type="text/javascript" src="<html:rewrite page='/js/prototype.js'/>"></script>
</c:if>

<c:if test="${pageName == 'template'}">
  <!-- this is needed for the autocompleter to work -->
  <script type="text/javascript" src="<html:rewrite page='/js/prototype.js'/>"></script>
</c:if>
 
<c:if test="${pageName == 'query' || pageName == 'exportOptions'}">
  <link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/jquery-ui-1.7.2.custom.css'/>"/>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery-ui-1.7.2.custom.min.js'/>"></script>
</c:if>  

<script type="text/javascript">
  jQuery.noConflict();
</script>

<script type="text/javascript" src="<html:rewrite page='/dwr/interface/AjaxServices.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/imdwr.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/imutils.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/inlineTagEditor.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/date.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/tagSelect.js'/>"></script>
<!--[if lt IE 7.]>
  <script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->

<meta content="microarray, bioinformatics, drosophila, genomics" name="keywords"/>
<meta content="Integrated queryable database for Drosophila and Anopheles genomics"
      name="description"/>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/>

<title>
  <c:choose>
    <c:when test="${empty pageName}">
      <c:out value="${WEB_PROPERTIES['project.title']}" escapeXml="false"/>
    </c:when>
    <c:otherwise>
      <c:out value="${WEB_PROPERTIES['project.title']}: ${htmlPageTitle}" escapeXml="false"/>
    </c:otherwise>
  </c:choose>
</title>

<script type="text/javascript">
<!--
  function showContactForm()
  {
    document.getElementById('contactFormDiv').style.display='';
    document.getElementById('contactFormDivButton').style.display='none';
    window.scrollTo(0, 99999);
    document.getElementById("fbname").focus();
  }

//-->
</script>
<!-- /htmlHead.jsp -->
<commit_msg>include missing javascript import, fixes error on lists page.<commit_after><%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!-- htmlHead.jsp -->

<tiles:importAttribute name="htmlPageTitle" ignore="true"/>
<tiles:importAttribute name="pageName" ignore="true"/>

<link href="${WEB_PROPERTIES['project.rss']}" rel="alternate" type="application/rss+xml" title="${WEB_PROPERTIES['project.title']} | News" />

<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/webapp.css'/>"/>
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/inlineTagEditor.css'/>"/>

<%
/* In Safari, loading a css that doesnt exist causes weirdness */
String pageName = (String) request.getAttribute("pageName");
if(new java.io.File(application.getRealPath("css")+"/"+pageName+".css").exists()) {
        request.setAttribute("pageCSS","true");
}
%>
<c:if test="${pageCSS == 'true'}">
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/${pageName}.css'/>"/>
</c:if>

<c:set var="theme" value="${WEB_PROPERTIES['theme']}"/>
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/themes/${theme}/theme.css'/>"/>

<script type="text/javascript" src="<html:rewrite page='/js/jquery-1.3.2.min.js'/>"></script>
<c:if test="${pageName == 'results' || pageName == 'bagDetails' || pageName == 'objectDetails'}">
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.qtip-1.0.0-rc3.min.js'/>"></script>
</c:if>
<c:if test="${pageName == 'begin'}">
  <script type="text/javascript" src="<html:rewrite page='/js/jQuery.roundCorners-1.1.1.js'/>"></script>
  <script type="text/javascript" src="<html:rewrite page='/js/excanvas.js'/>"></script>
  <link rel="stylesheet" href="model/css/frontpage_sections.css" type="text/css" media="screen" title="no title" charset="utf-8">
</c:if>
<c:if test="${pageName == 'results' || pageName == 'query' || pageName == 'templates' || pageName == 'bagDetails' || pageName == 'objectDetails' || pageName == 'bag'}">
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.boxy.js'/>"></script>
  <link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/boxy.css'/>"/>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.dimensions.min.js'/>"></script>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery.center.js'/>"></script>

  <!-- Get rid of this as soon as moved completely to dwr - inline templates -->
  <script type="text/javascript" src="<html:rewrite page='/js/prototype.js'/>"></script>
</c:if>

<c:if test="${pageName == 'template'}">
  <!-- this is needed for the autocompleter to work -->
  <script type="text/javascript" src="<html:rewrite page='/js/prototype.js'/>"></script>
</c:if>
 
<c:if test="${pageName == 'query' || pageName == 'exportOptions'}">
  <link rel="stylesheet" type="text/css" href="<html:rewrite page='/css/jquery-ui-1.7.2.custom.css'/>"/>
  <script type="text/javascript" src="<html:rewrite page='/js/jquery-ui-1.7.2.custom.min.js'/>"></script>
</c:if>  

<script type="text/javascript">
  jQuery.noConflict();
</script>

<script type="text/javascript" src="<html:rewrite page='/dwr/interface/AjaxServices.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/imdwr.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/imutils.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/inlineTagEditor.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/date.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/js/tagSelect.js'/>"></script>
<!--[if lt IE 7.]>
  <script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->

<meta content="microarray, bioinformatics, drosophila, genomics" name="keywords"/>
<meta content="Integrated queryable database for Drosophila and Anopheles genomics"
      name="description"/>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/>

<title>
  <c:choose>
    <c:when test="${empty pageName}">
      <c:out value="${WEB_PROPERTIES['project.title']}" escapeXml="false"/>
    </c:when>
    <c:otherwise>
      <c:out value="${WEB_PROPERTIES['project.title']}: ${htmlPageTitle}" escapeXml="false"/>
    </c:otherwise>
  </c:choose>
</title>

<script type="text/javascript">
<!--
  function showContactForm()
  {
    document.getElementById('contactFormDiv').style.display='';
    document.getElementById('contactFormDivButton').style.display='none';
    window.scrollTo(0, 99999);
    document.getElementById("fbname").focus();
  }

//-->
</script>
<!-- /htmlHead.jsp -->

{'fraction_non_alphanumeric': 0.237807335751713, 'fraction_numerical': 0.0058444175735590485, 'mean_word_length': 5.683501683501683, 'pattern_counts': {'":': 0, '<': 231, '<?xml version=': 0, '>': 231, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2646235', 'n_tokens_mistral': 3518, 'n_tokens_neox': 3438, 'n_words': 562}