Determine URL of an ImagePlaceholder...

I came across a problem recently whereby I wanted to determine the MCMS URL of an image stored in the MCMS Resource gallery.  The script had several image placeholders, some of which may of had images bound to them. My requirements involved determining the URL of any given image and then to use this in some CSS styling.   Faced with this scenario the following code should help: //Setup placeholder object and string...