prefsTabOpen = true; document.getElementById('qa-preferences-litmus-username').value = qaPref.litmus.getUsername() || ''; document.getElementById('qa-preferences-litmus-password').value = qaPref.litmus.getPassword() || '';   var prefs = qaPref.getPref(qaPref.prefBase+'.notificationSettings', 'char'); prefs = prefs.split(","); var notify = $('qa-prefs-notify').childNodes; var prefCounter = 0; for (var i=0; i<notify.length; i++) { if (notify[i].setChecked != null && notify[i].checked != null) { if (prefs[prefCounter] == "1") notify[i].checked = true; else notify[i].checked = false; prefCounter++; } } }, 
prefsTabOpen = true; document.getElementById('qa-preferences-litmus-username').value = qaPref.litmus.getUsername() || ''; document.getElementById('qa-preferences-litmus-password').value = qaPref.litmus.getPassword() || '';   var prefs = qaPref.getPref(qaPref.prefBase+'.notificationSettings', 'char'); prefs = prefs.split(","); var notify = $('qa-prefs-notify').childNodes; var prefCounter = 0; for (var i=0; i<notify.length; i++) { if (notify[i].setChecked != null && notify[i].checked != null) { if (prefs[prefCounter] == "1") notify[i].checked = true; else notify[i].checked = false; prefCounter++; } } }, 
	loadPrefsWindow : function() {		prefsTabOpen = true;		document.getElementById('qa-preferences-litmus-username').value = 			qaPref.litmus.getUsername() || '';		document.getElementById('qa-preferences-litmus-password').value = 			qaPref.litmus.getPassword() || '';					// load notification settings:		var prefs = qaPref.getPref(qaPref.prefBase+'.notificationSettings', 'char');		prefs = prefs.split(",");		var notify = $('qa-prefs-notify').childNodes;		var prefCounter = 0;		for (var i=0; i<notify.length; i++) {			if (notify[i].setChecked != null && notify[i].checked != null) { // it's a checkbox				if (prefs[prefCounter] == "1") 					notify[i].checked = true;				else					notify[i].checked = false;				prefCounter++;			}		}	},
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/settings.js/buggy/testing/extensions/community/chrome/content/settings.js