<!--

function submitAnnotation()
{
	
	mediaTime = window.parent.getMediaCurrTime(window.parent.document.quicktimemov);
	top.annotationlistframe.annotation.timecode.value =
	top.scenelistframe.deriveTimecode(
	eval("top.scenelistframe.takehidden.takestart" +  
	top.scenelistframe.takehidden.currenttake.value + ".value"), 
	eval("top.scenelistframe.takehidden.takestartseconds" +  
	top.scenelistframe.takehidden.currenttake.value + ".value"), mediaTime);

	top.annotationlistframe.annotation.takeid.value = top.scenelistframe.takehidden.currenttake.value;
    top.annotationlistframe.annotation.comment.value = comment.value;
	
	window.parent.startPlayer(window.parent.document.quicktimemov);
}

function playAnnotationTimecode(timecodeSnap, takeId)
{
	startSeconds = new Number(eval("top.scenelistframe.takehidden.takestartseconds" + takeId + ".value"));
	takeStartSeconds = (new Number(eval("top.scenelistframe.takehidden.takestart" + takeId + ".value").substring(3, 5)) * 60) +
		new Number(eval("top.scenelistframe.takehidden.takestart" + takeId + ".value").substring(6, 8));
	annotationOffsetSeconds = (new Number(timecodeSnap.substring(3, 5)) * 60) + 
		new Number(timecodeSnap.substring(6, 8));
	startSeconds += (annotationOffsetSeconds - takeStartSeconds);
	top.scenelistframe.seekTake(takeId);
	
	window.setTimeout('window.parent.playFromPosition(window.parent.document.quicktimemov, startSeconds - 1)', 500);		
	
}

-->