var arrAnswers =
	new Array(
		"c",
		"c",
		"d",
		"a",
		"d",
		"d"
		);var arrQuestions =
	new Array(
		"What comes in this box?",
		"How many berries are in Wildberry Fruit Roll-Ups?",
		"What's in this bag of pizza rolls?",
		"What's the VR3D BMX Virtual Reality System?",
		"What comes with this Easy-Bake Lemonade Maker?",
		"What does this product do?"
		);var arrChoices1 =
	new Array(
		"A firing missile launcher only",
		"A firing missile launcher and GI Joe",
		"A non-firing missile launcher",
		"A Barbie Dream House"
		);var arrChoices2 =
	new Array(
		"The same number shown on the box cover.",
		"The amount of fruit a person should eat each day.",
		"None.",
		"5,000 totally outrageously crazy berries"
		);var arrChoices3 =
	new Array(
		"Pizza in a bite-sized roll.",
		"A frozen food that tastes better after you heat it.",
		"Titanium dioxide, an ingredient in paint.",
		"All of the above."
		);var arrChoices4 =
	new Array(
		"A videogame like an old-school handheld game",
		"A totally realistic videogame",
		"A movie of yourself doing BMX bike stunts",
		"A movie of a BMX bike track"
		);var arrChoices5 =
	new Array(
		"Lemonade maker, lemonade mix, ten Dixie cups and cookies",
		"Lemonade maker, lemonade mix, and ten Dixie cups",
		"Lemonade maker, lemonade mix, four Dixie cups, and cookie mix",
		"Lemonade maker, lemonade mix, and four Dixie cups"
		);var arrChoices6 =
	new Array(
		"Heal cuts, bruises and sore muscles",
		"Help plants grow in your garden",
		"Make delicious iced tea",
		"None of the above"
		);var arrWrong = 
	new Array(
		"Sorry!",
		"Sorry.",
		"Sorry.",
		"Sorry!",
		"Sorry.",
		"Sorry!"
		);var arrRight =
	new Array(
		"You're correct!",
		"You're correct!",
		"You're right!",
		"You're right!",
		"Good job!",
		"Way to go!"
		);
 var arrExplanation =
	new Array(
		"The only toy in this box is a non-firing missile launcher. The picture of a missile launching with a GI Joe is on the box so the toy looks more exciting. When you shop, make sure you look for fine print on the box so you know what you're actually buying.",
		"There's not even a single berry in Wildberry Fruit Roll-Ups. This snack is mostly made from sugar and chemical flavoring. The only fruity ingredient we found was some pear concentrate. Would you eat that?",
		"These pizza rolls contain titanium dioxide, an artificial coloring found in paint, candles, paper, and make-up. Just look at this food label. There are many other ingredients that you'd never find growing in a garden or on a farm. Would you eat that?",
		"The VR3D BMX Virtual Reality System is a videogame like the old-school handheld games.  The pictures and words on this box are exciting. They promise 'True-to-life, Full Color 3D Images!' But, the actual picture of the game is hidden under the front cover.  It could be fun, but does it look like riding a BMX bike race to you?",
		"This box had a lemonade maker, lemonade mix and four Dixie cups. Would the picture on the box look as good if it the cup dispenser was almost empty and there were no treats? Companies can make their products look more interesting by adding extra items that you have to purchase separately.",
		"This product smells great, but there is no proof that it can help to heal anything.  Advertisers like to use certain words that may make you think you are buying more than just scented lotion, when in fact that's all that this product is."
		);var iQuizQuestion;var sAnswerGiven = " ";
if(location.search.indexOf("quizquestion=1")>-1)
{
	iQuizQuestion = 1;
	arrChoices = arrChoices1;
}else if(location.search.indexOf("quizquestion=2")>-1)
{
	iQuizQuestion = 2;
	arrChoices = arrChoices2;
}else if(location.search.indexOf("quizquestion=3")>-1)
{
	iQuizQuestion = 3;
	arrChoices = arrChoices3;
}else if(location.search.indexOf("quizquestion=4")>-1)
{
	iQuizQuestion = 4;
	arrChoices = arrChoices4;
}else if(location.search.indexOf("quizquestion=5")>-1)
{
	iQuizQuestion = 5;
	arrChoices = arrChoices5;
}else if(location.search.indexOf("quizquestion=6")>-1)
{
	iQuizQuestion = 6;
	arrChoices = arrChoices6;
}else{
	iQuizQuestion = 7;
	arrChoices = arrChoices7;
}
if(location.search.indexOf("quiz=b")>-1) sAnswerGiven = arrChoices[1];else if(location.search.indexOf("quiz=c")>-1) sAnswerGiven = arrChoices[2];else if(location.search.indexOf("quiz=d")>-1) sAnswerGiven = arrChoices[3];else if(location.search.indexOf("quiz=e")>-1) sAnswerGiven = arrChoices[4];else sAnswerGiven = arrChoices[0];if(location.search.indexOf("quiz=" + arrAnswers[iQuizQuestion-1])>-1)
{
	document.write(	" <span class=\"h1\">Q.</span> " + arrQuestions[iQuizQuestion-1] + "<br><br> \n"
					+ " <span class=\"h1\">Your Answer:</span> " + sAnswerGiven + "<br><br> \n"
					+ " <span class=\"h1\">" + arrRight[iQuizQuestion-1] + "</span> \n"
					+ arrExplanation[iQuizQuestion-1]
					);
}else{	document.write(	 " <span class=\"h1\">Q.</span> " + arrQuestions[iQuizQuestion-1] + "<br><br> \n"
					+ " <span class=\"h1\">Your Answer:</span> " + sAnswerGiven + "<br><br> \n"
					+ " <span class=\"h1\">" + arrWrong[iQuizQuestion-1] + "</span> \n"
					+ arrExplanation[iQuizQuestion-1]
					);

}


