function openNote(noteName, noteHeight, noteWidth) { // This opens the annotation in a new window.
//    alert ("noteName = " + noteName);
//    alert ("noteHeight = " + noteHeight);
//    alert ("noteWidth = " + noteWidth);
    if (noteHeight == null) showScroll="yes"
        else showScroll="no";
    if (noteHeight == null) noteHeight=200;
    if (noteWidth == null) noteWidth=450;
    newWindow=window.open(noteName,'note',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+showScroll+",resizable=yes,copyhistory=no,height="+noteHeight+",width="+noteWidth);
    newWindow.focus();
}
