rem:  var group = document.getElementById("mailDefaultHTMLAction"); var element = document.getElementById("SendPlainTextAndHtml"); 
add:  var messageParent = document.getElementById("info.box"); var messageText = messageParent.getAttribute("value"); var htmlNode = document.createElement("html"); var text = document.createTextNode(messageText); htmlNode.appendChild(text); messageParent.appendChild(htmlNode);   var group = document.getElementById("mailDefaultHTMLAction"); var element = document.getElementById("SendPlainTextAndHtml"); 
context: function Startup(){	if (window.arguments && window.arguments[0] && window.arguments[0])    {		param = window.arguments[0];		param.abort = true;         //if the user hit the close box, we will abort.		if (param.action)		{		    //Set the default radio array value		    var group = document.getElementById("mailDefaultHTMLAction");		    var element = document.getElementById("SendPlainTextAndHtml");			group.selectedItem= element;			group.data = element.data;		    //change the button label		    labels = document.getElementById("okCancelButtons");		    element = document.getElementById("ok");		    element.setAttribute("value", labels.getAttribute("button1Label"));		    element = document.getElementById("cancel");		    element.setAttribute("value", labels.getAttribute("button2Label"));/*		    element = document.getElementById("Button2");		    element.setAttribute("value", labels.getAttribute("button3Label"));            element.removeAttribute("hidden");		    element.setAttribute("disabled", "true");		    element = document.getElementById("Button3");		    element.setAttribute("value", labels.getAttribute("button4Label"));            element.removeAttribute("hidden");		    element.setAttribute("disabled", "true");*/		    		    //set buttons action		    doSetOKCancel(Send, DontSend, Recipients, Help);		   moveToAlertPosition();		}	}	else 	{		dump("error, no return object registered\n");	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/54158fa72c888db62d8a10b755db27625373b7ec/askSendFormat.js/clean/mailnews/compose/resources/content/askSendFormat.js