rem: var sT=""; var tda=new Array(); tda=td.id.split("_"); if(oTd!=null){ var tdo=new Array(); tdo=oTd.id.split("_"); for(i=1;i<tdo.length;i++){ sT+="_"+tdo[i]; if(tdo[i]!=tda[i]){ document.getElementById("td"+sT).style.backgroundColor=tdBgColor; document.getElementById("td"+sT).style.color=tdColor; if(document.getElementById("tbl"+sT)!=null) document.getElementById("tbl"+sT).style.visibility="hidden"; 
add: var sT = ""; var tda = new Array(); tda = td.id.split("_"); if (oTd != null) { var tdo = new Array(); tdo = oTd.id.split("_"); for (i = 1; i < tdo.length; i++) { sT += "_" + tdo[i]; if (tdo[i] != tda[i]) { document.getElementById("td" + sT).style.backgroundColor = tdBgColor; document.getElementById("td" + sT).style.color = tdColor; if (document.getElementById("tbl" + sT) != null) document.getElementById("tbl" + sT).style.visibility = "hidden"; 
context: function doMenu(td){	clearTimeout(ti);	td.style.backgroundColor=hlBgColor;	td.style.color=hlColor;	var i;	var sT="";	var tda=new Array();	tda=td.id.split("_");	if(oTd!=null){		var tdo=new Array();		tdo=oTd.id.split("_");		for(i=1;i<tdo.length;i++){			sT+="_"+tdo[i];			if(tdo[i]!=tda[i]){				document.getElementById("td"+sT).style.backgroundColor=tdBgColor;				document.getElementById("td"+sT).style.color=tdColor;				if(document.getElementById("tbl"+sT)!=null)					document.getElementById("tbl"+sT).style.visibility="hidden";			}		}				}	oTd=td;	sT="tbl";	for(i=1;i<tda.length;i++)		sT+="_"+tda[i];	if(document.getElementById(sT)!=null)		document.getElementById(sT).style.visibility="visible";}
meta: 3489	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3489/f6a8c7ae74d4ac02e1cbd8ad6e426d17ff68c0fd/menu_script.js/buggy/Documentation/Scripts/menu_script.js