anchor.diff:  
   <script type="text/javascript">
   
  -function callJsmol(pdbid, appletName, callbackfun) {
  -    var Info = {
  +function _initJsmol(geneSymbol)
  +{
  +	var pdbid = "1crn"; // TODO get from servlet
  +	var appletName = 'applet_' + geneSymbol;
  +	var callbackfun = function(applet) {/*alert('add your callback functions here');*/};
  +
  +    var jsmolOpts = {
           width: 300,
           height: 200,
           debug: false,
  
positive.code:         out.println("<div id='mutation_diagram_" + geneSymbol + "'></div>");
          out.println("<div id='mutation_histogram_" + geneSymbol + "'></div>");
          out.println("</td><td>");
          out.println("<div id='mutation_3d_structure_" + geneSymbol + "'>");
          out.println("<script type='text/javascript'>callJsmol('1crn', 'applet_"+geneSymbol+"', function(applet) {/*alert('add your callback functions here');*/});</script>");
          out.println("</div>");
          out.println("</td></tr></table>");
          out.println("<div id='mutation_table_" + geneSymbol + "'>" +
                      "<img src='images/ajax-loader.gif'/>" +
  
negative.code:         out.println("<p>There are no mutation details available for the gene set entered.</p>");
          out.println("<br><br>");
      }
  
  	private void outputJsmolContainer(JspWriter out, String geneSymbol) throws IOException {
  		// TODO Jsmol doesn't work unless it is defined inside in a script inside a div...
  		out.println("<div id='mutation_3d_structure_" + geneSymbol + "'>");
  		out.println("<script type='text/javascript'>_initJsmol('" + geneSymbol + "');</script>");
  		out.println("</div>");
  	}
  %>
  