InDesign Image Manipulation Issue

I hesitate to post, because I usually figure these things out right after I post a question, but…

I want to manipulate the bounding box of an image that my script has just placed into a rectangle in InDesign. I don’t want to manipulate the rectangle, but the image itself. To that end, I need (I think) to address the image id of the image. If I pull the properties from the rectangle, I can get the image id and from there, the properties of the bounding box of the image.

Problem is, when I bring in the properties of the rectangle they come in as a list, but I cannot figure out how to grab the image id from the list. I can’t sort out how to reference it, and I cannot coerce it to text.

The script I am using:

tell application "Adobe InDesign CS3"
	tell document 1
		tell page 1
			tell rectangle 1
				set allGraphics to all graphics
			end tell
		end tell
	end tell
end tell

It returns:
{image id 193 of rectangle id 192 of page id 177 of spread id 172 of document “Untitled-137” of application “Adobe InDesign CS3”}

I need to get that image id out of that list but I can’t sort out how to do it.

If someone has a better approach not using the image id, I’m all for that too.

Help please!!

You don’t need the id – just address graphic 1 of the rectangle.