src = ((jalview.appletgui.AlignViewport) source).applet.currentAlignFrame;
}
+ // TODO: ensure that if '_af' is specified along with a handler function, then only events from that alignFrame are sent to that function
}
executeJavascriptFunction(_listener, new Object[]
{ src, seq.getDisplayId(false), "" + (1 + i), ""+seq.findPosition(i) });