Scenario 1

Your Code

var then = new Date;

var timer = setTimeout( 'timeOutAction();', 70000 );

function timeOutAction()
{
// exit the application due to a timeout
SetValue( "cmi.exit","
" );
// terminate the activity session
Terminate( "" );
}

Code Example

var then = new Date;

var timer = setTimeout( 'timeOutAction();', 70000 );

function timeOutAction()
{
// exit the application due to a timeout
SetValue( "cmi.exit","time-out" );
// terminate the activity session
Terminate( "" );
}