    function getObject(_x) {
	// used to locate the Flash asset in the DOM. Works reliably on FF, IE and Safari.
	return document.getElementById(_x);
    }
    window.onunload = function() {
	// stops audio when browser moves to a new page or closes. Helps stop a crash in Safari.
        getObject("fmp256").playpause(0);
    }
    function setconfig(_url) {
	// sends Flash a new config file URL.
	getObject("fmp256").setconfig(_url);
    }
    function toggle() {
	// changes between play and pause. To force audio to stop use '0' in the function.
	getObject("fmp256").playpause(1);
    }