title: httpwebrequest and javascript
body: <p>When i try to load the following page:</p>
  
  <pre><code>http://www.manta.com/c/mm0mg7z/law-office-of-wendy-kazel
  </code></pre>
  
  <p>with a httpwebrequest (i use the below code)</p>
  
  <pre><code>try {
      HttpWebRequest _wReq;
      HttpWebResponse _wResp;
      System.IO.StreamReader _sr;
      System.Text.ASCIIEncoding _enc = new System.Text.ASCIIEncoding();
      _wReq = (HttpWebRequest) WebRequest.Create("http://www.manta.com/c/mm0mg7z/law-office-of-wendy-kazel");
      _wReq.UserAgent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)";
      _wReq.Timeout = 20000;
      _wReq.ReadWriteTimeout = 20000;
  
      _wReq.Referer = "http://www.manta.com";
  
      _wResp = (HttpWebResponse) _wReq.GetResponse();
      _sr = new System.IO.StreamReader(_wResp.GetResponseStream());
      _html = _sr.ReadToEnd();
      _sr.Close();
      _wResp.Close();
  
  } catch (WebException ee) {
  
  }
  </code></pre>
  
  <p>I get the following returned html from manta</p>
  
  <pre><code>Oops.
  Before you can move on, please activate JavaScript.
  </code></pre>
  
  <p>It doesn't always happend but most of the time.</p>
  
  <p>Any idea what could be the problem?</p>