startList = function() {if (document.all&&document.getElementById) {	navRoot = document.getElementById("navBar");		for (i=0; i<navRoot.childNodes.length; i++) {		node = navRoot.childNodes[i];		if (node.nodeName=="DIV") {			node.onmouseover=function() {				this.className+=" over";			}					node.onmouseout=function() {				this.className=this.className.replace(" over", "");			}		}	}}}window.onload=startList;function pop (url,w,h,name){	var window_left = (screen.width-w)/2;    var window_top = (screen.height-h)/2;	 var win = window.open(url ,name,'scrollbars=yes,resizable=yes,width='+ w + ',height=' + h + ',top=' + window_top + ',left=' + window_left );	 win.focus();}// for creating html tags in text.function tagText(myTag, element) {	myField = document.getElementById(element);			  	//IE	if (document.selection) {		myField.focus();		sel = document.selection.createRange();		sel.text = "<" + myTag + ">" + sel.text + "</" + myTag + ">";			    	//mozilla	}   else if (myField.selectionStart || myField.selectionStart == '0') {			  			var startPos = myField.selectionStart;		var endPos = myField.selectionEnd;		myField.value = myField.value.substring(0, startPos)					+ "<" + myTag + ">" + myField.value.substring(startPos, endPos) + "</" + myTag + ">"					+ myField.value.substring(endPos, myField.value.length);	} else {		return false;	}				  	}function imageChooser(mode){	q = "setImage.php";	if ( mode == 'm') { 		q += "?mode=m";	}			pop( q, 400, 300, 'image');}/// Image Flippers ala vancefunction flipOn ( name ) {	document.getElementById(name).src = "/images/" + name + "_on.jpg";}function flipOff ( name ) {	document.getElementById(name).src = "/images/" + name + "_off.jpg";}//--- tree visibility function ---//function flipOut( dropper ) {	document.getElementById( dropper + "-body" ).style.overflow = "visible";}			function flipIn( dropper ) {	document.getElementById(  dropper + "-body" ).style.overflow = "hidden";}// blockDisplayfunction blockDisplay( name ){	document.getElementById(name).style.display = "block";}function blockHide(){	document.getElementById(name).style.display = "none";}