// Writes embed tags to page for slideshow flash movie
// Note:  	"base" parameters makes paths in movie relative to the .swf file rather than the host page.  Allows creation
// 			of separate images.xml files in subdirectories for each day

function writeSlideshow(sFileRoot, sSlideshowFile) {

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="240" height="255" id="slideshow" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="' + sFileRoot + sSlideshowFile + '" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name="base" value="." />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write('<embed src="' + sFileRoot + sSlideshowFile + '" base="." quality="high" bgcolor="#ffffff" wmode="transparent" width="240" height="255" name="slideshow" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');

}

