I recently started to use Grooveshark. I noticed that although they have a dynamic interface in sense that you never leave the one page, but the back (and forward) buttons work anyway. If you press the button, only a part (think of a frame) of the content changes back to where you were, but the static elements of the interface stay. How do they manage that? Can you give me a trivial example?