anchor.diff:  		 		var csvLink = document.createElement("a");
   				csvLink.setAttribute("href","#");
   				//csvLink.style.marginLeft = "10px";
  -				csvLink.setAttribute("name", frameid);
  +				//csvLink.setAttribute("name", frameid);
   				csvLink.onclick = function()  {
   					//alert(searchedFor);
   					var u = "idDownload.do?i="+searchedFor;
  
positive.code: 		 		
  		 		
  		 		var frameid;
  		 		for(var r=0; r<registrants.length; r++)	{
  		 			
  		 			games = registrants[r].getElementsByTagName("sample");
  		 			
  		 			//generate the iframe
  		 			frameid = registrants[r].getAttribute("regId");
  		 			
  		 			var tDIV = document.createElement("div");
  					tDIV.setAttribute("id","div_"+frameid+"_div");
  
negative.code: 	 	},
  	 	'lookup_cb' : function(txt)	{
  	 		
  	 		
  	 		var numpatients = 0;
  	 		d = document;
  	 						
  	 		try	{
  		 		//var registrants = eval(txt);
  		 		var registrants = eval('(' + txt + ')');
  		 		//alert(registrants.length-1 + " registrants");
  
  	 			//registrants = txt.getElementsByTagName("registrant");
  		 		
  		 		//var searchedFor = txt.getElementsByTagName("table")[0].getAttribute("name");
  		 		
  		 		var searchedFor = registrants.length > 0 ? registrants[0] : "none";
  		 		//alert("searched for: " + searchedFor);
  		 		
  		 		/*
  		 		if(registrants.length < 1)	{
  		 			//no records
  		 			throw("No records found. Please try again.");
  		 		}
  		 		*/
  		 		
  		 		if(registrants.length<2)	{
  		 			throw("No records found searching for '"+searchedFor+"'.  Please try again.");
  		 		}
  		 		
  		 		//numpatients = registrants.length;
  		 		numpatients = registrants.length-1; //first one is the searchTerm
  		 		
  		 		var linkDIV = document.createElement("div");
  		 		linkDIV.style.marginTop = "20px";
  