anchor.diff:  				viewResults = "<a id=\"inboxStatus\" href=\"viewResults.do\">View Results&nbsp;&nbsp;</a>";
   				analysis = "<a href=\"analysisHome.do\">High Order Analysis</a>";
   				list = "<span>Manage Lists</span>\n";
  +				download="<a href=\"download.do\">Download</a>";
  +				break;
  +			case 6:
  +				simple = "<a href=\"home.do\">Simple Search</a>";
  +				adv = "<a href=\"menu.do\">Advanced Search</a>";
  +				viewResults = "<a id=\"inboxStatus\" href=\"viewResults.do\">View Results&nbsp;&nbsp;</a>";
  +				analysis = "<a href=\"analysisHome.do\">High Order Analysis</a>";
  +				list = "<a href=\"manageLists.do\">Manage Lists</a>";
  +				download="<span>Download</span>\n";
   				break;
   			case 0:
   			default:
  
positive.code: 				viewResults = "<a id=\"inboxStatus\" href=\"viewResults.do\">View Results&nbsp;&nbsp;</a>";
  				analysis = "<a href=\"analysisHome.do\">High Order Analysis</a>";
  				list = "<a href=\"manageLists.do\">Manage Lists</a>";
  				break;
  			case 3:
  				//3 is view results
  
negative.code: 				viewResults = "<span id=\"inboxStatus\">View Results&nbsp;&nbsp;</span>\n" + resultSecondary;
  				analysis = "<a href=\"analysisHome.do\">High Order Analysis</a>";
  				list = "<a href=\"manageLists.do\">Manage Lists</a>";
  				download="<a href=\"download.do\">Download</a>";
  				break;
  			case 4:
  				//4 is high order analysis
  