title: Why does IE 8 navigator.userAgent return MSIE 7.0?
body: <p>I am trying to implement a browser support feature on my webpage. For Firefox 3.6 it is working fine, but for some reason IE 8's userAgent is returning a wrong value.</p>
  
  <p>Here is the scenario, when I run a 'local' javascript code on IE8, navigator.userAgent returns correct information (MSIE 8.0). But when I run this script on a server, it returns MSIE 7.0 on an IE 8 browser.</p>
  
  <p>Any ideas?</p>