// JavaScript Document
function InsertSampleMovie(mov, width, height)
 {
	 //	Apple says to add 16 to allow for the controller
	 height+=16;
	 document.write('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" ');
	 document.write('width='+width+' height='+height+'>\n');
	 document.write('<param name="src" value='+mov+' />\n');
	 document.write('<param name="AutoPlay" value="false" />\n');
	 document.write('<param name="Controller" value="true" />\n');
	 document.write('<EMBED SRC="'+mov+'" HEIGHT='+height+' WIDTH='+width+' TYPE="video/quicktime" PLUGINSPAGE="http://www.apple.com/quicktime/download/" AUTOPLAY="true" CONTROLLER="true" KIOSKMODE="true"/>\n');
	 document.write('</object>\n');
 }
// Write the flash movie to eliminate ActiveX warning
function InsertFlashMovie(flash, width, height)
 {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'">');
	 
	document.write('<param name="movie" value="'+flash+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="'+flash+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"  width="'+width+'" height="'+height+'"></embed>');
    document.write('</object>');
		

 }
