You're probably running your own (as opposed to the one that came with Shadowbox) version of swfobject, and its version is pre v2.1, which does not have the removeSWF() method.
Combine literacy with curiosity and a whole world of information opens up to you