$(function(){
        $('#projects li:has(ul)')
          .click(function(event){
            if (this == event.target) {
              $(this).children().toggle();
            }
         
          })
          .css('cursor','pointer')
          .click();
          return false; 
        $('#projects li:not(:has(ul))').css({
          cursor: 'default'
        });
      });


