// jQuery Code

function slideSwitch() {
	
		var active = jQuery('#images div.active');
		
		if ( active.length == 0 ) active = jQuery('#images div.ngg-gallery-thumbnail-box:last');
		
		var next = active.next().length ? active.next() : jQuery('#images div.ngg-gallery-thumbnail-box:first');
		
		active.addClass('last-active');
		
		next.css({opacity: 0.0})
			.addClass('active')
			.animate({opacity: 1.0}, 1000, function() {
				active.removeClass('active last-active');
			});
	
	}

jQuery(document).ready(function($){

	$(document).pngFix();
	
	$('a.email').click(function() {
		alert('If you are not a current firm client, please do not include anything confidential or secret in this e-mail. Unsolicited information provided by non-clients may not enjoy the protection of the attorney-client privilege.');
		});

});

	jQuery(window).load(function() {
		jQuery('#images div.ngg-galleryoverview').fadeIn();
		setInterval( "slideSwitch()", 3000 );
	});