rem: if (document.getElementById("SendPlainTextAndHtml").checked) param.action = msgCompSendFormat.Both; else if (document.getElementById("SendPlainTextOnly").checked) param.action = msgCompSendFormat.PlainText; else if (document.getElementById("SendHtmlOnly").checked) param.action = msgCompSendFormat.HTML; 
add: switch (document.getElementById("mailDefaultHTMLAction").data) { case "0": param.action = msgCompSendFormat.Both;		break; case "1": param.action = msgCompSendFormat.PlainText;	break; case "2": param.action = msgCompSendFormat.HTML;		break; } 
context: function Send(){    if (param)    {        if (document.getElementById("SendPlainTextAndHtml").checked)            param.action = msgCompSendFormat.Both;        else if (document.getElementById("SendPlainTextOnly").checked)            param.action = msgCompSendFormat.PlainText;        else if (document.getElementById("SendHtmlOnly").checked)            param.action = msgCompSendFormat.HTML;        param.abort = false;    }    return true;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/feedd1be817f148879c1962cdd5f9b5ff3fbaf6c/askSendFormat.js/buggy/mailnews/compose/resources/content/askSendFormat.js