Multiple user controls and javascript
<p>I include a JS file in a user control. The host page has multiple instances of the user control. </p>

<p>The JS file has a global variable that is used as a flag for a JS function. I need the scope of this variable be restricted to the user control. Unfortunately, when I have multiple instances of the control, the variable value is overwritten.</p>

<p>What's the recommended approach in a situation like this?</p>
