'); newWindow.document.writeln (''); newWindow.document.writeln ('
'); newWindow.document.writeln ('
'); newWindow.document.write ('Question 1. '); newWindow.document.writeln ('What does the caterpillar use to spin silk?'); newWindow.document.writeln ('
'); if (form.question1.selectedIndex == 2) { newWindow.document.write ('You answered, "' + form.question1.options[form.question1.selectedIndex].text + '" which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question1.options[form.question1.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The caterpillar uses its mouth to spin silk." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 2. '); newWindow.document.writeln ('Which of these is not a major part of the butterfly?'); newWindow.document.writeln ('
'); if (form.question2.selectedIndex == 0) { newWindow.document.write ('You answered, " ' + form.question2.options[form.question2.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question2.options[form.question2.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The prolegs are not a major body part of the butterfly. The major body parts are the head, thorax and abdomen." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 3. '); newWindow.document.writeln ('What kind of butterfly did we take care of?'); newWindow.document.writeln ('
'); if (form.question3.selectedIndex == 1) { newWindow.document.write ('You answered, " ' + form.question3.options[form.question3.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question3.options[form.question3.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "We took care of the Painted Lady butterfly." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 4. '); newWindow.document.writeln ('How many legs does a caterpillar have?'); newWindow.document.writeln ('
'); if (form.question4.selectedIndex == 3) { newWindow.document.write ('You answered, " ' + form.question4.options[form.question4.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question4.options[form.question4.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The caterpillar has 16 legs." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 5. '); newWindow.document.writeln ('What shape does the caterpillar go into before it makes its chrysalis?'); newWindow.document.writeln ('
'); if (form.question5.selectedIndex == 0) { newWindow.document.write ('You answered, " ' + form.question5.options[form.question5.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question5.options[form.question5.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The caterpillar goes into the J-shape before it makes its chrysalis." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 6. '); newWindow.document.writeln ('What is it called when a caterpillar sheds its skin?'); newWindow.document.writeln ('
'); if (form.question6.selectedIndex == 2) { newWindow.document.write ('You answered, " ' + form.question6.options[form.question6.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question6.options[form.question6.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "When a caterpillar sheds its skin it is called molting." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 7. '); newWindow.document.writeln ('What are the antennae attached to?'); newWindow.document.writeln ('
'); if (form.question7.selectedIndex == 1) { newWindow.document.write ('You answered, " ' + form.question7.options[form.question7.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question7.options[form.question7.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The antennae are attached to the head." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 8. '); newWindow.document.writeln ('What does the caterpillar have to protect himself from his enemies?'); newWindow.document.writeln ('
'); if (form.question8.selectedIndex == 1) { newWindow.document.write ('You answered, " ' + form.question8.options[form.question8.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question8.options[form.question8.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The caterpillar has bristles on his body to protect himself from his enemies." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 9. '); newWindow.document.writeln ('What does the new butterfly have to dry before it can fly?'); newWindow.document.writeln ('
'); if (form.question9.selectedIndex == 3) { newWindow.document.write ('You answered, " ' + form.question9.options[form.question9.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question9.options[form.question9.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The new butterfly must dry its wings before it can fly." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.document.write ('Question 10. '); newWindow.document.writeln ('What does the butterfly use to suck nectar?'); newWindow.document.writeln ('
'); if (form.question10.selectedIndex == 1) { newWindow.document.write ('You answered, " ' + form.question10.options[form.question10.selectedIndex].text + ' " which is correct. '); } else { newWindow.document.write ('You answered, " ' + form.question10.options[form.question10.selectedIndex].text + ' " which is incorrect. '); newWindow.document.write ('The correct answer is: ' + ' "The butterfly uses its proboscis to suck nectar." '); total -= 10; } newWindow.document.writeln ('
'); newWindow.alert("You scored " + total + " out of a possible 100 points."); newWindow.document.writeln ('
'); newWindow.document.write ('
'); newWindow.document.write (''); newWindow.document.write ('