function createFlashControl( elemId, clsID, codebase, width, height, path)
{
	var elem = document.getElementById(elemId);
	var innerhtml;
	innerhtml = '<object classid="clsid:' +clsID+ '" ' +
							'codebase="' +codebase+ '" ' +
							'width="' +width+ '" ' +
							'height="' +height+ '">';
	innerhtml += '<param name="movie" value="' +path+ '">';
	innerhtml += '<param name="quality" value="high">';
	innerhtml += '<param name="autoStart" value="-1">';
	innerhtml += '<embed src="' +path+ '" ' +
						'quality="high" ' +
						'pluginspage="http://www.macromedia.com/go/getflashplayer" ' +
						'type="application/x-shockwave-flash" ' +
						'width="' +width+ '" ' +
						'height="' +height+ '"></embed>';
	innerhtml += '</object>';

	elem.innerHTML = innerhtml;
}