data.push(item[schem[i]]); 
for (var i=0, ni=items.length; i<ni; i+=1) { var item = items[i]; var elm = all(ITEM_PREFIX + item.id); if (elm) { if (item.sco) { elm.innerHTML = setTitle(item); }  var test=mlaunch.mNavState.mChoice[item.id]; var disable=true; if (test) { if (test['mIsSelectable']==true) { disable=false; } } else { disable=true; } toggleClass(elm, 'disabled', disable); toggleClass(elm.parentNode, 'hidden', item.hidden); } if (item.item) { walk(item.item); } } 
	function walk(collection, type) 	{		var schem = remoteMapping[type];		var res = result[type];		for (var k in collection) 		{			var item = collection[k];			if (item.dirty===0) {continue;}			var data = [];			for (var i=0, ni=schem.length; i<ni; i++) 			{				data.push(item[schem[i]]);			}			res.push(data);			switch (k)			{				case 'node':					walk(item.objectives, "objective");					if (item.dirty!==2) {continue;}					walk(item.comments, "comment");					walk(item.interactions, "interaction");					walk(item.correct_responses, "correct_response");					break;				case 'interaction':					walk(item.correct_responses, "correct_response");					walk(item.objectives, "objective");					break;			}		}	}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/d026bc0adc8e7e6952a80d68d91a81165bbf0c21/main.js/clean/Modules/Scorm2004/scripts/main.js