// JavaScript Document

var xmlFile = "video_gallery.xml";
var swfFile = "flash/video_gallery.swf";
var bgColor = "#ffffff";
var wmode = "transparent";
var swfWidth = "450";
var swfHeight = "338";

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + swfWidth + '" height="' + swfHeight +'" id="ssp_photo" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="base" value="." />');
document.write('<param name="movie" value="' + swfFile + '" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="' + bgColor + '" />');
document.write('<param name="wmode" value="' + wmode + '" />');
document.write('<param name="FlashVars" value="xmlfile=' + xmlFile + startAlbum + '" />');
document.write('<embed base="." src="' + swfFile + '" FlashVars="xmlfile=' + xmlFile + startAlbum + '" basequality="high" bgcolor="' + bgColor +'" wmode="' + wmode + '" width="' + swfWidth + '" height="' + swfHeight + '" name="ssp_photo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');