var jsReady = false
var swfReady = false
// ------- functions called by ActionScript -------
// called to check if the page has initialized and JavaScript is available
function isReady()
{
    return jsReady
}
// called by the onload event of the <body> tag
function pageInit()
{
    // Record that JavaScript is ready to go.
	jsReady = true
}
function setSWFIsReady ()
{
	swfReady = true
}
function getSWF(movieName)
{
	if (navigator.appName.indexOf("Microsoft") != -1)
    {
        return window[movieName];
    }
    else
    {
        return document[movieName];
    }
}
