Scenario 1
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( "" );
}
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( "" );
}