With javascript, how do you release the memory stored in objects when you're done with them? I am instantiating a couple of objects to test if my .cab files came down correctly. if no errors are thrown, i want to destroy my objects. How do I do that? Do I just set it equal to null?

Ex.
<object codename="oMyObject" classid="xxxxxxxxx"></object>

<script language="javascript">
try {
var oMyObject = new ActiveXObject("program.id");
oMyObject = null;
}
catch {
document.write("could not instantiate object");
}
</script>