Self-modifying code is bad business.
It is better to set a global variable to the page you want, and request the page in JavaScript according to the variable you set.
MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182