$( function() {
    var _parent = $('div.services-knowledgebase div.knowledgebase ul').get(0);
    
     $('li:first', _parent ).addClass('active');
    $('li ul:not(:first)', _parent ).hide();
    
	$('li a', _parent).click(function() {
        var _next = $(this).next('ul');
        if ( _next.length < 1 ) return true;
        
        $('li.active', _parent).removeClass('active').find('ul').hide();
        $(this).parent('li').addClass('active');
        _next.show();
        
        return false;
    });
});
