$(function() {
    $('#sub #apiMethod dl dd:last').addClass('Last');
    
    //subNav add class Current
    $('#apiMethod li a').not('#sub.Top #apiMethod li a').each(function(){
        var url = document.URL.split('/');
        // demo:4; real:?;
        if(url[4]){
            $('#apiMethod li [href*='+url[4]+']').parent().addClass("Current");
        } else {
            $('#apiMethod li:first').addClass("Current");
        }
    });
      $('#apiMethod li a').each(function(ele){
                                    var text = $(this).text();
                                    if (text.indexOf('backlog.admin.') > -1) {
                                        $(this).html('<span style="font-size:90%">' + text + '</span>');
                                    }
                                });
});