Problem solved! The problem was not with the javascript I was using, but rather with the frameset page itself. My editor kept putting in the "target= whatever" junk in the frameset code which caused the error. Simply taking that out with a text editor solved the problem. Many thanks to Chris for lending a hand. LGO