/*
Embeds .swf files into a web page using the 'Flash Satay' method (http://alistapart.com/articles/flashsatay)
The 'document.write' is a fix for IE's "Click to activate active content" boxes
The file urls and dimensions of the movie are varibles taken from the web page so this script can be reused
*/

document.write('<object type="application/x-shockwave-flash" data="' + flash_url + '" width="' + flash_width + '" height="' + flash_height + '">');
document.write('<param name="movie" value="' + flash_url + '" /><param name="wmode" value="opaque" />');
document.write('<img src="' + flash_img + '" width="' + flash_width + '" height="' + flash_height + '"  alt="' + flash_description + '" />');
document.write('</object>');