// adjust swfpath for depth from _root (ie: "../swf/") for templates
// this depth will be different because of url routing so we use the geturi.js file to determine the depth
var swfpath = uri.relativePath + "Common/swf/";

SOflashvars = {
	xmlPath: uri.relativePath + 'slides/slides.xml'
	};

SOparams = {
	scale: 'noscale',
	menu: 'false',
	wmode: 'transparent' };

SOattributes = { 
	id: "slideshow", 
	name: "swf-slideshow" };

	swfobject.embedSWF(swfpath + "slideshow.swf", "slideshow", "600", "350", "8", false, SOflashvars, SOparams, SOattributes);