This should give you some ideas. http://shanx.com/scripts/editorMain.htm Done in late 2000 so obviously the world should have moved along, but I still see something like this all over the place. If ur dealing with IE only, they have a pretty rich set of functions. Cheers, Shashank