 function slideSwitch() {
    var $active = $('#slideshow DIV.active');
    if ( $active.length == 0 ) $active = $('#slideshow DIV:last');
    var $next =  $active.next().length ? $active.next() : $('#slideshow DIV:first');
	$active.css({opacity:1.0})
		.addClass('last-active')
		.animate({opacity:0.0},2000);
    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 2000, function() {
            $active.removeClass('active');
        });
 }
 $(document).ready(function(){
	$('a.popup').lightBox();
	$(function() {
    	setInterval( "slideSwitch()", 7000 );
	});
	FB.init("809c4e0bfa62489b8d363d22ac5d41d1");
 });

