// flash Interaction

function getFlashMovieObject(movieName){
	if (window.document[movieName]){
		return window.document[movieName];
	}
	if (navigator.appName.indexOf("Microsoft Internet")==-1){
		if (document.embeds && document.embeds[movieName])
			return document.embeds[movieName];
	}
	else // if (navigator.appName.indexOf(ÓMicrosoft InternetÓ)!=-1)
	{
		return document.getElementById(movieName);
	}
}

function changeBackgroundImage(galleryId, imageId) {
	var flashMovie = getFlashMovieObject("flashbackground");
	//flashMovie.traceThis(galleryId + ", " + imageId);
	flashMovie.changeBackgroundImage(galleryId, imageId);
}