$(function() {
	$('.csc-textpic-image div a').lightBox();
});




 var over;
    function fadeEngine(x) {
        var total_divs=5; 
        var y=x;
        if ( !over ) {
            if(x==total_divs) y=1; else y++;
            $("#fade"+x).fadeOut(2500);
            $("#fade1"+x).css("display","none");
            $("#fade"+y).fadeIn(2500);
        }
        setTimeout('fadeEngine('+y+')',4000);
    }

            fadeEngine(0); 
            
            $(document).ready(function(){

                $("#container").hover(
                  function () { over = this.id; },
                  function () { over = false; }    );

            });
