context: function Recipients2CompFields(msgCompFields){	if (msgCompFields)	{		var i = 1;		var addrTo = "";		var addrCc = "";		var addrBcc = "";		var addrReply = "";		var addrNg = "";		var addrFollow = "";		var addrOther = "";		var to_Sep = "";		var cc_Sep = "";		var bcc_Sep = "";		var reply_Sep = "";		var ng_Sep = "";		var follow_Sep = "";    var inputField;	    while ((inputField = awGetInputElement(i)))	    {	    	var fieldValue = inputField.value;	    	if (fieldValue == null)	    	  fieldValue = inputField.getAttribute("value");	    	if (fieldValue != "")	    	{			    switch (awGetPopupElement(i).selectedItem.getAttribute("data"))	    		{	    			case "addr_to"			: addrTo += to_Sep + fieldValue; to_Sep = ",";					break;	    			case "addr_cc"			: addrCc += cc_Sep + fieldValue; cc_Sep = ",";					break;	    			case "addr_bcc"			: addrBcc += bcc_Sep + fieldValue; bcc_Sep = ",";				break;	    			case "addr_reply"		: addrReply += reply_Sep + fieldValue; reply_Sep = ",";			break;	    			case "addr_newsgroups"	: addrNg += ng_Sep + fieldValue; ng_Sep = ",";					break;	    			case "addr_followup"	: addrFollow += follow_Sep + fieldValue; follow_Sep = ",";		break;					case "addr_other"		: addrOther += other_header + ": " + fieldValue + "\n"; 		break;	    		}	    	}	    	i ++;	    }    	msgCompFields.SetTo(addrTo);    	msgCompFields.SetCc(addrCc);    	msgCompFields.SetBcc(addrBcc);    	msgCompFields.SetReplyTo(addrReply);    	msgCompFields.SetNewsgroups(addrNg);    	msgCompFields.SetFollowupTo(addrFollow);        msgCompFields.SetOtherRandomHeaders(addrOther);	}	else		dump("Message Compose Error: msgCompFields is null (ExtractRecipients)");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9a5d44e9238e7b55b70978b2510998a5855662c/addressingWidgetOverlay.js/buggy/mailnews/compose/resources/content/addressingWidgetOverlay.js