rem: text = optionalFields[target.fieldName][FIELD_DESC] 
add: text = optionalFields[target.fieldName]['desc'] 
context: function addInitSelectionChanged (event){	parentDiv = addInitFieldsDlg.div	select = addInitFieldsDlg.select	div = top.document.getElementById ('description')	// Prepare the description text	boldText = document.createElement ("b")	boldLabel = document.createTextNode ("Description: ")	boldText.appendChild (boldLabel)	// Figure out what responded to the event	if (event.target)	{		target = event.target		parent = target.parentDiv	}	else if (event.srcElement)	{		target = event.srcElement		parent = element.srcElement.parentDiv	}	while (target.tagName == "TD" || target.tagName == "TR" || target.tagName == "TABLE")	{		target = target.parentNode	}	// Clear the current selection	for (option in parentDiv.options)		parentDiv.options[option].style.background = "#ffffff"	// Grab the description	if (target.fieldName)		text = optionalFields[target.fieldName][FIELD_DESC]	else		text = ""	// Set the selection color	if (text != "")		if (parent)			parent.style.background = "#7777ff"		else			target.style.background = "#7777ff"	// Setup the div	descriptText = document.createTextNode (text)	div.innerHTML = ""	div.appendChild (boldText)	div.appendChild (descriptText)}
meta: 4793	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4793/cb81ced60c4a7353d1a8b7619cd6ff102c22c261/add_init_fields.js/clean/teaching_boxes/web/scripts/lesson_plan/add_init_fields.js