<!--
var cansherlock = 'yes';
try {
 if (typeof window.sidebar.addSearchEngine == "function") { cansherlock = 'yes'; }
} catch(e) {
 cansherlock = 'no';
}
var canopensearch = 'yes';
try {
 if (typeof window.external.AddSearchProvider == "function") { canopensearch = 'yes'; }
} catch(e) {
 canopensearch = 'no';
}
function sinstall(name, imagetype) {
 if ((cansherlock == 'yes') && (canopensearch == 'no')) {
  window.sidebar.addSearchEngine(
   "http://librarysearch.org/sherlock/" + name + ".src",
   "http://librarysearch.org/pluginimages/" + name + "." + imagetype,
    name,
   "Libraries"
  );
  location.href = "http://librarysearch.org/installed/" + name;
 } else {
  alert('You selected an option for a browser that does not match yours.');
 }
}
function ffinstall(id) {
 if ((cansherlock == 'yes') && (canopensearch == 'yes')) {
  window.external.AddSearchProvider(
   "http://librarysearch.org/opensearch/" + id + ".xml"
  );
  location.href = "http://librarysearch.org/installed/" + id;
 } else {
  alert('You selected an option for a browser that does not match yours.');
 }
}
function ieinstall(id) {
 if ((cansherlock == 'no') && (canopensearch == 'yes')) {
  window.external.AddSearchProvider(
   "http://librarysearch.org/opensearch/" + id + ".xml"
  );
  location.href = "http://librarysearch.org/installed/" + id;
 } else {
  alert('You selected an option for a browser that does not match yours.');
 }
} 
-->
