//change 5 to the total number of questions
var total=5
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()
var explanation=new Array()

/*Below lists the questions, its choices,the solution,  and finally the explanation to each question. Follow the exact format below when editing the questions. You may have as many questions as needed.
*/

question[1]=" If there is a tornado warning issued for your city or town, where is the safest place to be?"
choice1[1]=" In a field"
choice1[2]=" In a car"
choice1[3]=" In your house or school"
choice1[4]=" At the mall"

question[2]=" In order for a tropical storm to be considered a hurricane, what does its minimum wind speed have to reach?"
choice2[1]=" 70 miles per hour"
choice2[2]=" 100 miles per hour"
choice2[3]=" 74 miles per hour"
choice2[4]=" 56 miles per hour"

question[3]=" To calculate how many miles away a lightning bolt strikes, look for the flash of lightning and count the number of seconds between the flash and its sound (thunder). Then, divide by __"
choice3[1]=" 10"
choice3[2]=" 15"
choice3[3]=" 5"
choice3[4]=" 12"

question[4]=" True or False: If you are in a car that gets struck by lightning, the rubber tires will protect the car (and you!) from harm."
choice4[1]=" True"
choice4[2]=" False"

question[5]=" Which of the following conditions have to develop before a winter storm is considered a blizzard?"
choice5[1]=" Temperatures around or below 20 degrees Fahrenheit"
choice5[2]=" Winds blowing 35 miles per hour"
choice5[3]=" Falling and blowing snow and reduced visibility, making it difficult to see for 3 hours"
choice5[4]=" All of the Above"

solution[1]="c"
solution[2]="c"
solution[3]="c"
solution[4]="b"
solution[5]="d"

explanation[1]="The basement or lowest floor of a house is the safest place out of these options. During a tornado warning, you should put as many walls as you can between you and the tornado. A field offers no protection from a tornado's winds, and neither does a car. Even though a mall has walls, it also has a large roof that could collapse during a tornado, and a lot of objects that could be picked up and blown at you by the tornado's wind. Go to a secure room with few or no windows in a basement or lowest floor - stand under a door frame, in a closet, or in a bathtub. Some communities even have certified tornado shelters or \"saferooms\". You might want to find a \"saferoom\" in your house - ask your parents to help."
explanation[2]="A tropical storm is considered a hurricane when its wind speed reaches 74 miles per hour. The Saffir-Simpson Scale determines the category of a hurricane: the storm is placed in a specific category (One through Five) according to its wind speed. A Category One hurricane is the weakest, with winds that measure 74 to 95 miles per hour, which can do a lot of damage. Category Five hurricanes have wind speeds over 155 miles per hour! These are the strongest hurricanes, and usually cause the most damage."
explanation[3]="Light travels faster than sound. When a lightning bolt strikes nearby, you can see the flash of light, and then hear its thunder shortly after. However, when a bolt strikes far away, the light travels to you quickly, but the sound may take several seconds. Sometimes, you may see a bolt strike and not hear any thunder at all. In this case, the lightning still made a sound, but it was too far away for you to hear. Some people call this heat lightning."
explanation[4]="While rubber is an electric insulator, it only works with relatively low voltage electricity. The average lightning has 100 million volts of electric potential and can be 50,000 degrees Fahrenheit! Rubber soles on your shoes or a car\'s tire will not protect you against this much electricity. However, since metal is a very good conductor of electricity, the car\'s metal will conduct most of the electricity around the vehicle to the ground."
explanation[5]="Blizzards are severe winter storms that contain low, below-freezing temperatures, strong winds blowing over 35 miles per hour, and blowing snow that limit visibility to one-quarter of a mile (not very far!) for at least three hours. They can also produce snow, sleet, and freezing rain, making for very difficult driving conditions. If there is a blizzard occurring in your town, stay safe and warm inside unless it is absolutely necessary to go outside (like an emergency)!"

