//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]=" What is climate?"
choice1[1]=" Day-to-day changes in weather, like rain storms or windy days"
choice1[2]=" The average weather over a long period of time "
choice1[3]=" The greenhouse effect"
choice1[4]=" None of the above"

question[2]=" Which of the following influences Earth\'s climate?"
choice2[1]=" What\'s in the air"
choice2[2]=" Ocean currents and temperatures"
choice2[3]=" What\'s covering the land surface"
choice2[4]=" All of the above"

question[3]=" What is the climate of a tropical rainforest like?"
choice3[1]=" Cold and dry"
choice3[2]=" Hot and dry"
choice3[3]=" Hot and rainy"
choice3[4]=" Cold and rainy"

question[4]=" True or False: The greenhouse effect cools the earth."
choice4[1]=" True"
choice4[2]=" False"
choice4[3]=" "
choice4[4]=" "

question[5]=" Which of these things can help scientists determine what Earth\'s climate was like hundreds or thousands of years ago?"
choice5[1]=" Tree rings (cross-section views of tree trunks)"
choice5[2]=" Ice cores (long tubes of ice drilled from deep polar ice)"
choice5[3]=" Fossils and sediments from the ocean floor"
choice5[4]=" All of the above"

solution[1]="b"
solution[2]="d"
solution[3]="c"
solution[4]="b"
solution[5]="d"

explanation[1]="Weather is what\'s happening in the atmosphere for a particular location at a particular time, and includes events like rainfall, storms and hot or cold days. Climate is the average weather for that location over a long period of time, usually 30 years or more.  Scientists measure temperature, precipitation (rain, hail and snow) and wind over time to determine the climate for a certain area. These measurements give us a good idea of what type of weather to expect at certain times of the year."
explanation[2]="Regional climate is the average weather for a particular place. But global climate refers to the climate system of the entire Earth. It is determined by how much energy the Earth receives from the sun, and is influenced by the atmosphere, oceans, land, ice, snow and living things. It takes into account all the regional climates around our planet."
explanation[3]="Tropical rainforests are located near the equator, around the middle of the Earth. Equatorial regions receive about 12 full hours of sunlight a day year-round, and do not experience dramatic changes in season. They are also very humid and receive a lot of rainfall. Some rainforests get more than 200 inches per year, compared to a desert, which only gets 10 inches or less!"
explanation[4]="The greenhouse effect keeps our planet warm. It is caused by greenhouse gases in the atmosphere, like water vapor, carbon dioxide and methane, which absorb energy from the sun and insulate the planet with heat. We could not survive if our atmosphere did not contain these gases. Without them, the global temperature would be about 60 degrees colder!"
explanation[5]="Scientists can use all of these things to study how the Earth\'s climate has changed over time. Since a tree\'s growth is affected by temperature and rainfall, scientists can study its rings to determine what the climate was like during its lifetime. By drilling ice cores deep from the ice in the Arctic and Antarctic, scientists can tell how many greenhouse gases were in the atmosphere and how warm the planet was thousands of years ago. Fossils and sediments in the bottom of lakes and oceans tell scientists what the environment was like millions of years ago."


