I currently have an image that I'm using as a drop shadow on a table. Problem is of course, if the table has too much data, the height becomes bigger and the image doesn't stretch the whole height of the table, so it looks goofy.

What I would like is to find out how to write a small script so that the height of the image can dynamically be the height of the table, regardless of how long the table gets. Does anyone have any idea how to do this?