/**
 * First Registry JavaScript
 * @author Guillaume VanderEst <gvanderest@netshiftmedia.com>
 */

$(document).ready(function(){

    // move the z-indices of all the menu children to be top to bottom cascade (for shadows of tabs)
    var children = $("#menu").children('ul').children('li');
    var x = children.length;
    children.each(function(){
        x--;
        $(this).css({
            zIndex: x,
            position: 'relative'
        });
    });

    // add symbols before breadcrumb items
    $("#breadcrumb a").each(function(){
    if (!$(this).is(':last-child') || $("#breadcrumb a").length == 1)
    {
        $(this).after('&gt;');
    }
    });
});

