Iframe contact form dosen't send parent windows link
<p>here is my site  <a href="http://www.atc-center.com" rel="nofollow">http://www.atc-center.com</a>. i have an inquiry form embed in  you can see at product page click at any product and find " Inquiry " in red.
i want to get the current url of page ( for product details). i tried many things but i can't get the url or product title. i tried some java script commands.
 here is code :</p>

<pre><code>    &lt;input type='hidden' name='purl' id='purl' 

   value='&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;' /&gt;&lt;br/&gt;
</code></pre>

<p>and a  java script code at the end of form:</p>

<pre><code>parent.document.getElementById('purl'). $_SERVER['REQUEST_URI'];
</code></pre>

<p>Please help me.</p>
