
						</div>
						{/if}
						
						{define_slot name="record_view_main_section"}
							{if $ENV.prefs.collapse_all_sections_enabled}
							<div class="section-tools">
								<a href="javascript:DatafaceSections.collapseAll()"><img src="{$ENV.DATAFACE_URL|escape}/images/treeExpanded.gif">Collapse All Sections</a> &nbsp; &nbsp;
							<a href="javascript:DatafaceSections.expandAll()"><img src="{$ENV.DATAFACE_URL|escape}/images/treeCollapsed.gif">Expand All Sections</a>
							</div>
							{/if}
						