 if (index == "mLearnerID") {value = this.config.learner_id;} if (index == "mScopeID") {value = this.config.course_id;} 
function buildADLtree(act, unused){	var obj=new Object;	var obj1, res, res2;	for(var index in act) {		var value;   		if ((index.substr(0,1) == "_") ) {			//create new object			obj = eval("new "+index.substr(1)+"()");			obj1 = buildADLtree(act[index],null);			for(var i in obj1){				obj[i]=obj1[i];			}		} else if ((act[index] instanceof Array)) {			var toset=new Array();			var temp=act[index];			for (var i=0;i<temp.length;i++) {				res=buildADLtree(temp[i],null);				toset.push(res);			}			if (index!="mActiveChildren") {				obj[index] = toset;			}			//keep trees in sync			if (index=="mChildren") {				obj["mActiveChildren"]=toset;			}		} else if ((act[index] instanceof Object)){			//handle object			res2=buildADLtree(act[index],null);			obj[index] = res2;		} else if (!(act[index] instanceof Array) && !(index.substr(0,1) == "_")){			value = act[index];			obj[index] = value;		}    }	return obj;}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/a58c2f160a6f6309733c1e2e3bc6e41446769fd9/main.js/clean/Modules/Scorm2004/scripts/main.js