SEE ATTACHMENT FOR CODE SAMPLES
I need to solve a specific Javascript problem ASAP.
BACKGROUND
---------------------
I use a piece of Javascript code to make an ad request.
For example, see the attachment.
The ad that gets returned is "rich media" consisting of more Javascript code and some HTML.
For example, see the attachment.
THE PROBLEM
--------------
When the second piece of Javascript (the ad) is sent to the page, script src is not processed and the "[login to view URL]" is ignored. The MSIE browser gives the following error:
Error 'SWFObject' is undefined
(Note: this problem only on MSIE, Firefox is OK)
The results in the remaining ad script to fail.
Somehow the Javascript within another Javascript is causing the second script src to be undefined.
Can you help me solve this specific problem?
I can provide test page and access to all of the exact codes I'm using. I can explain in more detail if this description is not enough.