//  [ movie.js ]
//
//  JavaScript code to view videos on Google Video.

function embedMovie (movieURL) {
	
	document.writeln ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.writeln ('		type="application/x-shockwave-flash"');
	document.writeln ('		codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"');
	document.writeln ('		width="640" height="480"');
	document.writeln ('		id="Johns_video">');
	document.writeln ('	<param name="movie" value="' + movieURL + '">');
	document.writeln ('	<param name="quality" value="high">');
	document.writeln ('	<param name="bgcolor" value="#FFFFFF">');
	document.writeln ('	<param name="play" value="false">');
	document.writeln ('	<param name="loop" value="false">');
	document.writeln ('	<param name="menu" value="true">');
	document.writeln ('	<param name="flashvars" value="">');
	document.writeln ('	<embed type="application/x-shockwave-flash"');
	document.writeln ('		src="' + movieURL + '"');
	document.writeln ('		quality="high"');
	document.writeln ('		bgcolor="#FFFFFF"');
	document.writeln ('		width="640" height="480"');
	document.writeln ('		name="Johns_video"');
	document.writeln ('		align=""');
	document.writeln ('		pluginspage="http://www.macromedia.com/go/getflashplayer"');
	document.writeln ('		play="false" loop="false" menu="true"');
	document.writeln ('		flashvars="" />');
	document.writeln ('</object>');
}


function openMovieWindow (movieURL) {
	movieWin = window.open (movieURL, "movieWindow");
	movieWin.focus ();
}
