JavaScript Not Working in Internet Explorer
<p>I'm currently styling my username/password inputs on a webpage. They are working as intended in Firefox/Safari, but Internet Explorer throws the following error:</p>

<p>Line: 7, Char: 2, Objected required</p>

<p>It happens when I give focus to my inputs. This function is called onfocus:</p>

<pre><code>function InputFocused(InputID)
{
    var InputObject = document.getElementById(InputID);
    DefaultValue = InputObject.value;
    InputObject.value = "";
    InputObject.style.color = "#000";
}
</code></pre>

<p>And this is the markup:</p>

<pre><code>&lt;input type="text" class="login" id="username" value="USERNAME" onfocus="InputFocused(this.id)" onblur="InputBlurred(this.id)" /&gt;
</code></pre>

<p>I thought this was pretty straightforward, but I have extremely little experience with JavaScript, so any insight would be appreciated.</p>
