 function initialize_clients() {
                $('.client').mouseout( function () { $('.name').css('display','none');$('.client').removeClass('active').removeClass('dimmed'); });
                $('.client').mouseover( function () {
                    $('.client').removeClass('active');
                    $('.client').addClass('dimmed');

                    var re = new RegExp('p([0-9]+)');
                    var match = $(this).attr('class').match(re);
                    base = Math.floor((match[1] - 1) / 3) * 3;
                    $('.name.s' + (base + 1)).css('display','block');

                    for (j = 0; j < 3; j++) {
                        $('.p' + (base  + j + 1)).removeClass('dimmed').addClass('active');
                    }
                });

                $('.client').click( function () {
                    var re = new RegExp('p([0-9]+)');
                    var match = $(this).attr('class').match(re);
                    base = Math.floor((match[1] - 1) / 3) * 3;

                    $('.name.s' + (base + 1)).css('display','none');

                    $('.description.s' + (base + 1)).css('display','block');

                    $('.client').unbind('mouseout').unbind('mouseover').unbind('click');



                });
                $('.cerrar').unbind('click');
                $('.cerrar').click(function () {
                    $(this).parent().css('display','none');
                    $('.client').removeClass('active');
                    initialize_clients();
                });
            }
            $(document).ready( function () {
                $('.name').each( function () {
                    var sibpos = $(this).next().position();
                    if ($(this).hasClass('v2')) {
                    $(this).css('left',(sibpos.left - $(this).width() + $(this).next().width() /2 )  + 'px');
                    }
                    else {
                        $(this).css('left',(sibpos.left + $(this).next().width() / 2) + 'px');

                        }
                    });
                initialize_clients();

            });
