Index: temp/trunk/html/test/uehara/js/tree.js
===================================================================
--- temp/trunk/html/test/uehara/js/tree.js	(revision 9538)
+++ temp/trunk/html/test/uehara/js/tree.js	(revision 9543)
@@ -5,7 +5,8 @@
 var IMG_NORMAL         = "./img/normal.gif";					// ¥Î¡¼¥Þ¥ë¥é¥¤¥ó
 
-var tree = "";
-var count = 0;
-var arrTreeStatus = new Array();
+var tree = "";						// À¸À®HTML³ÊÇ¼
+var count = 0;						// ¥ë¡¼¥×¥«¥¦¥ó¥¿
+var arrTreeStatus = new Array();	// ¥Ä¥ê¡¼¾õÂÖÊÝ»ý
+var old_select_id = '';				// Á°²óÁªÂò¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë
 
 // ¥Ä¥ê¡¼É½¼¨
@@ -181,4 +182,6 @@
 // ÇØ·Ê¿§¤òÊÑ¤¨¤ë
 function fnChangeBgColor(id, val) {
+	if(old_select_id != '') document.getElementById(old_select_id).style.backgroundColor = val;
 	document.getElementById(id).style.backgroundColor = val;
+	old_select_id = id;
 }
