var flashWidth; 
var flashHeight; 
var flashElement;

function initialize(w, h)
{
	flashElement = document.getElementById("flashContent");
	flashElement.style.overflow = "hidden";
	setFlashDimensions(w, h);
}

function setFlashDimensions(w, h)
{
	flashWidth = w;
	flashHeight = h;
	doResize();
}

function thisMovie(movieName)
{
    if(navigator.appName.indexOf("Microsoft") != -1)
	{
		return window[movieName];
    }
	else 
	{
        return document[movieName];
    }
}

function doResize()
{
	flashElement.style.height = flashHeight + "px";
	//flashElement.style.minHeight = flashHeight + "px";
	//flashElement.style.maxHeight = flashHeight + "px";
}
