// note: be sure to check any string in this doc for single or double quotes
// if the string is wrapped in single quotes then you'll need to escape any
// single quotes within that string with a backslash \ (like wise for double quotes)
// EX: 'It's not working' should look like 'It\'s not working'
// and "The "brown" dog" should look like "The \"brown\" dog"

// Put the webserver path here
var webserverPath = "http://images.gactv.com/games/trivia/07/opry/";

// IGNORE THIS FOR NOW //
//var mAdsRemotePath = "http://adsremote.scripps.com/js.ng/site=FINE&topic=FINEIQ&adtype=UNSIZED_AD&PagePos=5";
//setAdsRemote("http://adsremote.scripps.com/js.ng/site=FINE&topic=FINEIQ&adtype=UNSIZED_AD&PagePos=5");
// END IGNORE //

// Show hints?
var showHintsPerPage = true;

// Determine if we want to use a minimum height for either of the folling pages.
var usingLandingPageMinHeight = true;
var usingQuestionPageMinHeight = true;
var usingFinishPageMinHeight = false;

// Minimum page height in pixels
// pages will get set to this if either of the following::
// usingLandingPageMinHeight
// usingQuestionPageMinHeight
// usingFinishPageMinHeight
// are set to TRUE
var minPageContentHeight = 375;

// This is width for the center content of each page
// default is 350 for use with pictures on the right side
var divCenterContentTextContainerWidth = 335;

// WIDTH & HEIGHT FOR BUTTONS ON FINISH AND RESULTS PAGE
// landing page button
var btnStartWidth = 154;
var btnStartHeight = 41;
// finsh page button
var btnSeeAnswersWidth = 140;
var btnSeeAnswersHeight = 41;
// see answers page button
var btnShowScoreWidth = 140;
var btnShowScoreHeight = 41;
// see answers & finish page buttons
var btnNotifyMeWidth = 200;
var btnNotifyMeHeight = 41;
var btnSendToFriendWidth = 139;
var btnSendToFriendHeight = 41;
var btnLandingLinkWidth = 108;
var btnLandingLinkHeight = 41;

// paths for URLs will need to be absolute
insertData({
	"data":{
		"url":{
			// note:: there should be a coma after each string EXCEPT the last inside each {} bracket
			"landing":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64903,00.html",
			"q1":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q2":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q3":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q4":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q5":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q6":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q7":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q8":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q9":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"q10":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64931,00.html",
			"finish":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64932,00.html",
			"seeAnswers":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64933,00.html",
			// send to friend email link
			"sendToFriend":"mailto:?subject=GAC Trivia: Opry Trivia Challenge&body=I thought you might like to take the GAC Opry Trivia Challenge! http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64903,00.html",
			// newsletter link goes inside the quotes in hintwindow('')
			"newsLetter":"hintwindow('http://www.gactv.com/gac/ab_newsletter/')"
		},
		"jpgs":{
			// These 4 lines should stay the same asuming that
			// the images have been placed on the webserver to
			// match this location
			// EX: http://images.gactv.com/games/trivia/07/keithurban/ is the webserver path
			// and the images live at http://images.gactv.com/games/trivia/07/keithurban/images
			"nextQuestion": webserverPath + "images/nextQuestion.jpg",
			"nextQuestionOver": webserverPath + "images/nextQuestion_over.jpg",
			"lastQuestion": webserverPath + "images/showScore.jpg",
			"lastQuestionOver": webserverPath + "images/showScore_over.jpg",
			"imgNeedHint": webserverPath + "images/needHint.jpg"
		},
		"includes":{
			// These 2 lines should stay the same asuming that
			// the js have been placed on the webserver to
			// match this location
			// EX: http://images.gactv.com/games/trivia/07/keithurban/ is the webserver path
			// and the images live at http://images.gactv.com/games/trivia/07/keithurban/js
			"funcs": webserverPath + "js/funcs.js",
			"css": webserverPath + 'iq.css'
		},
		"strings":{
			// Strings for the landing page Title, Header & Text
			// Title should be hidden
			"landingTitle": 'GAC\'s Trivia Challenge: The Grand Ole Opry',
			"landingHeader": 'How well do you know your Grand Ole Opry trivia?',
			"landingText": 'Think you know a thing or two about the greatest institution in country music? Some of country\'s biggest stars have shared their most memorable moments on the Grand Ole Opry stage. Take our trivia challenge and see how much you know about the incredible lineup of stars that proudly call themselves members of the Grand Ole Opry!'
		},
		"links":{
			// landing page misc footer text
			"noTimeForQuizHREF": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_64887,0.html',
			"noTimeForQuizText": 'No time for a quiz but want to learn more about The Opry? Visit GACTV.com\'s official Opry Live page!',
			"landingFooterLink2HREF": 'http://www.gactv.com/gac/ar_artists_a-z/article/0,,GAC_26071_5654394,00.html',
			"landingFooterLink2Text": 'Check out more GAC Trivia Challenge games!'
		},
		"moreLinks":{
			// make sure numMoreLinks matches actual amount of links
			// default is 5, you can add or subtract moreLinksTitle# & moreLinksHREF#
			// but you'll need to match numMoreLinks to accomodate
			"numMoreLinks": "3",
			// This is the more links phrase: EX: More Links!
			"moreLinksPhrase": 'Explore The Opry at GACTV.com',
			"moreLinksTitle1": 'Visit The Opry Section',
			"moreLinksTitle2": 'Visit The Opry Show Page',
			"moreLinksTitle3": 'Visit Opry.com',
			"moreLinksHREF1": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_52945,00.html',
			"moreLinksHREF2": 'http://www.gactv.com/gac/shows_goo',
			"moreLinksHREF3": 'http://www.opry.com'
			
		},
		// progressbar with & height
		"progressbar":{
			"width":"360",
			"height":"18"
		}
	}
});

// Hints 1-10 go here
var aryHintURL = new Array(
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=36",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=115",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=1423",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=69",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=76",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=79",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=85",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=88",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=93",
	"http://www.opry.com/MeetTheOpry/Members.aspx?id=90"
);

// Beratments in pairs
// Label:
// Tag:
// for A, B & C
var strIQLabelA = "You\'re not going to be asked to join the Opry anytime soon&hellip;";
var strIQLabelATag = "You\'ve got a long way to go before you can stand in the \"circle.\" Don\'t distress: Check out some of the links below, brush up on the Opry and try again!";
var strIQLabelB = "Not bad&hellip; you could be in the running for a spot on the Opry.";
var strIQLabelBTag = "You may not be ready to take the stage just yet, but you\'re definitely on your way. Check out the links below to gain some more knowledge about the Grand Ole Opry!";
var strIQLabelC = "You should be an unofficial member of the Grand Ole Opry with a score like this!";
var strIQLabelCTag = "The other Opry members would be proud! You have what it takes to proudly stand in the \"circle\" on the Opry Stage. Don\'t stop now&hellip;check out the links below for more about The Grand Ole Opry.  ";

// Questions 1-10
var aryQuestions = new Array(
	"Trace Adkins was invited to become a member of the Grand Ole Opry in 2003 by which legendary Opry member? ",
	"Almost every time Trisha Yearwood performs on the Opry stage, she does as Porter Wagoner taught her – \"sing the one that brung ya.\" What tune first landed her on top of the charts?",
	"When Dierks Bentley was invited to become a member of the Grand Ole Opry, the Opry took the invitation to him on the road. Where did he receive the invitation?",
	"As one of country\'s most accomplished singers, songwriters, and musicians, Vince Gill is truly regarded as a triple threat. In what state was this multi-talented superstar raised?",
	"Before hitting it big in the music business, how did Alan Jackson earn his bread and butter?",
	"How old was Alison Krauss when she was inducted as a member of the Grand Ole Opry?",
	"In 1995, on the night Martina McBride became a member of the Opry, it was special for more reasons than one. Do you know why?",
	"In what campy science-fiction movie did Reba McEntire play a gun-toting survivalist?",
	"When Brad Paisley was inducted as a member of the Grand Ole Opry in 2001, a letter was read to the crowd that said in part, \"I am counting on you to carry on the tradition.\" Who wrote that letter?",
	"On what classic song did Ronnie Milsap contribute instrumentals? "
);

// Question 1 Answers
var aryQ0Answers = new Array(
	"Porter Wagoner",
	"Little Jimmy Dickens",
	"Bill Anderson",
	"Dolly Parton"
);

// Question 2 Answers
var aryQ1Answers = new Array(
	"\"That\'s What I Like About You\"",
	"\"Woman Before Me\"",
	"\"Like We Never Had A Broken Heart\"",
	"\"She\'s In Love With The Boy\""
);

// Question 3 Answers
var aryQ2Answers = new Array(
	"House of Blues in Los Angeles",
	"Madison Square Garden in New York",
	"The Chicago\'s Theatre in Chicago",
	"Billy Bob\'s in Fort Worth"
);

// Question 4 Answers
var aryQ3Answers = new Array(
	"Arkansas",
	"Kentucky",
	"Oklahoma",
	"Kansas"
);

// Question 5 Answers
var aryQ4Answers = new Array(
	"Driving a forklift",
	"Working at a marina",
	"Fixing cars",
	"All of the above"
);

// Question 6 Answers
var aryQ5Answers = new Array(
	"12",
	"15",
	"16",
	"21"
);

// Question 7 Answers
var aryQ6Answers = new Array(
	"President George H.W. Bush and his wife Barbara were in the audience",
	"Reba McEntire became a member that same evening",
	"It was the Opry\'s 70th Anniversary",
	"It was Independence Day"
);

// Question 8 Answers
var aryQ7Answers = new Array(
	"Tremors",
	"Tumors",
	"Romors",
	"Runners"
);

// Question 9 Answers
var aryQ8Answers = new Array(
	"Jimmy Dickens",
	"George Jones",
	"Buck Owens",
	"Johnny Cash"
);

// Question 10 Answers
var aryQ9Answers = new Array(
	"\"Kentucky Rain\"",
	"\"Blue Kentucky Girl\"",
	"\"Kentucky\"",
	"\"Blame It On The Rain\""
);

// Correct Answers 1-10
// note: should be all in caps A, B, C or D
var aryCorrectAnswers = new Array(
	"B",
	"D",
	"A",
	"C",
	"D",
	"D",
	"C",
	"A",
	"B",
	"A"
	
);

