Loading different swf depending on URL

HI,

I am setting up a site with a main navigation SWF that loads each section into a MC on the stage.

I would like it to load the “home” SWF when they go to the site via one URL: ie. http://www.home.com

and I would like it to default to the “garden” SWF when accessing:
ie. http://www.garden.com

How can my main navigation SWF tell which URL the user is coming from?

I want to avoid having to make duplicates of the main SWF file.

-OPT