title: send cookies to another web page with javascript
body: <p>How can I send cookie on a page, to another page with JS?<br>
  For example I have two pages:<br>
  1 -   www.domain1.com/admin.php<br>
  2 -   www.domain2.com/getCookies.php<br>
  How can I send cookies from admin.php to getCookies.php and get them in this form :<br>
  getCookies.php?name=x&amp;val=y<br>
  x is cookie name and y is the value of x.</p>