drop down login menu

I need a bit of advice. On my website forumite.co.uk in the menu area at the top I have login/register which directs to the proper pages. What I would like is a drop down login box like yours rather than being redirected. Can you tell me how that could be done? Thanks.