title: Javascript help needed with bookmark
body: <p>Hey I have this little javascript bookmark </p>
  
  <p><code>javascript:(function(){ window.open('http://www.mywebsite.com/index.php?currentsite#bookmark'); })()</code></p>
  
  <p>How can I get the url of the current website into that url? 
  I have heard of using <code>document.URL</code> But I am not sure how to get that into the URL in the bookmark with the URL of the site currently browsing. Meaning at the moment the result is <code>http://www.mywebsite.com/index.php?currentsite=document.URL#bookmark</code></p>
  
  <p>Thanks</p>