// We want to select a block of text (over multiple elements)
// The built-in find function can only handle one element at a time

// Make an empty range to create our selection
var new_sel_range = document.createRange();

// Use find function to establish selection start point
window.find('Smith Cairns');
var selection = window.getSelection();
var current_sel_range = selection.getRangeAt(0);
new_sel_range.setStart(current_sel_range.startContainer, current_sel_range.startOffset);

// Use find function again to establish end point
window.find(', NY 10704');
current_sel_range = selection.getRangeAt(0);
new_sel_range.setEnd(current_sel_range.endContainer, current_sel_range.endOffset);

// Clear the current selection, and select the text block
selection.removeAllRanges();
window.getSelection().addRange(new_sel_range);