// Search Mouse Overs

function CatalogSearch(){
document.getElementById("CatalogSearchLink").style.backgroundColor = '#96735B'; 
document.getElementById("JournalsSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("ReservesSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("SummitSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("LibrarySiteSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SearchCatalogUpper").style.display = 'block'; 
document.getElementById("SearchJournalUpper").style.display = 'none';
document.getElementById("SearchReservesUpper").style.display = 'none';
document.getElementById("SearchSummitUpper").style.display = 'none'; 
document.getElementById("SearchLibrarySiteUpper").style.display = 'none'; 
}
function JournalsSearch(){
document.getElementById("CatalogSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("JournalsSearchLink").style.backgroundColor = '#96735B';
document.getElementById("ReservesSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SummitSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("LibrarySiteSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SearchCatalogUpper").style.display = 'none'; 
document.getElementById("SearchJournalUpper").style.display = 'block';
document.getElementById("SearchReservesUpper").style.display = 'none';
document.getElementById("SearchSummitUpper").style.display = 'none'; 
document.getElementById("SearchLibrarySiteUpper").style.display = 'none';
}
function ReservesSearch(){
document.getElementById("CatalogSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("JournalsSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("ReservesSearchLink").style.backgroundColor = '#96735B'; 
document.getElementById("SummitSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("LibrarySiteSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SearchCatalogUpper").style.display = 'none'; 
document.getElementById("SearchJournalUpper").style.display = 'none';
document.getElementById("SearchReservesUpper").style.display = 'block';
document.getElementById("SearchSummitUpper").style.display = 'none'; 
document.getElementById("SearchLibrarySiteUpper").style.display = 'none';
}
function SummitSearch(){
document.getElementById("CatalogSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("JournalsSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("ReservesSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SummitSearchLink").style.backgroundColor = '#96735B';
document.getElementById("LibrarySiteSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SearchCatalogUpper").style.display = 'none'; 
document.getElementById("SearchJournalUpper").style.display = 'none';
document.getElementById("SearchReservesUpper").style.display = 'none';
document.getElementById("SearchSummitUpper").style.display = 'block'; 
document.getElementById("SearchLibrarySiteUpper").style.display = 'none';
}
function LibrarySiteSearch(){
document.getElementById("CatalogSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("JournalsSearchLink").style.backgroundColor = '#3a3b3b'; 
document.getElementById("ReservesSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("SummitSearchLink").style.backgroundColor = '#3a3b3b';
document.getElementById("LibrarySiteSearchLink").style.backgroundColor = '#96735B';
document.getElementById("SearchCatalogUpper").style.display = 'none'; 
document.getElementById("SearchJournalUpper").style.display = 'none';
document.getElementById("SearchReservesUpper").style.display = 'none';
document.getElementById("SearchSummitUpper").style.display = 'none'; 
document.getElementById("SearchLibrarySiteUpper").style.display = 'block';
}

function SearchLibrarySiteUpper(searchURL, searchKeywordId) {
    var searchArg = encodeURIComponent(document.getElementById(searchKeywordId).value);
    document.location = searchURL.replace("#SEARCHARG#", searchArg);
}

function HandleEnterKey(e, searchURL, searchKeywordId) {
    var characterCode //literal character code will be stored in this variable

    if (e && e.which) { //if which property of event object is supported (NN4)
        e = e
        characterCode = e.which //character code is contained in NN4's which property
    }
    else {
        e = event
        characterCode = e.keyCode //character code is contained in IE's keyCode property
    }

    if (characterCode == 13) { //if generated character code is equal to ascii 13 (if enter key)

        var searchArg = encodeURIComponent(document.getElementById(searchKeywordId).value);
        document.location = searchURL.replace("#SEARCHARG#", searchArg);
        return false;
    }
}
<!--
if (document.images)
{
  pic1= new Image(25,25); 
  pic1.src="images/search_hover.jpg"; 
}
//-->