rem: if (span.title) { var txt = i18n[span.title]; if (txt) span.title = txt; } 
context: function __dlg_translate(i18n) {	var types = ["input", "select", "legend", "span", "option", "td", "button", "div"];	for (var type = 0; type < types.length; ++type) {		var spans = document.getElementsByTagName(types[type]);		for (var i = spans.length; --i >= 0;) {			var span = spans[i];			if (span.firstChild && span.firstChild.data) {				var txt = i18n[span.firstChild.data];				if (txt)					span.firstChild.data = txt;			}                        if (span.title) {				var txt = i18n[span.title];				if (txt)					span.title = txt;                        }		}	}	var txt = i18n[document.title];	if (txt)		document.title = txt;};
meta: 6230	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6230/70e7091322d161ad5e2256481886617b9211a07f/popup.js/buggy/phpgwapi/js/htmlarea/popups/popup.js