Sometimes when I run the function call above I get the following error message: "Unable to find the object Image("users_family_warning16_gif")". I didn't ask it to find that image so why is it complaining?
Well it's complaining for the exact reason that you think it is, it can't find the specified image. Try not to look at the symptoms of this issue. Sometimes we get too caught up in what it's doing than why it's doing it. Do your debugging and check each of your objects thoroughly. It's obvious that this image comes into play somewhere along the line, but the issue is finding out where. Step through your script from step 1 until the error and you'll see where it's happening.