$('#close-content').click(function(){ $('.content-container').hide(); $('#projects-panel').hide(); $('#sitelocations-panel').hide(); $('#team-panel').hide(); $(this).hide();});
$('#close-content').click(function(){ $('.content-container, #projects-panel, #sitelocations-panel, #team-panel, #close-content').hide();});
Seems like it should one line or something. :)