Hello all,
i have a variable named "_var" defined on the ScriptSide
when i write a script in the HTML page the _variable imports the value and everything is working great.

var _variable = "<%=_var %>";
when i put those lines in a external JS file ("JSript.js") and import the file to the HTML page

<script src="JScript.js" type="text/javascript"></script>
the _var isn't reckognized, and _variable returns the string itself insted of the value.

What am i doing wrong?