CopyCode The Code is as follows: function tmh _ make_ad_fodder (SRC, width, height)
{
Src = SRC. Replace ("","");
VaR temp_image = ' ';
VaR temp_flash = '<object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000 "'
+ 'Codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 "'
+ 'Height = "$ height $" width = "$ width $">'
+ '<Param name = "movie" value = "$ SRC $"/>'
+ '<Param name = "quality" value = "high"/>'
+ '<Param name = "wmode" value = "Opaque"/>'
+ '<Embed src = "$ SRC $" Quality = "high" width = "$ width $" Height = "$ height $ "'
+ 'Wmode = "Opaque" type = "application/X-Shockwave-flash "'
+ 'Ininspage = "http://www.macromedia.com/shockwave/download/index.cgi? P1_prod_version = shockwaveflash "> </embed>'
+ '</Object> ';
Return (/\. SWF $/Gi. Test (SRC) = true? Temp_flash: temp_image)
. Replace (/\ $ SRC \ $/GI, Src)
. Replace (/\ $ width \ $/GI, width)
. Replace (/\ $ height \ $/GI, height)
}