jQuery Setting Cookie Domain
<p>I have the following code:</p>

<pre><code>set_cookie('visible','no',2020,1,1,'/','.domain.net');
</code></pre>

<p>Rather than specifiying the domain I need the domain to match which ever domain the script is being run under.</p>

<p>Im trying to use: <code>(document.domain)</code></p>

<p>How can I combine the two bits of script so that '.domain.net' becomes what ever domain is being accessed?</p>

<p>Dont forget the domain needs to be '.domain.net' not just 'domain.net'</p>
