E-mail form and parent window

They have: 12 posts

Joined: Jun 2004

How do I do that an e-mail form that opens in a pop-up windows gets a data from parent window?

I want that my e-mail form has a field with data of specific name/info from parent window.In that way I can see for which page an e-mail has been sent.
I dont want a link to a page, it can be any other number/name or something else whit which I can identify which is that listing.

My other solution is that every listing has its own e-mail form (html...and submit button gets email.php)....but in that way its little tougher to post listings.Every time I need to edit a form field to suit my needs.