/*
 * This script is used to avoid IE only UI issues when 
 * accessing embedded QT movies. Since MS likes to make 
 * any content that isn't of a file type they own we have 
 * to do stupid things like this... csmith 12/22/08
 */

function InsertMovie( $loc, $id, $width, $height )
{
	//document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" id="'+$id+'" width="'+$width+'" height="'+$height+'">\n');
	//document.write('<param name="src" value="'+$loc+'" />\n');
	document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" id="'+$id+'" width="'+$width+'" height="'+$height+'">\n');
	document.write('<param name="src" value="'+$loc+'" />\n');
	document.write('<param name="autoplay" value="true" />\n');
	document.write('<param name="controller" value="true" />\n');
	document.write('<embed src="'+$loc+'" width="'+$width+'" height="'+$height+'" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/"></embed>\n');
	document.write('</object>');
}
