/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: James Crooke :: http://www.cj-design.com */

var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

// To add more questions, just follow the format below.

questions[0] = "1) Do people seem to mumble or speak in a softer voice than they used to?";
choices[0] = new Array();
choices[0][0] = "Yes";
choices[0][1] = "No<br>";
answers[0] = choices[0][0];

questions[1] = "2) Do you feel tired or irritable after a long conversation?";
choices[1] = new Array();
choices[1][0] = "Yes";
choices[1][1] = "No<br>";
answers[1] = choices[1][0];

questions[2] = "3) Do you sometimes miss key words in a sentence, or frequently need to ask people to repeat themselves?";
choices[2] = new Array();
choices[2][0] = "Yes";
choices[2][1] = "No<br>";
answers[2] = choices[2][0];

questions[3] = "4) When you are in a group or in a crowded restaurant, is it difficult for you to follow the conversation?";
choices[3] = new Array();
choices[3][0] = "Yes";
choices[3][1] = "No<br>";
answers[3] = choices[3][0];

questions[4] = "5) When you are together with other people, does background noise bother you?";
choices[4] = new Array();
choices[4][0] = "Yes";
choices[4][1] = "No<br>";
answers[4] = choices[4][0];

questions[5] = "6) Do people tell you your T.V. or radio is too loud?";
choices[5] = new Array();
choices[5][0] = "Yes";
choices[5][1] = "No<br>";
answers[5] = choices[5][0];

questions[6] = "7) Do you find it difficult to hear the doorbell or the telephone ring?";
choices[6] = new Array();
choices[6][0] = "Yes";
choices[6][1] = "No<br>";
answers[6] = choices[6][0];

questions[7] = "8) Do you have difficulty hearing well on the telephone?";
choices[7] = new Array();
choices[7][0] = "Yes";
choices[7][1] = "No<br>";
answers[7] = choices[7][0];

questions[8] = "9) Do you find it difficult to pinpoint where an object is (e.g. an alarm clock) from the noise it makes?";
choices[8] = new Array();
choices[8][0] = "Yes";
choices[8][1] = "No<br>";
answers[8] = choices[8][0];

questions[9] = "10) Has someone close to you mentioned that you might have a problem with your hearing?";
choices[9] = new Array();
choices[9][0] = "Yes";
choices[9][1] = "No<br>";
answers[9] = choices[9][0];

// response for getting 100%
response[0] = "You answered Yes to all of the questions and you should make an appointment for our FREE comprehensive hearing evaluation right away and let one of our doctors of audiology review the results with you and discuss how we can help improve your quality of life.  Click the Make An Appointment button or call us at 435-753-4133 to make your appointment today.";
// response for getting 90% or more
response[1] = "You answered Yes to almost all of the questions and you should make an appointment for our FREE comprehensive hearing evaluation soon and let one of our doctors of audiology review the results with you and discuss how we can help improve your quality of life.  Click the Make An Appointment button or call us at 435-753-4133 to make your appointment right away.";
// response for getting 70% or more
response[2] = "You answered Yes to many of the questions and could definately benefit with a FREE comprehensive hearing evaluation.  Click the Make An Appointment button or call us at 435-753-4133 to make an appointment at your earliest convenience.";
// response for getting over 50%
response[3] = "You answered Yes to about half of the questions, you may have some hearing loss and we suggest you take advantage of our FREE hearing screenings and let one of our doctors of audiology discuss your hearing health care needs with you.  Click the Make An Appointment button or call us at 435-753-4133 to make an appointment at your earliest convenience.";
// response for getting 40% or more
response[4] = "You answered Yes to just under half of the questions, you may have some hearing loss and we suggest you take advantage of our FREE hearing screenings and let one of our doctors of audiology discuss your hearing health care needs with you.  Click the Make An Appointment button or call us at 435-753-4133 to make an appointment at your earliest convenience.";
// response for getting 20% or more
response[5] = "You only answered Yes to a few questions, and may or may not have any hearing loss or damage, but we invite you to take advantage of our FREE hearing screening and let one of our doctors of audiology discuss your hearing health care needs with you.  Click the Make An Appointment button or call us at 435-753-4133 to make an appointment at your earliest convenience.";
// response for getting 10% or more
response[6] = "Congratulation, you don't seem to be suffereing from many of the symptoms of hearing loss/damage.  You may not need our help yet, but perhaps you know someone who could benefit from our FREE hearing test.";
// response for getting 9% or less
response[7] = "Congratulations, you don't seem to be suffering from any of the syptoms of hearing loss/damage.  You may not need our help yet, but perhaps you know someone who could benefit from our FREE hearing test.";
