This function comes in handy when wanting to load more than one Javascript file within the OnLoad event of the CRM Form.
{codecitation style="brush: JavaScript;"}function inc(filename)
{
var body = document.getElementsByTagName('body').item(0);
script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
body.appendChild(script)
}
{/codecitation}