var flashGallery = null;

function drawFlash(movie, width, height, background) {
	document.write("<object id='flash-gallery' type='application/x-shockwave-flash' data='" + movie + "' width='" + width + "' height='" + height + "' allowFullScreen='true'>");
	document.write("<param name='movie' value='" + movie + "' />");
	document.write("<param name='bgcolor' value='" + background + "' />");
	document.write("<param name='allowFullScreen' value='true' />");
	document.write("</object>");
}

function resizeFlash(newHeight) {
	flashGallery = document.getElementById("flash-gallery");
	flashGallery.height = newHeight;	
}