Image onError() and onAbort() events... in firefox?

I’m hoping to be able to use Internet Explorer’s:

<img src="foo.gif"  onError="alert('foo')">

across browsers… specifically on Firefox as that is the recommended browser for my RIA. It only seems to work in IE.

I’ve seen snippets of mootools addons where these events are added to the image prototype, but i’m apparently not skilled enough in javascript to be able to tinker around and get the functionality working.

i’m allowing the user to download a ZIP of a project they’ve made which includes an html file, a swf, and a bunch of images. on the PC, the user is able to (and even encouraged to) browse through the ZIP and try and open the index.htm file directly, but if they’re still unzipped, then none of the assets are found and loaded… the whole purpose of this hack is to throw up an alert for PC users that don’t unzip to tell them to do so. i’ve actually tried some other things, but all the browser inconsistencies are making it really difficult…

any help would be MUCH appreciated.

pace

jonah