Hello All,

I'm doing a web project which involves states. I'm required to link each page (a state) to the next using a Flash button. (Our class has Macromedia Dreamweaver 8) I have this button link to a file that checks the referrer of a webpage and then redirects you a new page based on the page you were just on. For some reason, it keeps taking me to the same page. I have a very long if statement which has 14 other "else if"s and one "else". The page it takes me to is the page within the original "if" statement block. Does someone know what's wrong? Please help soon as this is urgent.