document.writeln("<img src=\\"someimage.jpg\\" />");
and would be output as
<!-- code output by above js file: -->
<a href="someThirdPartyLink.html"><img src="someImage.jpg" /></a>
Can you think of any way that I could get the output code from the second JS file to remain inside of the div created by the first JS file?
Thank you very much for your time and willingness to help.