/*=========================================================
  UNIVERSITY ARCHIVES
  
  Coded by: Rob Ballou
  Last updated: 2.19.03
===========================================================*/
/*
  updateSearchBox()

  Updates the value of the search box when a user clicks on it.
*/
function updateSearchBox(){
  var defaultText = "Search";
  
  if(document.getElementById){
    
    var search = document.getElementById('q');
    if(search){
      if(search.value && search.value == defaultText){
        search.value = "";
        return true;
      }
    }
  }
  return false;
}