for (var k in controlState) { toggleClass('nav'+k.charAt().toUpperCase()+k.substr(1), 'enabled', !controlState[k]); } 
 if (mlaunch!=null) {  toggleClass('navContinue', 'disabled', !mlaunch.mNavState.mContinue); toggleClass('navExit', 'disabled', !mlaunch.mNavState.mContinueExit); toggleClass('navPrevious', 'disabled', !mlaunch.mNavState.mPrevious); toggleClass('navResumeAll', 'disabled', !mlaunch.mNavState.mResume); toggleClass('navStart', 'disabled', !mlaunch.mNavState.mStart); toggleClass('navSuspendAll', 'disabled', !mlaunch.mNavState.mSuspend);  /*for (var k in mlaunch.mNavState) { alert(k); toggleClass('nav'+k.charAt().toUpperCase()+k.substr(1), 'enabled', !controlState[k]); }*/ } 
function updateControls(controlState) {	for (var k in controlState) 	{		toggleClass('nav'+k.charAt().toUpperCase()+k.substr(1), 'enabled', !controlState[k]);	}}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/950738e80102759860baa99fffcd12122c2909bc/main.js/buggy/Modules/Scorm2004/scripts/main.js