function showLCIPlayer(id, width, height, video, preview, b_noShare) {
	var flashvars = "file=" + encodeURIComponent(video);
	
	var s_domain = document.location.protocol + '//www.lcipaper.com';
	if (preview) flashvars += "&image=" + encodeURIComponent(preview);
	var el = document.getElementById(id);
	if (!el) return;
	var html = '<object type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" data="' + s_domain + '/videos/player.swf">' +
		'<param name="movie" value="' + s_domain + '/flash/player.swf">' +
		'<param name="allowfullscreen" value="true">' +
		'<param name="allowscriptaccess" value="always">' +
		'<param name="FlashVars" value="' + flashvars + '">' +
		'<param name="wmode" value="transparent">' +
	'</object>';
	
	el.innerHTML = '<div style="width:' + width + 'px;">' + html + (b_noShare ? '' : '<div>Embed: <input type="text" id="' + id + 'input" style="width:' + (width - 60) + 'px;color:gray;"/></div>') + '</div>';
	if (b_noShare) return;
	document.getElementById(id + 'input').value = html;
}

