What is the best way to detect Internet Explorer 6 using JavaScript?
<p>What is the best way to detect Internet Explorer 6 using JavaScript?</p>

<pre><code>If browser == IE6 {
    alert('hi');
}
</code></pre>
