<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html>
	<style>
	body, body * {
		font-family: verdana;
		font-size: 8pt;
	}
	html, body {
		padding: 0px;
		margin: 0px;
	}
	body {
		padding-left: 5px;
	}
	p {
		padding: 0px 0px 10px 0px;
		margin: 0px;
	}
	ul {
		padding: 0px;
		margin: 3px 0px 0px 0px;
	}
	li {
		list-style: none;
		padding: 3px 0px 3px 20px;
		background-image: url('icon_error.png');
		background-repeat: no-repeat;
		background-position: top left;
	}
	li.section {
		background-image: url('icon_book_open.png');
	}
	li.section.closed {
		background-image: url('icon_book_closed.png');
	}
	li span {
		padding: 2px;
	}
	li.selected span {
		background-color: #D4DFFF;
	}
	li.section.closed ul {
		display: none;
	}
	li.topic {
		background-image: url('icon_page.png');
	}
	span.section {
		cursor: pointer;
	}
	a {
		color: black;
		text-decoration: none;
	}
	</style>
	
	<script language="JavaScript">
	function collapse_tree() {
		var bullets = document.getElementsByTagName('span');
		for (var i = 0; i < bullets.length; ++i) {
			if (bullets[i].className == 'section') {
				bullets[i].parentNode.className += ' closed';
				bullets[i].onclick = function(e) { 
					if (!e) e = window.event;
					var el = e.target ? e.target : e.srcElement;
					if (el.parentNode.className == 'section') {
						el.parentNode.className = 'section closed';
					} else if (el.parentNode.className == 'section closed') {
						el.parentNode.className = 'section';
					}
				};
			}
		}
	}

	function set_selected(guid) {
		var el = document.getElementById(guid);
		if (el) {
			var els = document.getElementsByTagName('li');
			for (var i = 0; i < els.length; ++i) {
				els[i].className = els[i].className.replace('selected', '');
			}
			el.className += ' selected';
			while (el) {
				if (el.tagName == 'LI' && el.className == 'section closed') el.className = 'section';
				el = el.parentNode;
			}
		}
	}

	function check_guid() {
		if (window.name != 'contents') {
			window.location.href = '../index.html';
		} else {
			var guid = window.parent.location.href.split('?doc=');
			if (guid.length == 2) {
				window.parent.viewer.location.href = guid[1];
			}
		}
	}
	</script>
	<body onload="collapse_tree();check_guid();">