<!--

// GET CATEGORY
function getCategory()
{
	var url = window.location.href.split('/');
	var file = url[url.length-1];
	
	var tmp = file.split('.');
	file = tmp[0];
	
	/*
	if (file.indexOf('_'))
	{
		tmp = file.split('_');
		file = tmp[0];
	} // if underscore
	*/
	
	return file;
} // getCategory
var category = getCategory();

//var empty;
//if (window['category'] == empty) category = "home"; else category = window['category'];
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="300" height="453" id="image" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="flash/wedding.swf?category=' + category + '" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write('<embed src="flash/wedding.swf?category=' + category + '" quality="high" bgcolor="#ffffff" width="300" height="453" name="image" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
//-->