I'm building a website on my server before I publish it. I have two flash (.swf) files that I'm using on my template. My intention is to give my visitors the option to go to either my regular website or my flash website. I'm using the exact same files on two different folders. On the second folder, I changed the tpl_main_page and the tpl_header files to therefore not use the .swf files and deleted the admin folder. I then changed the configure.php file to reflect the same database but the different folder.
What I would like to do is to have a sidebox in which to add a link that will redirect the visitor to the other folder. For example, on the regular site, I'd like to add an option to send to the flash site and viceversa. My problem is that I don't want two different links, one for the regular site and one for the flash site on the same site.
I probably need some type of code that will recognize wich folder the visitor is in, in order to not show a link to that same folder. If anybody can help me with this I will be extremely grateful.
Thanks



