/* 
Resizing Flash
Whether your flash is resizing on the "width" or "height" change the one you want to expand to a %
*/
e = canResizeFlash();
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="400" id="slideshow" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="slideshow.swf" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name="FlashVars" value="allowResize='+e+'" />');
document.write('<embed src="slideshow.swf" FlashVars="allowResize='+e+'" quality="high" wmode="transparent" width="500" height="400" name="slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');