$(document).ready(function() {

    // Subnav

    $('#navigation ul li a').mouseover(function() {
        var over = $(this).parent('li').attr('class');
        $('#subnav div.' + over).show();
        $('#navigation ul li a').removeClass('open');
        $(this).addClass('open');
    });

    $('#banner, #content').mouseover(function() {
        $('#navigation ul li a').removeClass('open');
        $('#subnav div').hide();
    });

    $('#navigation ul li a').mouseout(function() {
        $('#subnav div').hide();
    });

    $('#subnav div').mouseover(function() {
        var over = $(this).attr('class');
        $(this).show();
    });

    $('#navigation ul li a.dropdown').click(function() {
        return false;
    });

    // Blockquote

    $('blockquote p').each(function(){$(this).append('&quot;').prepend('&quot;');});

    // Employee Pages

    //$('span.employee').hide();
    $('span.employee:first').show();
    //$('span.photo').hide();
    $('span.photo:first').show();

    $('div.employee a:first').addClass('current');
    $('div.employee a').click(function(){
        var clicked = $(this).attr('id');
        $('span.employee').hide();
        $('span#detail_' + clicked).show();
        $('span.photo').hide();
        $('div#photo_' + clicked).parent('span').show();
        $('div.employee a').removeClass('current');
        $(this).addClass('current');
    });

});	
