function load_shockwave(file, width, height) {
  id = file.replace(/[/.\\]/g, '_');

  document.write('<object id="' + id + '" classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0" height="' + height + '" width="' + width + '">');
	document.write('<param name="src" value="' + file + '" />');
	document.write('<param name="swStretchStyle" value="fill" />');
	document.write('<param name="swRemote" value="swSaveEnabled=\'false\' swVolume=\'false\' swRestart=\'false\' swPausePlay=\'false\' swFastForward=\'false\' swContextMenu=\'false\' " />');
	document.write('<param name="bgColor" value="#FFFFFF" />');
	document.write('<param name="logo" value="FALSE" />');
	document.write('<embed src="' + file + '" bgcolor="#FFFFFF" type="application/x-director" height="' + height + '" width="' + width + '" />');
  document.write('</object>');
}