function resizeEmbed(width, height) {
	var player = $('flashcontent').down('embed') || $('flashcontent').down('object');
	player.width = width;
	player.height = height;
	Transcript.output.setStyle({height: height - 20 + 'px'});
	Transcript.panel_wrapper.setStyle({height: height + 60 + 'px'});
	if (width < 560) {
		Transcript.caption.setStyle({width: width + 'px',padding: '0 10px 0 5px'});
	} else {
		Transcript.caption.setStyle({width: '560px',padding: '0 10px 0 5px'});
	}
}
