questions = new Array();
questionnum = -1;
possibleanswers = new Array();
answers = new Array();

/* BELOW IS WHERE YOU MODIFY THE QUESTIONS AND ANSWERS */

/* Here is where you modify the questions and answers.
 * Use Question("put question here") to add a new question.
 * Immediately following that, add the choices that the user will have
 * for his or her guess. Use WrongChoice("put choice here") to add a choice
 * that will be marked incorrect if selected, and
 * CorrectChoice("put choice here") to add a choice that is correct.
 *
 * If you know the JavaScript language, you can use JavaScript programming
 * commands within the brackets, such as:
 * CorrectChoice(100*100)
 * I used commands like these in some of my example answers, but don't let yourself
 * get confused by them.
 */
Question("<u>Our song - Taylor Swift</u><br>I've heard every album, listened to the radio<br>Waited for something to come along");
	WrongChoice("That was as good as our love…");
	WrongChoice("That could bring us closer together…");
	CorrectChoice("That was as good as our song...");
	WrongChoice("That was our song…");

Question("<u>My Girl - Temptation</u><br>I don't need no money,<br>Fortune or fame.<br>I got all the riches baby,<br>One man can claim.<br>Well, I guess you'd say,");
	WrongChoice("What makes me sing?");
	CorrectChoice("What can make me feel this way?");
	WrongChoice("How can I feel this way?");
	WrongChoice("What makes me happy this way?");
	 
Question("<u>ABC - Jackson 5</u><br>A B C, It's easy as<br>1 2 3, as simple as<br>do re mi, A B C, 1 2 3");
	CorrectChoice("Baby you and me girl");
	WrongChoice("Baby me and you girl");
	WrongChoice("Baby you make me sing girl");
	WrongChoice("you and me");
 
Question("<u>Unforgettable - Nat King Cole</u><br>Unforgettable, that's what you are<br>Unforgettable though near or far<br><br>How the thought of you does things to me<br>Never before has someone been more");
	WrongChoice("Like your love that is mine");
	WrongChoice("Like a song you wrote for me");
	WrongChoice("Forever unforgettable ");
	CorrectChoice("Like a song of love that clings to me");
 
Question("<u>The Way You Look Tonight - Frank Sinatra</u><br>With each word your tenderness grows,<br>Tearing my fear apart...<br>And that laugh that wrinkles your nose, ");
	CorrectChoice("It touches my foolish heart.");
	WrongChoice("It looks so cute on your face.");
	WrongChoice("It melts my heart inside.");
	WrongChoice("Makes you look beautiful tonight.");
 
Question("<u>Jackson - Johnny Cash and June Carter-Cash</u><br>Go play your hand you big-talkin' man, make a big fool of yourself,<br>You're goin' to Jackson; go comb your hair!<br>Honey, I'm gonna snowball Jackson.<br>See if I care."); 	 
	 WrongChoice("Go on to Jackson, it's good for your health");
     WrongChoice("Going to Jackson will wreck your health");
     CorrectChoice("Well, go on down to Jackson; go ahead and wreck your health.");
     WrongChoice("We’re going on to Jackson, I’m gunna mess around");
 
Question("<u>You’re My Better Half - Kieth Urban</u><br>They say behind every man is a good woman<br>But I think that’s a lie<br>Cause when it comes to you I’d rather have you by my side<br>You don’t know how much I count on you to help me"); 
     CorrectChoice("When I’m giving everything I got and I just feel like giving in");
     WrongChoice("When I’m feeling so tired and I need a break");
     WrongChoice("After a long day and I feel like giving up");
	 WrongChoice("When I’m giving everything and nothing is right");
 
Question("<u>On Bended Knee - Boyz II Men</u><br>Can you tell me how a perfect love goes wrong<br>Can somebody tell me how you get things back the way they it used to be<br>Oh, God give me the reason I’m down on bended knees"); 
     WrongChoice("I’m down on bended knees");
     WrongChoice("I’ll never walk again until things get back the way it used to be");
	 WrongChoice("Baby come back to me");
     CorrectChoice("I’ll never walk again until you come back to me I’m down on bended knees");
     
Question("<u>Crash Into Me - Dave Matthews Band</u><br>You've got your ball<br>You've got your chain<br>Tied to me tight tie me up again<br>Who's got their claws<br>in you my friend<br>Into your heart I'll beat again<br>Sweet like candy to my soul<br>Sweet you rock<br>and sweet you roll");
	CorrectChoice("Lost for you I'm so lost for you");
	WrongChoice("I’m lost in love for you");
	WrongChoice("My heart is lost for you");
	WrongChoice("You Crash into me"); 
 
Question("<u>Jesus Take the Wheel - Carrie Underwood</u><br>Jesus, take the wheel<br>Take it from my hands<br>Cause I can’t do this on my own<br>I’m letting go<br>So give me one more chance"); 
	WrongChoice("And save me from this life");
	WrongChoice("And help me save myself");
	CorrectChoice("And save me from this road I’m on");
	WrongChoice("Save me from this wheel");



/* If you would like, you can have the script give you helpful information if
 * there was an error in your input above. Should be false once you are done,
 * but handy while your are working on it. */
 debug = true;

/* In order, these are the characters that will be used as labels for each possible
 * answer for a question, each seperated by a |. These may include HTML tags to
 * apply different formatting for choice labels if desired.
 * The default configuration allows for 26 different possible answers for each question.
 */
labels = "a.|b.|c.|d.|e.|f.|g.|h.|i.|j.|k.|l.|m.|n.|o.|p.|q.|r.|s.|t.|u.|v.|w.|x.|y.|z.";


/* BELOW IS FOR SETTING UP A TIME LIMIT (OPTIONAL) -- COMING SOON */

/* Your quiz can have a time limit if you would like. Set this value in seconds to how
 * long a user can stay at the quiz before they are booted to a specified page.
 * If you don't want a time limit, set this it to "".
 * timelimit = "60"; */

 /* If you want a time limit, specify the page to which the person should be sent after
  * their time is up.
  * timeuplocation = "http://www.yahoo.com"; */

/* BELOW IS USED FOR THE RESULTS PAGE. KEEP GOING, YOU'RE ALMOST DONE! */

/* Below, put the excellent and failing grades (percent).
 */
excellentGrade = 80;
failingGrade = 50;

/* Put the email address where you want the score to be sent, or a CGI script. Make sure
 * to use mailto: as a prefix if you aren't using a CGI script.
 * (Optional, set to "" if not wanted)
 */
email = "";

/* You have a choice to send the score automatically to the above address, or the
user could have a choice to send it. */
autosend = false;

/* Do you want the answers to the questions that were answered wrong to be shown on
 * the results page?
 */
showanswers = false;



/* NO MODIFICATIONS BELOW HERE */


debugm = "Debugging message:\n";

if(debug)
  {
  if(answers.length < questions.length)
    {
    alert(debugm+"Not every question has a correct answer specified!");
    }
  if(answers.length > questions.length)
    {
	alert(debugm+"You gave some questions more than one right answer!");
	}
  if(possibleanswers.length < questions.length)
    {
	alert(debugm+"You didn't specify any choices for some questions!");
	}
  }

function Question(question){
questionnum++;
questions[questionnum] = question;
possibleanswers[questionnum] = new Array();
}

function CorrectChoice(choice){
WrongChoice(choice);
answers[questionnum] = choice;
}

function WrongChoice(choice){
var choicenumber = possibleanswers[questionnum].length;
possibleanswers[questionnum][choicenumber] = choice;
}

function Asplit(str,seperator){
var arraya = new Array();
var first = 0;

if(str.charAt(str.length) != seperator)
  {
  str += seperator;
  }

for(var i=0;i<str.length;i++)
  {
  if(str.charAt(i) == seperator)
    {
    second = i;
 	arraya[arraya.length] = str.substring(first,second);
	first = second;
	}
  }

for(var i=0;i<arraya.length;i++)
  {
  if(arraya[i].charAt(0) == seperator)
    {
    arraya[i] = arraya[i].substring(1,arraya[i].length);
	}
  }

return arraya;
}

/*

if(timelimit != "")
  {
  timenote = "<B>Note: You have a time limit of " + timelimit + " seconds, starting when this page is loaded.</B>";
  }

function starttime(){
if(timelimit != "")
  setTimeout("timeup()",timelimit * 1000);
}

function timeup(){
alert("Sorry, time's up!");
document.theform.button.onclick = void();
location.href = timeuplocation;
}*/
