Sorry, I had tried so many iterations that I inadvertently left it in a bad state.
Here's my current iteration, which creates the javascript, but still doesn't show on the http://www.photoeye.com/advertising/test_ad.cfm <cfsavecontent variable="text"><cfoutput><a href=#qGetCurrentAdLink.link_url#><img src=http://www.photoeye.com/magazine/ads/#qGetAd.image_filename#></a></cfoutput></cfsavecontent> <!--- Genarate the javascript text ---> <cfset text = jsStringFormat(text)> <cfoutput>#text#</cfoutput> <!--- Stream the javascript back to the caller ---> <CFContent Type = "application/javascript" reset="yes"> <cfoutput> document.write('#text#'); </cfoutput> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337538 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

