/* 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) As a kid, Dave ran what type of imaginary store?";
choices[0] = new Array();
choices[0][0] = "A toy store called David's Games";
choices[0][1] = "A restaurant called David's Food";
choices[0][2] = "A hardware store called David's Fix-It";
answers[0] = choices[0][1];

questions[1] = "2) Which of the following is a familiar cheer at the University of Virginia, where Dave and April both attended college?";
choices[1] = new Array();
choices[1][0] = "Go Cavs Go!";
choices[1][1] = "Wahoo-wah!";
choices[1][2] = "Hey All You Cavs Fans!";
answers[1] = choices[1][1];

questions[2] = "3) What were the school colors at Robinson Secondary, where both Dave and April attended high school?";
choices[2] = new Array();
choices[2][0] = "Blue & Orange";
choices[2][1] = "Purple & Gold";
choices[2][2] = "Blue & Gold";
answers[2] = choices[2][2];

questions[3] = "4) What are the names of the two cartoon characters that represented Dave and April in the cartoon Second Nature?";
choices[3] = new Array();
choices[3][0] = "Curt & Amanda";
choices[3][1] = "Calvin & Alison";
choices[3][2] = "Cameron & Ashley";
answers[3] = choices[3][2];

questions[4] = "5) Which Maui beach was where Dave proposed to April?";
choices[4] = new Array();
choices[4][0] = "Napili Bay";
choices[4][1] = "Makena Big Beach";
choices[4][2] = "Kama'ole II";
answers[4] = choices[4][1];

questions[5] = "6) What charity organization were Dave and April both a part of at UVA?";
choices[5] = new Array();
choices[5][0] = "Dance Marathon";
choices[5][1] = "Madison House";
choices[5][2] = "Jefferson's Little Helpers";
answers[5] = choices[5][0];

questions[6] = "7) What is April's favorite movie?";
choices[6] = new Array();
choices[6][0] = "Bring it On";
choices[6][1] = "Billy Madison";
choices[6][2] = "The Cutting Edge";
answers[6] = choices[6][2];

questions[7] = "8) What is Dave's all-time favorite video game?";
choices[7] = new Array();
choices[7][0] = "Sonic the Hedgehog 2";
choices[7][1] = "The Legend of Zelda: A Link to the Past";
choices[7][2] = "Bioshock";
answers[7] = choices[7][1];

questions[8] = "9) Which of these cities has Dave never lived in?";
choices[8] = new Array();
choices[8][0] = "Baltimore, Maryland";
choices[8][1] = "Atlanta, Georgia";
choices[8][2] = "Boston, Massachusetts";
answers[8] = choices[8][2];

questions[9] = "10) Which of these cities has April never lived in?";
choices[9] = new Array();
choices[9][0] = "Philadelphia, Pennsylvania";
choices[9][1] = "Brookline, Massachusetts";
choices[9][2] = "New York, New York";
answers[9] = choices[9][0];

questions[10] = "11) What San Francisco neighborhood do April and Dave currently live in?";
choices[10] = new Array();
choices[10][0] = "Hayes Valley";
choices[10][1] = "Nob Hill";
choices[10][2] = "SoMa";
answers[10] = choices[10][0];

questions[11] = "12) What sport did April NOT do growing up?";
choices[11] = new Array();
choices[11][0] = "Karate";
choices[11][1] = "Ice Skating";
choices[11][2] = "Soccer";
answers[11] = choices[11][2];

questions[12] = "13) What TV show did Dave and April once drive down to and back in the same day to see recorded live in LA?";
choices[12] = new Array();
choices[12][0] = "American Idol";
choices[12][1] = "So You Think You Can Dance";
choices[12][2] = "America's Got Talent";
answers[12] = choices[12][1];

questions[13] = "14) Where was Dave born?";
choices[13] = new Array();
choices[13][0] = "Georgetown, Washington D.C.";
choices[13][1] = "Omaha, Nebraska";
choices[13][2] = "Linden, Virginia";
answers[13] = choices[13][1];

questions[14] = "15) What song can April play by memory on piano?";
choices[14] = new Array();
choices[14][0] = "Solfeggietto by Bach";
choices[14][1] = "Revolutionary Etude by Chopin";
choices[14][2] = "Annees de Pelerinage by Liszt";
answers[14] = choices[14][0];

questions[15] = "16) Which of these is NOT a song Dave has played on a YouTube video?";
choices[15] = new Array();
choices[15][0] = "Hey Jude by The Beatles";
choices[15][1] = "Yeah by Usher";
choices[15][2] = "Straight Up by Paula Abdul";
answers[15] = choices[15][0];

questions[16] = "17) Where did Dave and April first meet?";
choices[16] = new Array();
choices[16][0] = "In the French Honor Society";
choices[16][1] = "In an 11th grade History & English class";
choices[16][2] = "At the driving range at Burke Lake Park";
answers[16] = choices[16][1];

questions[17] = "18) What do Dave and April consider their first official date?";
choices[17] = new Array();
choices[17][0] = "A birthday dinner for a mutual friend at the Melting Pot in Reston, Virginia";
choices[17][1] = "An engagement party in Long Island, New York";
choices[17][2] = "An indoor bocce game at Union Hall in Brooklyn, New York";
answers[17] = choices[17][1];

questions[18] = "19) What is one of the few video games where April is a consistently better player than Dave?";
choices[18] = new Array();
choices[18][0] = "Wii Sports Resort";
choices[18][1] = "Ms. Pac Man";
choices[18][2] = "Dr. Mario";
answers[18] = choices[18][2];

questions[19] = "20) What funny thing happened to Dave when he bought April's engagement ring?";
choices[19] = new Array();
choices[19][0] = "The jeweler loudly sang an italian love song while setting the stone";
choices[19][1] = "April called on his phone 2 minutes before he completed the purchase";
choices[19][2] = "The jeweler gave him a celebratory shot of whiskey";
answers[19] = choices[19][2];


// response for getting 100%
response[0] = "Perfect Score! Now you have plenty of interesting facts to talk about during the cocktail hour. Thanks for playing!";
// response for getting 90% or more
response[1] = "Almost perfect! Thanks for playing!"
// response for getting 70% or more
response[2] = "Wow, you did pretty well. Thanks for playing!";
// response for getting over 50%
response[3] = "That's a pretty good score. Thanks for playing!";
// response for getting 40% or more
response[4] = "Not bad at all. Thanks for playing!";
// response for getting 20% or more
response[5] = "Not bad. Thanks for playing!";
// response for getting 10% or more
response[6] = "Wow, that was pretty bad. Are you sure you even know Dave and April? Anyway, thanks for playing!";
// response for getting 9% or less
response[7] = "Wow, that was pretty bad. Are you sure you even know Dave and April? Anyway, thanks for playing!";

