currentSrc relies on a definition that may not be defined. For instance, if the src="" attribute is not set and there are no <source> element children. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>