function getFlashObj(movie){
	if (window.document[movie]) {
		return window.document[movie];
	}
	if (navigator.appName.indexOf("Microsoft Internet")==-1) {
		if (document.embeds && document.embeds[movie]) {
			return document.embeds[movie]; 
		}
	} else return document.getElementById(movie);
}

function getDimensions(movie) {
	var movieObj = getFlashObj(movie);
	var width = movieObj.TGetProperty("/", 8);
	var height= movieObj.TGetProperty("/", 9);
	alert("The current dimensions for the Flash Object ("+movie+") are "+width+" in width and "+height+" in height.");
}

