Just a little something while I'm at it, to show you that onerror works for the OBJECT element as well as the window object. Note you will get called if the object doesn't load for any reason. This could include declining the security dialog, having the security setting at "High" to prevent any ActiveX component from loading, or whatever.