context: function UpdatableGroupsCombo(wwwRoot, courseId) {    this.wwwRoot = wwwRoot;    this.courseId = courseId;    this.connectCallback = {        success: function(o) {        	if (o.responseText !== undefined) {                var groupsComboEl = document.getElementById("groups");                var membersComboEl = document.getElementById("members");                if (membersComboEl) {                    // Clear the members combo box.                    while (membersComboEl.firstChild) {                        membersComboEl.removeChild(membersComboEl.firstChild);                    }                }        	    if (groupsComboEl && o.responseText) {        	        //var groups = eval("("+o.responseText+")");        	        var groups = eval(o.responseText);        	        // Populate the groups combo box.                    for (var i=0; i<groups.length; i++) {                        var optionEl = document.createElement("option");                        optionEl.setAttribute("value", groups[i].id);                        optionEl.innerHTML = groups[i].name;                        groupsComboEl.appendChild(optionEl);                    }                }        	}        	// Remove the loader gif image.        	removeLoaderImgs("groupsloader", "groupslabel");        },        failure: function(o) {            removeLoaderImgs("membersloader", "memberslabel");        }    };    // Add onchange event to groups combo box.    groupsComboEl = document.getElementById("groups");    if (groupsComboEl) {        groupsComboEl.setAttribute("onchange", "membersCombo.refreshMembers(this.options[this.selectedIndex].value);");    }    // Hide the updategroups input since AJAX will take care of this.    var updateGroupsButton = document.getElementById("updategroups");    updateGroupsButton.setAttribute("style", "display:none;");}
meta: 752	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/752/95bea1edfacaf4fa1a93c9f0b6cc6bdd5187181d/clientlib.js/clean/group/lib/clientlib.js