hello, i got a problem on website i am working into.

my client ask me to make this on the website;
about the music, if the visitor stop the music
in the intro (or vise-versa), when he enter to
the home page, the same music must be off or on too...

how can i do it? with cookies? how?
any suggestion?