function describe(text) {
	window.status = text;
	return true;
}

function clearstatus() {
	window.status = "";
}

function switchit (list) {
		  var listElementStyle=document.getElementById(list).style;
		  if (listElementStyle.display == "none") listElementStyle.display = "block";
		  else listElementStyle.display="none";
}

//hide all the sub-branches of the tree
function hideAll() {
		  document.getElementById('mainlist').style.display = "none";
//		  document.getElementById('samplelist').style.display = "none";
//		  document.getElementById('sampleresearchlist').style.display = "none";
		  document.getElementById('cpplist').style.display = "none";
		  document.getElementById('cppresearchlist').style.display = "none";
		  document.getElementById('rcckeyfacts').style.display = "none";
		  document.getElementById('rcclist').style.display = "none";
//		  document.getElementById('rccresearch').style.display = "none";
}

//show all the sub branches of the tree
function showAll() {
		  document.getElementById('mainlist').style.display = "block";
//		  document.getElementById('sampleresearchlist').style.display = "block";
//		  document.getElementById('samplelist').style.display = "block";
		  document.getElementById('cpplist').style.display = "block";
		  document.getElementById('cppresearchlist').style.display = "block";
		  document.getElementById('rcclist').style.display = "block";
		  document.getElementById('rcckeyfacts').style.display = "block";
//		  document.getElementById('rccresearch').style.display = "block";
}

function openInNew(dest) {
		NewWin = window.open(dest, 'NewWin', 'height=650, width=900, status=yes, toolbar=yes, scrollbars=yes');
}

function openInNewMap(dest) {
		NewWin = window.open(dest, 'MapWin', 'height=1033, width=1010, status=yes, toolbar=yes, scrollbars=yes');
}


