Hi guys, new here and to jquery

I have had help to make a gallery where the thumbnails display on a transparent menu.
As it stands you have to click on a tab to open and close the menu, but I would like to hide it if clicking anywhere on the screen.

I think this is the right bit of code?

function hideThumbs(){
.find('.st_link span')

Thanks in advance