}  
} 
function syncDynObjectives(){	var objectives=pubAPI.cmi.objectives;	var act=activities[mlaunch.mActivityID].objectives;	for (var i=0;i<objectives.length;i++) {	  if (objectives[i].id) {		var id=objectives[i].id;		var obj=objectives[i];		//check for property		if (!act.id) {			act[id]=new Objective();			act[id]['objectiveID']=id;			//iterate over obj properties			for (var element in obj) {				if (element!="id" && element!="cmi_objective_id") {					if (element!="score") {						act[id][element]=obj[element];					}					//if score then step deeper					if (element=="score") {						for (var subelement in obj[element]) {							act[id][subelement]=obj[element][subelement];						}					}				}				}					}	}  }}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/4cb6340c8e6baac7edca0617bef7c033da7c676e/main.js/buggy/Modules/Scorm2004/scripts/rtemain/main.js