// -----------------------------------------------------------------------------------------------
//	Archivo: quictime.js
//	Tipo   : Javascript
//	Autor  : Javi Urrutia
//	Versión: 1.0
//	Objeto : Resuelve la activación de controles object en Internet Explorer
//           Con objeto de insertar dinámicamente un objeto QuickTime
// -----------------------------------------------------------------------------------------------

function InsertMovie(film,width,height)
{
	document.write('<div align="center">\n');
	document.write('<object width="'+width+'" height="'+height+'" border="1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n');
	document.write('<param name="src" value="'+film+'" />\n');
	document.write('<param name="autoplay" value="true" />\n');
	document.write('<param name="controller" value="true">');
  	document.write('<embed src="'+film+'" border="1" width="'+width+'" height="'+height+'" autoplay="true" controller="true"');
	document.write('pluginspage="http://www.apple.com/quicktime/download/"></embed>');
	document.write('</object>\n');
}

