Why not give the object a constructor? I think that's cleaner. Also, Opera already supports that :-) -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>