function onItemUndeliver(item) // onUndeliver called from sequencing process (EndAttempt){	// throw away the resource	// it may change api data in this	removeResource();	// throw away api, and try a API.Terminate before (will return "false" if already closed by SCO)	if (currentAPI) 	{		currentAPI.Terminate("");	}	currentAPI = window[Runtime.apiname] = null;		// set some data values 	if (currentAct) 	{		currentAct.accessed = currentTime()/1000;		if (!currentAct.dirty) currentAct.dirty = 1;	}		// customize GUI	updateToc(getTocState());	updateControls(getControlState());}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/ebdb8ea432053e3eed7a5ec32e46f06704042fc4/main.js/clean/Modules/Scorm2004/scripts/main.js