Feche os menus suspensos clicando fora deles com jQuery

$ (document) .ready (function () {

$('#trigger').click( function(event){
event.stopPropagation();
$
('#drop').toggle();
});

$
(document).click( function(){
$
('#drop').hide();
});

});