Well, to the best of my knowledge this is not doable with JScript. I would suggest pursuing either (a) Using a web service to provide this functionality if it's something like performing calculations, or (b) Looking into using managed code (C# or VB.NET), which will allow you to have multiple code files in your solution, including a common one that's chared between forms. You could even create a compiled DLL with all the constants and functions that you need, and share that between your forms.