Hi, I wondered if anyone might have a suggestion for me on this javascript snippet. I've used this code to write into an html page an array from an external source. I have not used this code for a long time, and found that when I looked at the website it had stopped functioning. Can anyone suggest what may be wrong with this that would keep it from loading properly now? In this example, "lookpath" is the path to the external .js file with the array I want to read into the html page.

Code:
e=window.document.createElement('script');
	e.setAttribute('src',lookpath);
	window.document.body.appendChild(e);
Thanks for any suggestions - - Okham