// Find all elements before this one and hide them
var cur = this.previousSibling;
while ( cur != null ) {
cur.style.display = ‘none’;
cur = this.previousSibling;
}
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.