Hi,

I have a page where you can dress someone up in silly clothes using a skeleton image, and several items of clothing as gifs in dragable layers.

http://gurn.net/dresstommy/dresstommy.html

How can I use a bit of j'script to grab the X and Y values of each layer and then put them in to a load of hidden form fields?

I then intend on having the user click the submit button when they've put all the stupid clothes in the wrong places... and saving the results in a database. I can work this bit out myself, but wonder if anyone could help me with the javascript? Thanks!