Whats the difference between window.location.host and window.location.hostname
<p>They both seem to give me the same thing (the domain name currently executing the script).</p>

<p>So what's the difference (if any) and where should each be used?</p>
