this.onload = function() {	// make all tr's inside tables of class highlevel clickable	for (var i=0; i < document.getElementsByTagName("tr").length; i++) {		if (document.getElementsByTagName("tr")[i].parentNode.parentNode.className == "highlevel") {			document.getElementsByTagName("tr")[i].onclick = function () {				// onclick hide or show the related table... 				if ((document.getElementById(this.id+"dtl").style) && ((document.getElementById(this.id+"dtl").style.display == "table") || (document.getElementById(this.id+"dtl").style.display == "block"))) {					document.getElementById(this.id+"dtl").style.display = "none";				} else {					if ((navigator.appVersion.indexOf("Windows") != -1) && (navigator.appVersion.indexOf("MSIE") != -1)) { // this breaks in O7 if identifying as IE... but what can you do						document.getElementById(this.id+"dtl").style.display = "block";					} else {						document.getElementById(this.id+"dtl").style.display = "table";					}				}						};		}	}		// make all the a's in a report list clickable and toggle their reports	for (var i=0; i < document.getElementsByTagName("a").length; i++) {		if (document.getElementsByTagName("a")[i].parentNode.parentNode.className == "rptlist") {			document.getElementsByTagName("a")[i].onclick = function () {							// loop through all the report links in this section... highlight this one... dispable the others				for (j=0; j < this.parentNode.parentNode.childNodes.length; j++) {					if (this.parentNode.parentNode.childNodes[j].nodeName == "LI") {						if (this.parentNode.parentNode.childNodes[j] == this.parentNode) {							this.parentNode.parentNode.childNodes[j].style.backgroundColor = "rgb(255,255,255)";						} else {							this.parentNode.parentNode.childNodes[j].style.backgroundColor = "#dce6e5";						}					}				}												// loop through the reports in this section... show this one... hide the others				// a - li - ul - div - li - all divs of class report				var thisItem = this.parentNode.parentNode.parentNode.parentNode;				for (j=0; j < thisItem.childNodes.length; j++) {					if ((thisItem.childNodes[j].nodeName =="DIV") && (thisItem.childNodes[j].className =="report")){						if (thisItem.childNodes[j].id == this.href.split("#")[1]) {							thisItem.childNodes[j].style.display = "block";						} else {							thisItem.childNodes[j].style.display = "none";						}					}				}				return false;			};		}	}	for (var i=0; i < document.getElementsByTagName("h5").length; i++) {		document.getElementsByTagName("h5")[i].onclick = function () {			for (var j=0; j < this.parentNode.childNodes.length; j++) {				if (this.parentNode.childNodes[j].className == "desc") {					if ((this.parentNode.childNodes[j].style) && (this.parentNode.childNodes[j].style.display == "block")) {						this.parentNode.childNodes[j].style.display = "none";					} else {						this.parentNode.childNodes[j].style.display = "block";					}				} else if (this.parentNode.childNodes[j].className == "tabbar") {					if ((this.parentNode.childNodes[j].style) && (this.parentNode.childNodes[j].style.display == "block")) {												for (k=0; k < this.parentNode.childNodes[j].childNodes.length; k++) {							if (this.parentNode.childNodes[j].childNodes[k].nodeName == "UL") {								for (l=0; l < this.parentNode.childNodes[j].childNodes[k].childNodes.length; l++) {									if (this.parentNode.childNodes[j].childNodes[k].childNodes[l].nodeName == "LI") {										this.parentNode.childNodes[j].childNodes[k].childNodes[l].style.backgroundColor = "#dce6e5";									}								}							}						}						this.parentNode.childNodes[j].style.display = "none";					} else {						this.parentNode.childNodes[j].style.display = "block";					}				} else if (this.parentNode.childNodes[j].className == "report") { // wanna hide these on close... but not show them all					if ((this.parentNode.childNodes[j].style) && (this.parentNode.childNodes[j].style.display == "block")) {						this.parentNode.childNodes[j].style.display = "none";					} else {						// this.parentNode.childNodes[j].style.display = "block";					}				}			}		};	}};