$(function()
{
    setInterval("color_rotator()", 3000);
    $('a.lightbox').lightBox(); // Select all links with lightbox class
});
var i = 0;
$("#intro"+i).animate({"opacity": 1 }, 1500);

function color_rotator() {
    $("#intro"+i).animate({"opacity": 1 }, 1500).animate({ "opacity": 0 }, 1500 );
        i++;
        if (i>2) {
        i=0;
        };
}

