rem: var oElement = parentWindow.checkElements[iElementIndex];  switch (oElement.tagName) { case "INPUT" : case "TEXTAREA" : oElement.value = newText; break; case "DIV" : case "SPAN" : case "BODY" : oElement.innerHTML = newText; break; } 
add: parentWindow.setText(iElementIndex, newText); 
context: function updateText(){    if (!parentWindow.document)        return false;	var oDocument = parentWindow.document;	var newText = document.getElementById("CurrentText").value;	var oElement = parentWindow.checkElements[iElementIndex];            	switch (oElement.tagName)	{		case "INPUT" :        case "TEXTAREA" :			oElement.value = newText;			break;		case "DIV" :		case "SPAN" :        case "BODY" :			oElement.innerHTML = newText;			break;    }}
meta: 2600	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2600/c99551ae37424562a694879af9a4a997fb1209dd/spell.js/clean/NetSpell/demo/Demo.Web.HtmlEditor/spell.js