*/ 
function onWindowLoad () { 	// Hook core events	attachUIEvent(window, 'unload', onWindowUnload);	attachUIEvent(document, 'click', onDocumentClick);		// Show Tree and Controls	setToc(getTocData(), this.config.package_url);		// Finishing startup	setInfo('');	setState('playing');	attachUIEvent(window, 'resize', onWindowResize);	onWindowResize();		//do a fake launch to check if TOC choice should be displayed	mlaunch = msequencer.navigate(NAV_NONE);		if (mlaunch.mNavState.mStart) {		//launch first activity //assume course has not be launched before		mlaunch = msequencer.navigate(NAV_START);	} 		if (mlaunch.mSeqNonContent == null) {		onItemDeliver(activities[mlaunch.mActivityID]);	} else {	  //call specialpage	  	loadPage(gConfig.specialpage_url+"&page="+mlaunch.mSeqNonContent);	}//	updateControls(null);	updateToc(getTocState());	updateControls(getControlState());	}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/cb1d4fb286364804e62c99aca54d5b546c56ed5e/main.js/buggy/Modules/Scorm2004/scripts/main.js