%s\n\n",LANGUAGE_TEXT_PLAYING_AUDIO_NOTIFICATION);
$_SESSION['stimulus_id'] = $stimulus_id;
present_stimuli(NULL,$stimulus_id,30000,NULL); // playLength in ms
}
elseif ($stimulus_id == "break") {
include_once($questionnaire_dir."form_processing/htmlhead_name_mesg.php");
printf("");
}
elseif ($stimulus_id == "end") {
//after all stims have been revisited, skip
if(isset($_SESSION['loop_end']) && isset($_SESSION['loop_goto']))
$_SESSION['num_skip_forms'] = $_SESSION['loop_end'] - $_SESSION['last_visited'] + 1;
else
$_SESSION['num_skip_forms'] = 1;
include_once($questionnaire_dir."form_processing/update_session.php");
}
}
else {
include_once('htmlhead_name_mesg_formhead.php');
include_once('display_form_fields.php');
}
?>