FrontPage 98 always messes up JavaScript code. You have to put it into the "Insert HTML" function I think. It puts FP specific code around it so FP doesn't try to change it. Bill Drew