anchor.diff:    return {line_start: line_start, line_end: line_end};
   }
   
  -//Does not work with image annotations, they get created via stop_select_box()
   function make_new_annotation() {
  +  //check if image is shown, and call the appropriate function if so
     if (!is_image) {
       positions = get_mouse_positions();
     } else {
  
positive.code: var annotation_manager = null;
  var syntax_highlighter_adapter = null;
  
  var is_image;
  
  function source_code_ready() {
  
negative.code: This function takes the ID of some annotation that already
  exists in the database, adds the new annotation link to the
  currently selected text, and then highlights the lines.
  %>
  function add_existing_annotation(annotation_text_id) {
    if(is_image) {
  