Sprains and Strains Quiz


<?xml version=”1.0″ encoding=”UTF-8″?><article xmlns=”http://www.w3.org/1999/xhtml”>
<div class=”JavaScriptQuiz” id=”SprainsStrainsQuiz”>
<h1>Take the Sprains and Strains Quiz</h1>
<p class=”intro”>Sprain? Strain? The terms for these injuries sound so similar, what’s the difference?
Find out by taking this quiz.
</p>
<div class=”Question” id=”SprainsStrainsQuiz_q1″>
<div class=”QuestionText”>1. If you have a sprain, it means you’ve injured a ligament.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q1aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q1aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q1aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q1Exp” style=”display:none;”>The injury can be an overstretching of one or more ligaments, a tear of one or more
ligaments, or an overstretching and a tear. Ligaments are tough bands of tissue that
hold two bones together. How bad a sprain is depends on whether the ligament is just
stretched, torn completely, or just partially torn. Also, the more ligaments involved,
the more severe the injury. Most sprains are minor injuries.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q1a”><span class=”Option”><input value=”SprainsStrainsQuiz_q1a1_c” id=”SprainsStrainsQuiz_q1a1_c” name=”q1″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q1a1Text”><label for=”SprainsStrainsQuiz_q1a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q1a2″ id=”SprainsStrainsQuiz_q1a2″ name=”q1″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q1a2Text”><label for=”SprainsStrainsQuiz_q1a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q2″>
<div class=”QuestionText”>2. In a strain, a muscle or tendon is involved.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q2aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q2aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q2aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q2Exp” style=”display:none;”>Like a sprain, a strain involves an overstretch or a complete or partial tear, but
of a muscle or tendon instead of a ligament. Tendons are similar to ligaments in that
they are tough bands of tissue, but they attach a muscle to a bone instead of holding
two bones together. Like sprains, most strains are minor injuries.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q2a”><span class=”Option”><input value=”SprainsStrainsQuiz_q2a1_c” id=”SprainsStrainsQuiz_q2a1_c” name=”q2″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q2a1Text”><label for=”SprainsStrainsQuiz_q2a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q2a2″ id=”SprainsStrainsQuiz_q2a2″ name=”q2″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q2a2Text”><label for=”SprainsStrainsQuiz_q2a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q3″>
<div class=”QuestionText”>3. The most common site for a sprain is the wrist.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q3aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q3aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q3aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q3Exp” style=”display:none;”>The most common site is the ankle. In fact, ankle sprains are the most common injury
in the U.S. An ankle sprain most often occurs when the foot turns inward as a person
runs, turns, falls, or lands on the ankle after a jump. This type of sprain is called
an inversion injury. It sprains the ligaments on the outside of the ankle.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q3a”><span class=”Option”><input value=”SprainsStrainsQuiz_q3a1″ id=”SprainsStrainsQuiz_q3a1″ name=”q3″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q3a1Text”><label for=”SprainsStrainsQuiz_q3a1″><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q3a2_c” id=”SprainsStrainsQuiz_q3a2_c” name=”q3″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q3a2Text”><label for=”SprainsStrainsQuiz_q3a2_c”><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q4″>
<div class=”QuestionText”>4. A typical sprain occurs when you misstep and land on the side of your foot.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q4aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q4aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q4aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q4Exp” style=”display:none;”>A sprain can also occur when you fall and land on an outstretched arm, or twist the
knee when your foot is already planted on the ground. In sports, sliding into base
or getting a blow to the body that forces a joint out of its normal position can also
result in a sprain. Any event that forces a joint from its normal position can overstretch
or tear a ligament.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q4a”><span class=”Option”><input value=”SprainsStrainsQuiz_q4a1_c” id=”SprainsStrainsQuiz_q4a1_c” name=”q4″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q4a1Text”><label for=”SprainsStrainsQuiz_q4a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q4a2″ id=”SprainsStrainsQuiz_q4a2″ name=”q4″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q4a2Text”><label for=”SprainsStrainsQuiz_q4a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q5″>
<div class=”QuestionText”>5. One symptom of a sprain may be a popping sound from the affected joint when the
injury occurs.
</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q5aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q5aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q5aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q5Exp” style=”display:none;”>This doesn’t happen in all cases. Usual symptoms of a sprain include pain, swelling,
and bruising at the joint. You may not be able to move the joint or it may be very
painful to move it. The symptoms vary in intensity, depending on the severity of the
sprain.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q5a”><span class=”Option”><input value=”SprainsStrainsQuiz_q5a1_c” id=”SprainsStrainsQuiz_q5a1_c” name=”q5″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q5a1Text”><label for=”SprainsStrainsQuiz_q5a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q5a2″ id=”SprainsStrainsQuiz_q5a2″ name=”q5″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q5a2Text”><label for=”SprainsStrainsQuiz_q5a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q6″>
<div class=”QuestionText”>6. You should see your healthcare provider for a sprain if you can’t move or put weight
on the injured joint.
</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q6aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q6aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q6aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q6Exp” style=”display:none;”>
<p>Other times to see your healthcare provider for a sprain:</p>
<ul>
<li>The injured joint is tender to touch.</li>
<li>The injured area looks crooked or has bumps not visible on an uninjured joint.</li>
<li>Your leg buckles when you try to use your injured knee or ankle.</li>
<li>The injured area is numb.</li>
<li>The injured area has been injured in the past.</li>
</ul>
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q6a”><span class=”Option”><input value=”SprainsStrainsQuiz_q6a1_c” id=”SprainsStrainsQuiz_q6a1_c” name=”q6″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q6a1Text”><label for=”SprainsStrainsQuiz_q6a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q6a2″ id=”SprainsStrainsQuiz_q6a2″ name=”q6″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q6a2Text”><label for=”SprainsStrainsQuiz_q6a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q7″>
<div class=”QuestionText”>7. The back is a common site for strains.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q7aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q7aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q7aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q7Exp” style=”display:none;”>Another common
site is the hamstring muscle, at the back of the thigh. People who play contact sports
such as soccer, football or hockey are at higher risk for strains. Hand and forearm
strains are more common among people who play tennis, row or golf. Elbow strains can
occur if you play racquet sports. Overuse of a joint can result in a chronic strain. For
a chronic strain, the damage accumulates slowly, rather than all at once as in a fall or
a blow to the joint. </div>
<div class=”Options” id=”SprainsStrainsQuiz_q7a”><span class=”Option”><input value=”SprainsStrainsQuiz_q7a1_c” id=”SprainsStrainsQuiz_q7a1_c” name=”q7″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q7a1Text”><label for=”SprainsStrainsQuiz_q7a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q7a2″ id=”SprainsStrainsQuiz_q7a2″ name=”q7″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q7a2Text”><label for=”SprainsStrainsQuiz_q7a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q8″>
<div class=”QuestionText”>8. A muscle spasm can be a symptom of a strain.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q8aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q8aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q8aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q8Exp” style=”display:none;”>Other symptoms include pain and muscle weakness. At the site of the injury, there
may be swelling, cramping or inflammation. A severe strain involving a muscle or tendon
tear can be very painful and disabling.
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q8a”><span class=”Option”><input value=”SprainsStrainsQuiz_q8a1_c” id=”SprainsStrainsQuiz_q8a1_c” name=”q8″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q8a1Text”><label for=”SprainsStrainsQuiz_q8a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q8a2″ id=”SprainsStrainsQuiz_q8a2″ name=”q8″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q8a2Text”><label for=”SprainsStrainsQuiz_q8a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q9″>
<div class=”QuestionText”>9. You should treat a sprain or strain by putting moist heat on it right away.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q9aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q9aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q9aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q9Exp” style=”display:none;”>
<p>You should follow the RICE (rest, ice, compression, elevation) treatment for the first
1 to 2 days after the injury:
</p>
<ul>
<li>Rest the injured joint.</li>
<li>Put an ice pack on it. Wrap the ice pack in a thin towel. Use the ice pack 4 to 8
times a day for 20 minutes each time.
</li>
<li>Wrap the joint with a compression bandage.</li>
<li>Raise it above the level of your heart.</li>
</ul>
<p>Your healthcare provider may recommend a nonsteroidal anti-inflammatory medicine such
as ibuprofen to help ease pain and swelling. A moderate to severe sprain or strain
may need a cast or brace to hold the joint still while it heals. A severe sprain or
strain may need surgery to fix the tear. How long it takes a sprain or strain to heal
depends on how severe the injury is. A moderate ankle sprain might need up to 6 weeks
to heal. A severe sprain might take 6 months to a year.
</p>
</div>
<div class=”Options” id=”SprainsStrainsQuiz_q9a”><span class=”Option”><input value=”SprainsStrainsQuiz_q9a1″ id=”SprainsStrainsQuiz_q9a1″ name=”q9″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q9a1Text”><label for=”SprainsStrainsQuiz_q9a1″><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q9a2_c” id=”SprainsStrainsQuiz_q9a2_c” name=”q9″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q9a2Text”><label for=”SprainsStrainsQuiz_q9a2_c”><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Question” id=”SprainsStrainsQuiz_q10″>
<div class=”QuestionText”>10. Wearing shoes that fit correctly is one way to prevent a
sprain or strain.</div>
<div class=”NoAnswer” id=”SprainsStrainsQuiz_q10aNoAnswer” style=”display:none;”>You didn’t answer this question.</div>
<div class=”YourAnswer” id=”SprainsStrainsQuiz_q10aText” style=”display:none;”>You answered </div>
<div class=”CorrectAnswer” id=”SprainsStrainsQuiz_q10aRightAnswer” style=”display:none;”>The correct answer is </div>
<div class=”Explanation” id=”SprainsStrainsQuiz_q10Exp” style=”display:none;”>Other ways to
prevent sprains and strains include maintaining a healthy weight; preventing falls by
keeping walkways in and around your home clear of clutter, and by using sand or salt on
icy patches in the winter; and wearing protective equipment when a playing a sport that
puts you at risk for a sprain or strain. </div>
<div class=”Options” id=”SprainsStrainsQuiz_q10a”><span class=”Option”><input value=”SprainsStrainsQuiz_q10a1_c” id=”SprainsStrainsQuiz_q10a1_c” name=”q10″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q10a1Text”><label for=”SprainsStrainsQuiz_q10a1_c”><span class=”AnswerLetter”>A.</span> True</label></span></span><span class=”Option”><input value=”SprainsStrainsQuiz_q10a2″ id=”SprainsStrainsQuiz_q10a2″ name=”q10″ type=”radio” /><span class=”AnswerText” id=”SprainsStrainsQuiz_q10a2Text”><label for=”SprainsStrainsQuiz_q10a2″><span class=”AnswerLetter”>B.</span> False</label></span></span></div>
</div>
<div class=”Button” id=”SprainsStrainsQuiz_submit”><input onclick=”SprainsStrainsQuiz_MakeQueryString(‘SprainsStrainsQuiz’)” type=”button” value=”Submit” /></div>
<div class=”Score” id=”SprainsStrainsQuiz_score” style=”display:none;”>Your score was: </div>
<div class=”Button” id=”SprainsStrainsQuiz_reset” style=”display:none;”><input onclick=”SprainsStrainsQuiz_ResetQuiz()” type=”button” value=”Reset” /></div><script>
<!–
//Check the querystring for values, if they exist, then process them (printer friendly)
var urlQuery = location.search.substring(1);
if(urlQuery.length > 0) {
SprainsStrainsQuiz_ParseQueryString(urlQuery);
}
function SprainsStrainsQuiz_ParseQueryString(urlQuery)
{
var bolProcessAnswers = false; //assume we dont need to do anything
var UserAnswers;
var QuizName = “”;
//the key is ‘CustomAnswers=’
if(urlQuery.indexOf(“CustomAnswers”) >= 0) {
var pairs = urlQuery.split(“&”); //pairs are going to be bla=foo
for(a = 0;a < pairs.length; a++)
{
if(pairs[a].indexOf(“CustomAnswers”) >= 0)
{
tempArray = pairs[a].split(“=”)
//split the tempArray and extrac the QuizName
tmpQnameKey = tempArray[0].split(“_”);
QuizName = tmpQnameKey[1];
//split the tempArray and extract the Answers
UserAnswers = tempArray[1].split(“,”)
if(QuizName.length > 0 && UserAnswers.length > 0)
bolProcessAnswers = true;
}
}
}
if(bolProcessAnswers) {
SprainsStrainsQuiz_calculate(QuizName, UserAnswers);
}
}
function SprainsStrainsQuiz_MakeQueryString(QuizName) {
//when the submit button is clicked, we want to take their answers and put them in the query string
var NODE_TYPE_ELEMENT = 1;
var NODE_TYPE_TEXT = 3;
var QuizDiv = document.getElementById(QuizName);
var QuizNodes = QuizDiv.childNodes;
var MyQuery = “”;
var existingURL = “”;
//decide if we should prepend it with a ‘?” or a “&”
if(location.search.substring(1).length > 0)
existingURL = “?” + location.search.substring(1);
for(x=0;x<QuizNodes.length;x++)
{
var currentNode = QuizNodes[x];
if(currentNode.nodeType == NODE_TYPE_ELEMENT && currentNode.id.indexOf(QuizDiv.id + “_q”) == 0)
{
var QuestionDiv = currentNode;
var ChoicesDiv = document.getElementById(QuestionDiv.id + “a”);
// now look at each radio button.
var ChoicesNodes = ChoicesDiv.getElementsByTagName(“input”);
var YourAnswer;
var YourAnswerTextId;
for(y=0;y<ChoicesNodes.length;y++)
{
ChoicesElement = ChoicesNodes[y];
if(ChoicesElement.checked)
{
YourAnswer = ChoicesElement;
var answerId = YourAnswer.id.substring(YourAnswer.id.indexOf(“_”)+1, YourAnswer.id.length);
MyQuery += answerId + “,”; //keep this id
}
}
}
}
//check to see if they didnt answer any of the questions
if(MyQuery.length == 0)
MyQuery = “CustomAnswers_” + QuizName + “=none”;
else
MyQuery = “CustomAnswers_” +QuizName + “=” + MyQuery.substring(0, MyQuery.length-1); //take of the last ‘,’
//redirect the browser to add in the querystring, for printer friendly version
if(existingURL.length > 0)
window.location.href = location.pathname + existingURL + “&” + MyQuery;
else
window.location.href = location.pathname + “?” + MyQuery;
}
function SprainsStrainsQuiz_ResetQuiz() {
var currQueryString = “”;
var newQueryString = “”;
currQueryString = location.search.substring(1);
var tmpArray = currQueryString.split(“&”); //get the paird querysting parameters.
for(x = 0; x < tmpArray.length; x++)
{
if(tmpArray[x].indexOf(“CustomAnswers”) < 0) { //if you dont find it, append to the newQuerystring
newQueryString += tmpArray[x] + “&”;
}
}
if (newQueryString.length > 0) {
newQueryString = “?” + newQueryString.substring(0, newQueryString.length-1);
window.location.href = location.pathname + newQueryString;
}
else
window.location.href = location.pathname;
}
function SprainsStrainsQuiz_calculate(QuizName, UserAnswers) {
var questionCount = 0.0;
var correctCount = 0.0;
var NODE_TYPE_ELEMENT = 1;
var NODE_TYPE_TEXT = 3;
var QuizDiv = document.getElementById(QuizName);
document.getElementById(QuizDiv.id + “_submit”).style.display = “none”;
document.getElementById(QuizDiv.id + “_reset”).style.display = “”;
var QuizNodes = QuizDiv.childNodes;
for(x=0;x<QuizNodes.length;x++)
{
var currentNode = QuizNodes[x];
if(currentNode.nodeType == NODE_TYPE_ELEMENT && currentNode.id.indexOf(QuizDiv.id + “_q”) == 0)
{
var QuestionDiv = currentNode;
var ChoicesDiv = document.getElementById(QuestionDiv.id + “a”);
var NoAnswerSpan = document.getElementById(QuestionDiv.id + “aNoAnswer”);
var YourAnswerSpan = document.getElementById(QuestionDiv.id + “aText”);
var CorrectAnswerSpan = document.getElementById(QuestionDiv.id + “aRightAnswer”);
var ExplainSpan = document.getElementById(QuestionDiv.id + “Exp”);
questionCount++;
NoAnswerSpan.style.display = “”; // Assume they didn’t answer the question.
ExplainSpan.style.display = “”;
CorrectAnswerSpan.style.display = “”;
// now look at each radio button.
var ChoicesNodes = ChoicesDiv.getElementsByTagName(“input”);
var YourAnswer;
var YourAnswerTextId;
var CorrectAnserTextId;
var ChoicesElement;
for(y=0;y<ChoicesNodes.length;y++)
{
ChoicesElement = ChoicesNodes[y];
for(var i = 0; i < UserAnswers.length; i++) {
//loop through the querystring and see if it matches the current ChoicesElement
var currAnswer = QuizName + “_” + UserAnswers[i];
if(ChoicesElement.id == currAnswer) {
var RightWrongClass = “Wrong”;
YourAnswer = ChoicesElement;
NoAnswerSpan.style.display = “none”; // they did answer this question.
YourAnswerSpan.style.display = “”;
YourAnswerTextId = YourAnswer.id;
if(YourAnswerTextId.indexOf(“_c”) > 0)
{
correctCount ++;
RightWrongClass = “Right”;
YourAnswerTextId = YourAnswerTextId.replace(“_c”,””) + “Text”;
}
else
{
YourAnswerTextId = YourAnswerTextId + “Text”;
}
var YourAnswerText = document.getElementById(YourAnswerTextId);
var s = document.createElement(“span”);
s.className = YourAnswerText.className + ” ” + RightWrongClass;
s.innerHTML = YourAnswerText.innerHTML;
YourAnswerSpan.appendChild(s);
YourAnswerSpan.innerHTML += “. “;
YourAnswerSpan.className += ” ” + RightWrongClass;
}
}
if(ChoicesElement.id.indexOf(“_c”) > 0)
{
CorrectAnswerTextId = ChoicesElement.id.replace(“_c”,””) + “Text”;
var CorrectAnswerText = document.getElementById(CorrectAnswerTextId);
CorrectAnswerSpan.appendChild(CorrectAnswerText);
CorrectAnswerSpan.innerHTML += “. “;
}
}
// Now go find the text of the option they chose plus the correct answer and display them.
ChoicesDiv.style.display = “none”;
}
//Clear all “local” variables before iterating the loop.
currentNode = null;
QuestionDiv = null;
ChoicesDiv = null;
NoAnswerSpan = null;
YourAnswerSpan = null;
CorrectAnswerSpan = null;
ExplainSpan = null;
ChoicesNodes = null;
YourAnswer = null;
YourAnswerTextId = null;
CorrectAnserTextId = null;
ChoicesElement = null;
YourAnswerText = null;
CorrectAnswerText = null;
}
var Score = document.getElementById(QuizDiv.id + “_score”);
Score.style.display = “”;
Score.innerHTML += Math.round((correctCount / (questionCount/100))) + “%”;
}
–></script></div>
<div id=”topic_B1″ class=”COMPONENT-Bibliography”>
<h2 class=”Bibliography”>Citations</h2>
<div class=”COMPONENT-Citation_website” id=”Cite_1″>
<h3>Web Site Citation</h3>
<div>
<p class=”Citation_website”><a class=”Citation-site_url”
href=”https://orthoinfo.aaos.org/en/diseases–conditions/sprains-strains-and-other-soft-tissue-injuries”
>http://orthoinfo.aaos.org/topic.cfm?topic=A00111</a><span
class=”Citation-date_accessed”>2018-11-20</span><span class=”Citation-org_name”
>American Academy of Orthopaedic Surgeons</span><span
class=”Citation-article_title”>Sprains, Strains and Other Soft-Tissue
Injuries</span><span class=”Citation-volume_issue”/><span class=”Citation-pages”
/><a class=”Citation-PDF”
href=”Sprains, Strains and Other Soft-Tissue Injuries-OrthoInfo – AAOS.pdf”
>Sprains, Strains and Other Soft-Tissue Injuries-OrthoInfo – AAOS.pdf</a></p>
</div>
</div>
<div class=”COMPONENT-Citation_website” id=”Cite_2″>
<h3>Web Site Citation</h3>
<div>
<p class=”Citation_website”><a class=”Citation-site_url”
href=”https://www.niams.nih.gov/health-topics/sprains-and-strains”
>https://www.niams.nih.gov/health_info/sprains_strains/sprains_and_strains_ff.asp</a><span
class=”Citation-date_accessed”>2018-11-30</span><span class=”Citation-org_name”
>National Institute of Arthritis and Musculoskeletal and Skin Diseases
(NIAMS)</span><span class=”Citation-article_title”>What are Sprains and
Strains?</span><span class=”Citation-volume_issue”/><span class=”Citation-pages”
/><a class=”Citation-PDF” href=”sprains_and_strains_NIAMS.pdf”
>sprains_and_strains_NIAMS.pdf</a></p>
</div>
</div>
<div class=”COMPONENT-Citation_website” id=”Cite_3″>
<h3>Web Site Citation</h3>
<div>
<p class=”Citation_website”><a class=”Citation-site_url”
href=”https://orthoinfo.aaos.org/en/diseases–conditions/sprained-ankle”
>http://orthoinfo.aaos.org/topic.cfm?topic=a00150</a><span
class=”Citation-date_accessed”>2018-11-30</span><span class=”Citation-org_name”
>American Academy of Orthopaedic Surgeons</span><span
class=”Citation-article_title”>Sprained Ankle</span><span
class=”Citation-volume_issue”/><span class=”Citation-pages”/><a
class=”Citation-PDF” href=”Sprains and Strains _ NIAMS_01-30-2015.pdf”>Sprained
Ankle-OrthoInfo – AAOS.pdf</a></p>
</div>
</div>
</div>
</article>