// A function to handle the mouse over code
//  1 == Go down
//  2 == Go up
function hover(image, state) {
    var src = new String();
    src = image.src;
    if(state)
        src = src.replace("_up", "_down");
    else
        src = src.replace("_down", "_up");
    
    image.src = src;
}

// A function to change an image on the home page when a link is moused over
function homeCategoryChange(src) {
    document.images.category.src = src;
}

// A function to change the location when a selection is made
function navigateLocation(url) {
    location.href = url;
}

// A function to "add" an arrow graphic to a row to indicate which row a person is on.
function rowIndicator(image, state) {
    // I need to take the named image, and set it's CSS display attribute to "block".
    if(state) 
        document[image].style.display = 'block';
    else
        document[image].style.display = 'none';
}