HTML branching

I have a course that uses a Flash file. We have used the 'Add External HTML' function and included scripting to submit a variable value back to Lectora so it can be passed to the LMS. However, the exit page in the script needs to be conditional based on the variable value.I did not create the HTML nor do I know HTML. If anyone could help me, I would really appreciate it. The simpler, the better. I will have to repeat this process on other pages.Here's the current HTML:function s2_2Submit(selectedTool) { //alert('selectedTool: ' + selectedTool); if (parseInt(selectedTool) > 3) { VarPreTest_2_2_Tool.set("1"); } else { VarPreTest_2_2_Tool.set("0"); } trivExitPage('a001_pretest_pretest_simulation_section_2_3.ht ml'); trivExitPage('a001_pretest_pretest_simulation_section_2_2_an swer.html');What I need is to go to the section_2_3.html page if the variable is set to 1 (correct answer) and to go to the other page is the variable is set to 0.Thanks for any help!

Discussions have been disabled for this post