function slideSwitch() {
    var $active = $('#logo img.active');

    if ( $active.length == 0 ) $active = $('#logo img:last');

    var $next =  $active.next().length ? $active.next()
        : $('#logo img:first');

    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 10000 );
    
});

/*
$(function() {
	$('.section').hide();
	$('.arrow').click(function() {
		
		var clickedId = $(this).next().attr("id");
		
		if($("#"+ clickedId).is(":hidden")){
			 $.cookie(clickedId, 'expanded');	
			 var showTop = $.cookie(clickedId);	
			 // alert(showTop);
		} else {
			$.cookie(clickedId, 'collapsed');
			var showTop = $.cookie(clickedId);
			// alert(showTop);
		}
		$(this).next().toggle('slow');
		return false;
	}).next().hide();
});
*/
$("table.directoryTable tr:even").addClass("directoryRowOn");
$("table.directoryTable tr:odd").addClass("directoryRowOff");






