JScript runtime error: 'System' is undefined"
<p>I have JScript method that is :</p>

<pre><code>function init() {
     var userid = System.Environment.getEnvironmentVariable("USERNAME");
     setUserName(userid);
    }
</code></pre>

<p>When I debug it , at first line of the init fuction, I'll get "javascript Microsoft JScript runtime error: 'System' is undefined".</p>

<p>I'd be thankful if some one let me know how can I solve it.</p>

<p>Thank you
Naseem</p>
