function cover() {

    $headers = $(".cover .spotlight h1");
    $headers.hide();
    
    // Hide the payoff
    $(".cover .spotlight h2").hide();
    
    var i = 0;
    time = 600;
    
    $(".cover .spotlight").append("<h1 class='logo'>agile42</h1>");
    $(".logo").hide();
    
    var timeout = $headers.length*2.1*time;
    setTimeout('$(".logo").fadeIn(time)', timeout);
    setTimeout('$(".cover .spotlight h2").fadeIn(time)', timeout+time);
 
    /*
    (function(){
            $($headers[i++] || []).fadeIn(time).fadeOut(time, arguments.callee);
        }
    )();
    */
    
    coverAction(time,i);
}

function coverAction(time, i) {
    max = $(".cover .spotlight h1").length;
    
    if (i!=max) {
         $($headers[i++]).fadeIn(time).fadeOut(time, function() { coverAction(time,i); });
    }
    
    else {
        i=0;
        coverAction(time,i);
    }
}
