<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * @copyright Copyright (C) 2006 Andrew Schmadeke. All rights reserved.
 * @package Focus/Finance
 * This package can be modified by the licencee, but the license is non-transferrable.
 */

(function($){$(function()
{
	$('.report table button').on('click',function()
	{
		var next = this.parentNode.parentNode;
		while((next = next.nextSibling))
		{
			if(next.nodeType === 3)
				continue;

			if($(next).hasClass('drilldown'))
				break;

			if(this.visible)
				$(next).removeClass('visible');
			else $(next).addClass('visible');
		}

		this.visible = !this.visible;
		this.innerHTML = this.visible ? 'Collapse' : 'Expand';
	});

})}(jQuery));
</pre></body></html>