title: Read a javascript cookie by name
body: <p>I have set a cookie using</p>
  
  <pre><code>document.cookie = 
      'MYBIGCOOKIE=' + value + 
      '; expires=' + now.toGMTString() + 
      '; path=/';
  </code></pre>
  
  <p>Now there are between 5 and 10 cookies set on this site, is there a way to check the value ofthis cookie by name.</p>
  
  <pre><code>if (document.cookie.MYBIGCOOKIE == '1') {
      alert('it is 1')
  }
  </code></pre>