function loadStats(lang) {
   $.get(
        "/"+lang+"/ajaxindexStats/"+Math.random(),
        {
          
        },
        function(responseText){
            $("#ctStats").html(responseText);
           loadSpotlight(lang);
        },
        "html"
        );

}
function loadSpotlight(lang) {
    $.get(
        "/"+lang+"/ajaxindexSpotlight/"+Math.random(),
        {
          
        },
        function(responseText){
            $("#ctSpotlight").html(responseText);
loadOnline(lang);

        },
        "html"
        );
}

function loadOnline(lang) {
    $.get(
        "/"+lang+"/ajaxindexOnline/"+Math.random(),
        {
          
        },
        function(responseText){
            $("#ctOnline").html(responseText);
loadFriends(lang);

        },
        "html"
        );
}


function loadFriends(lang) {
         $.get(
        "/"+lang+"/ajaxindexFriendsclassement/"+Math.random(),
        {
          
        },
        function(responseText){
            $("#ctFriendClass").html(responseText);
 setTimeout("loadStats()",60000);
        },
        "html"
        );
       
}
function loadFeed(lang) {
   $.get(
        "/"+lang+"/ajaxindexFeed/"+Math.random(),
        {
          
        },
        function(responseText){
            $("#ctFeed").html(responseText);
           // setTimeout("loadFeed('"+lang+"')",1000);
        },
        "html"
        );
}

