anchor.diff:   <div id="stock-container">
    
    </div>
  + 
  +<style>
  +
  +.link{
  +color: blue;
  +}
  +
  +</style>
   
   <script type="text/javascript">
   
   var geneId = "${name}";
   var serviceURL = "${serviceURL}";
   
  +var formatLink = function(url, text, target, cls){
  +    target = target || "_self";
  +    text = text || url;
  +   if (cls == 'extlink') {
  +         return '<a class="'+cls+'" href="'+url+'" target="'+target+'">' + text + '</a>';
  +      } else {
  +         return '<a href="'+url+'" target="'+target+'">' + text + '</a>';
  +      }
  +    };
  +
  +var wrapSpan = function(text){
  +        return '<span  class="link">'+text+'</span>';
  +     };
  +    
  +     var formatDataLink = function(name, id, text, dataClass, value){
  +	 var url = '/${WEB_PROPERTIES['webapp.path']}' + '/report.do?id=' + id + '#StockAvailabilityDisplayer';
  +	 var target = "_blank";
  +		 
  +	 console.log("In formatDataLink!");
  +	 
  +	 return name + ' &nbsp;&nbsp;' + '<a href="'+url+'" target="'+target+'">' + wrapSpan(' Order Stock ' + '<i class="fa fa-external-link"></i>')  + '</a>';
  +		
  + }
  + 
   var selector = '#stock-container';
   var service  = {root: serviceURL};
   var query    = {
  
positive.code: <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  
  <!-- stockPhenotypeTableDisplayer.jsp -->
  <div id="stockPhenotypeTableDisplayer" class="collection-table">
  
negative.code: 		    }
  		  ]
  		};
  
  var stockFormatter = function(o) {
  	
  	console.log("In Stock Formatter!");
      return formatDataLink(o.get('germplasmName'), o.get('id'), "Stock", undefined);
  };
  
  
  imtables.formatting.registerFormatter(
  		stockFormatter,
  	    'genomic',
  	    'Stock',
  	    ['germplasmName', 'id']
  	);
  
  var properties = { SubtableInitialState: 'open' };
  
  imtables.configure('DefaultPageSize', 5);
  