//change 5 to the total number of questions
var total=14
var question=new Array()
for (i=1;i<=total+1;i++){
temp="choice"+i+"=new Array()"
eval(temp)
}
var solution=new Array()

/*Below lists the phrases that will be randomly displayed if the user correctly answers the question. You may extend or shorten this list as desired*/
var compliments=new Array()
compliments[0]="0"
compliments[1]="b) A small-headed toothbrush will help you brush into all the difficult to reach areas of your mouth. Hard bristles may eventually damage your teeth if you brush too hard. Rotating oscillating electric toothbrushes have been shown to be more efficient at reducing plaque than a manual toothbrush."
compliments[2]="c) TePes have multiple brushing fibres which extend at 90 degrees out of a flexible central wire core. They are an extremely efficient method of removing bacteria and food debris from below tooth contact "
compliments[3]="b) Juice, fizzy drinks and squashes - even the sugar-free varieties - are acidic and can wear away the surfaces of the teeth. This is called erosion. These drinks are so popular that nearly half of children in the UK have some dental erosion by the age of six. Plain water is not acidic and doesn't cause erosion."
compliments[4]="c) Plaque is the soft and sticky bacteria-containing substance that accumulates on the teeth from food debris. Plaque can cause decay and gum irritation when it is not removed by daily brushing and flossing. "
compliments[5]="d) People with good oral health may only need to go to the dentist every 12-24 months, while people who have experienced problems with their teeth will need to go for a dental check up more often."
compliments[6]="a) Various things can cause jaw pain, clicking, stiffness or spasm. Usually your dentist will be able to advise you on simple treatments to help relieve your symptoms."
compliments[7]="a) As soon as your baby has teeth, you should start to clean them. Initially it may be easier to use a piece of clean flannel or cloth wrapped round your forefinger."
compliments[8]="d) There are a range of simple treatments for whitening teeth. However, some products may not be suitable for you, such as if you have gum disease or crowns. Ask your dentist or Lifestyle staff for more advice."
compliments[9]="a) Periodontitis is inflammation of the tissue around the teeth, often causing shrinkage of the gums and loosening of the teeth. Serious gum disease can be prevented by practising good oral health."
compliments[10]="d) Most people in the UK have some form of gum disease, which attacks the gums, making them red and puffy. This can lead to problems if left untreated. regular brushing with fluoride toothpaste and dental checks can help to minimise the impact of gum disease."
compliments[11]="d) Regular flossing helps to remove plaque and bacteria from between your teeth and under the gumline. Your gums may bleed a bit to begin with, but this should reduce as your oral health improves."
compliments[12]="a) Fluoride toothpaste has hugely improved oral health and reduced tooth decay accross the world. The fluoridation of the mains water supply reduces tooth decay still further in areas where fluoride is not present naturally."
compliments[13]="c) Halitosis is bad or sour smelling breath and is often caused by over population of bacteria due to poor oral health. In most cases, halitosis originates from the gums and tongue. Using a tongue gel and scraper before bed may significantly freshen 'morning breath'."
compliments[14]="b) It is better to eat sugary foods along with a meal to minimise the risk of tooth decay. Snacking on sugary treats between meals is worst for teeth. However, a high-sugar diet is never great for teeth so you should try to cut down your intake of sugary foods."

/*Below lists the questions, its choices, and finally, the solution to each question. Folow the exact format below when editing the questions. You may have as many questions as needed. Check doc at http://javascriptkit.com/script/script2/comboquiz.htm for more info
*/

question[1]=" Which is the most important when it comes to choosing a toothbrush?"
choice1[1]=" a big head to cover all the areas of your mouth"
choice1[2]=" a small head to get into all the difficult to reach places in your mouth"
choice1[3]=" hard bristles to scrub off the food"
choice1[4]=" it doesn't matter as long as it is electric rather than manual"

question[2]=" What are TePes"
choice2[1]=" native american style tents"
choice2[2]=" vocal exercises to improve enunciation"
choice2[3]=" a range of interdental brushes"
choice2[4]=" two letters from the alphabet"

question[3]=" Which of the following drinks is the least likely to wear away your teeth?"
choice3[1]=" diet cola"
choice3[2]=" water"
choice3[3]=" sugar-free squash"
choice3[4]=" fresh fruit juice"

question[4]=" What is plaque?"
choice4[1]=" the protective coating which naturally occurs on teeth"
choice4[2]=" a harmless substance that can be removed completely with brushing"
choice4[3]=" a bacteria-containing substance that collects on the surface of teeth"
choice4[4]=" a whitening substance that makes your teeth shine"

question[5]=" How often should you go for a dental check up?"
choice5[1]=" at least every three months"
choice5[2]=" at least every six months"
choice5[3]=" only when you have a toothache"
choice5[4]=" it depends on whether you have good oral health or not"

question[6]=" If you have an aching jaw, which of the folowing should you avoid?"
choice6[1]=" yawning widely"
choice6[2]=" soft food"
choice6[3]=" over-the-counter painkillers"
choice6[4]=" your dentist"

question[7]=" When should you first start to clean a child's teeth?"
choice7[1]=" as soon as a baby's very first teeth appear"
choice7[2]=" once a child is about two years old and is completely on solid foods"
choice7[3]=" at about five years old once children are old enough to brush their own teeth"
choice7[4]=" only after their milk teeth have gone and their adult teeth have come through"

question[8]=" Which of these statements is true about whitening your teeth to improve your appearance?"
choice8[1]=" there are never any side-effects to whitening teeth"
choice8[2]=" professional teeth whitening requires a general anaesthetic"
choice8[3]=" once completed, the effect of teeth whitening is permanent"
choice8[4]=" professional whitening can brighten your teeth, but it is best to discuss the procedure with a dentist as it may not be suitable for you"

question[9]=" What is periodontitis?"
choice9[1]=" inflammation of the tissue around the teeth"
choice9[2]=" periodical toothache"
choice9[3]=" repetitive mouth ulcers"
choice9[4]=" a specialist dentist"

question[10]=" How many people in Britain have some form of gum disease?"
choice10[1]=" about one in 50"
choice10[2]=" about one in 20"
choice10[3]=" about one in 10"
choice10[4]=" most people"

question[11]=" What is the truth about flossing?"
choice11[1]=" flossing is bad for your teeth"
choice11[2]=" it is OK to floss, but you should stop immediately if your gums start bleeding"
choice11[3]=" flossing is fine if it makes your mouth feel fresher but it doesn't improve oral health"
choice11[4]=" regular flossing is an important part of your dental health routine and you shouldn't worry if your gums bleed a bit"

question[12]=" Does fluoride in toothpaste make any difference to the health of your teeth?"
choice12[1]=" the fluoridation of toothpaste has hugely improved oral health"
choice12[2]=" no, it makes no difference at all, and fluoride is now being phased out because it isn't safe"
choice12[3]=" it isn't dangerous, but a toothpaste without fluoride is just as effective"
choice12[4]=" nobody really knows because there haven't been many studies in the area"

question[13]=" What is one of the main causes of halitosis (bad breath)?"
choice13[1]=" too much kissing"
choice13[2]=" specific aromatic foods such as garlic and curry"
choice13[3]=" over population of bacteria due to poor oral hygiene"
choice13[4]=" it is unavoidable, everybody gets it"

question[14]=" If you do want to enjoy a sugary treat, when is the most 'tooth-friendly' time to eat it?"
choice14[1]=" first thing in the morning or last thing at night"
choice14[2]=" along with a meal"
choice14[3]=" as a snack on its own"
choice14[4]=" it doesn't make any difference"

solution[1]="b"
solution[2]="c"
solution[3]="b"
solution[4]="c"
solution[5]="d"
solution[6]="a"
solution[7]="a"
solution[8]="d"
solution[9]="a"
solution[10]="d"
solution[11]="d"
solution[12]="a"
solution[13]="c"
solution[14]="b"



