refreshing a script tag (ads)
As a site I work on evolves, we ajax in more and more content.
In one section, we've eliminated the traditional page view entirely, just ajaxing in all the new content.
We need to do the same thing for the ads surrounding this content, and we're running into issues (doc.write, I assume). We haven't been able to refresh the script tag, or even empty the div and add in a new script.
We're iframing for the moment, but it is not ideal. Many of our ads are flexible, but the iframes cannot dynamically adjust (all the ads are hosted externally). This is not against our TOS (before someone chimes in about that).
Search engines haven't been much help here. I'm not hitting the right words, or there just aren't many examples out there.
I'm pretty sure this is possible, I know I've seen some sites do it (but I haven't been able to find them again for examples).
Does anyone have any suggestions or examples?