setResource(item.id, item.href, this.config.package_url); 
setResource(item.id, item.href+"?"+item.parameters, this.config.package_url); 
function onItemDeliver(item) // onDeliver called from sequencing process (deliverSubProcess){	var url = item.href, v;	var tocState = getTocState();	var controlState = getControlState();	// create api if associated resouce is of adl:scormType=sco	if (item.sco)	{		// get data in cmi-1.3 format		var data = getAPI(item.foreignId);		// add ADL Request namespace data		data.adl = {nav : {request_valid: {}}};		for (var k in controlState) 		{			data.adl.nav.request_valid[k.toLowerCase()] = String(controlState[k]);		}		// TODO walk tocState items for adl.nav.request_valid.{target=ID} = ...		// add some global values for all sco's in package		data.cmi.learner_name = globalAct.learner_name;		data.cmi.learner_id = globalAct.learner_id;		data.cmi.cp_node_id = item.foreignId;		data.cmi.session_time = undefined;		data.cmi.completion_threshold = item.completionThreshold;		data.cmi.launch_data = item.dataFromLMS;		data.cmi.time_limit_action = item.timeLimitAction;		data.cmi.max_time_allowed = item.attemptAbsoluteDurationLimit;		if (item.objective && (v = item.objective[0])) 		{			// REQ_74.3, compute scaled passing score from measure			if (v.satisfiedByMeasure && v.minNormalizedMeasure!==undefined) 			{				v = v.minNormalizedMeasure;			}			else if (v.satisfiedByMeasure) 			{				v = 1.0;			}			else 			{				v = undefined;			}			data.cmi.scaled_passing_score = String(v);		}		// assign api for public use from sco				//alert(toJSONString(data.cmi, ' '))				currentAPI = window[Runtime.apiname] = new Runtime(data, onCommit, onTerminate);	}	// deliver resource (sco)	scoStartTime = currentTime();	setResource(item.id, item.href, this.config.package_url);	// customize GUI	updateToc(tocState);	updateControls(controlState);}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/3f7076c68d8991a0957915b7b86f3ca731de6cf3/main.js/buggy/Modules/Scorm2004/scripts/main.js