Event.observe(window, 'load', function() {

    makeItCount('status', 150);

    /*
 var pagination = new Control.Tabs('pagination');

    $('pagin_previous1').observe('click',function(event){
      this.previous();
      Event.stop(event);
    }.bindAsEventListener(pagination));

    $('pagin_next1').observe('click',function(event){
      this.next();
      Event.stop(event);
    }.bindAsEventListener(pagination));


var paginationF = new Control.Tabs('paginationF');

    $('pagin_previous2').observe('click',function(event){
      this.previous();
      Event.stop(event);
    }.bindAsEventListener(paginationF));

    $('pagin_next2').observe('click',function(event){
      this.next();
      Event.stop(event);
    }.bindAsEventListener(paginationF));

    new Control.Tabs('bookmarksFriends');
*/
});


function dynamic_favorites(id){
    new Ajax.Updater('dynamic_favorites_id', '/users/dynamic_favorites/'+id, {
        asynchronous:true,
        evalScripts:true,
        method:'get'
    });
    return false;
}

function dynamic_friends(id){
    new Ajax.Updater('dynamic_friends_id', '/users/dynamic_friends/'+id, {
        asynchronous:true,
        evalScripts:true,
        method:'get'
    });
    return false;
}
