How is this related to Dreamweaver??
I suggest you pick an appropriate forum, like the HTML forum to post questions like these. And if you do post there, I suggest you provide more information.
"this code run in IE but not in FireFox" is not a good explanation of the problem and the things you want to accomplish. I don't even know what it is supposed to do and what is not working....
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004