/**
 * @author ttyack
 */
documentReady("startFeatureFlash");
function startFeatureFlash()
{
	addFeature("featureFlashLocation", 689,  228, "featureFlashPanelAlternative");
}

function addFeature(id, width, height, alt)
{
	var flashvars = {};
	var params = { SALIGN: "tl", bgcolor: "#000000", base: "/resources/images/flash/" };
	var attributes = {};
	
	params.wmode = "opaque";
	
	flashvars.xmlPath = escape(jQuery("#featureFlashXMLLocation").attr("class"));
	
	var myMovie = escape(jQuery("#"+id).attr("class"));
	//alert(myMovie);
	var expressInstall = "swfobject/expressInstall.swf";
	
	swfobject.embedSWF(myMovie, alt, width, height, "9.0.0", expressInstall, flashvars, params, attributes);
}
