/// <summary>
/// Simplified Helper function that is used to add script files to the page
/// This version adds scripts to the top of the page in the 'normal' position
/// immediately following the form tag.
/// </summary>
/// <param name="script"></param>
public static void IncludeScriptFile(Control control, string scriptFile)
{
scriptFile = control.ResolveUrl(scriptFile);
ClientScriptProxy.ClientScriptProxy.Current.RegisterClientScriptInclude(control, typeof(ControlResources),
Path.GetFileName(scriptFile).ToLower(),
scriptFile);
}