Communicate with HTML

Is there any way to store a variable in the HTML document such as currentPage=“about”? I want to show a different picture in my Flash depending on what page it is on, but I don’t want to create 5 different SWF’s for 5 different pages.