function goSearch() {
        
  // catch empty search
  var nonEmpty = /\w+/;
nonEmpty.test(document.searchbox.qt.value);
  if(!nonEmpty.test(document.searchbox.qt.value)) {
     alert('Please supply a search term.');
         return;
  }
  // NOTE: Replace www.bu.edu/your-site-here in the declaration below
  // with the actual web address to your site
   if (document.searchbox.q[0].checked) {
     var searchurl="http://search.bu.edu/dept/query.html?qp=url:www.bu.edu/amyloid&qt="
+document.searchbox.qt.value+"&col=main";
         }  
  
  if (document.searchbox.q[1].checked) {
     var searchurl="http://search.bu.edu/query.html?qt="+document.searchbox.qt.value+"&col=main+briefs+searchot+faculty+bumc+internal+ece";
         }

         window.location.href = searchurl;
         return false;
}