Call external java script files conditionaly
<p>Is it possible to call external javascript files based on a condition as below for E.g.</p>

<pre><code>switch (VCheck) {
    case "1":
        Call "1.js"
        break;
    case "2":
        Call "2.js"
        break;
    case "3":
        Call "3.js"
        break;
    case "4":
        Call "4.js"
        break;
    case "5":
        Call "5.js"
        break;
    case "0":
        Call "Default.js"
        break;
    default: alert("Server Error - No Data!");
}
</code></pre>

<p>If so please could you assist in providing the correct syntax.</p>
