// JavaScript Document
function getFlashObject(id) {
	if (window.document[id])
		return window.document[id]
	if (navigator.appName.indexOf("Microsoft Internet") == -1) {
		if (document.embeds && document.embeds[id])
			return document.embeds[id];
	}
	else
		return document.getElementById(id);
}
function startVideo(flv_obj, videoUrl) {
	var flashObject = getFlashObject(flv_obj);
	if (flashObject != null && Object.isFunction(flashObject.setVideo)) {
		flashObject.setVideo(videoUrl);
	} else setTimeout("startVideo('" + flv_obj + "', '" + videoUrl + "')", 1000);
}
function stopVideo(flv_obj) {
	var flashObject = getFlashObject(flv_obj);
	if (flashObject != null && Object.isFunction(flashObject.stopVideo)) {
		var status = flashObject.stopVideo();
	} else setTimeout("stopVideo('" + flv_obj + "')", 1000);
}
