// 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/billyraycyrus/";

// 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 = 336;

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

// 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_63973,00.html",
			"q1":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63974,00.html",
			"q2":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63975,00.html",
			"q3":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63976,00.html",
			"q4":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63977,00.html",
			"q5":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63978,00.html",
			"q6":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63979,00.html",
			"q7":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63980,00.html",
			"q8":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63981,00.html",
			"q9":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63982,00.html",
			"q10":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63983,00.html",
			"finish":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63984,00.html",
			"seeAnswers":"http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63985,00.html",
			// send to friend email link
			"sendToFriend":"mailto:?subject=Take The Billy Ray Cyrus GAC Trivia Challenge&body=I thought you might like to take the GAC Billy Ray Cyrus Challenge! http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63973,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: Billy Ray Cyrus',
			"landingHeader": 'How well do you know Billy Ray Cyrus?',
			"landingText": 'So you call yourself a Billy Ray Cyrus fan do ya?  Do you know all the words to "Achy Breaky Heart"? Test your Billy Ray Cyrus knowledge and see where you rank!'
		},
		"links":{
			// landing page misc footer text
			"noTimeForQuizHREF": 'http://www.gactv.com/gac/ar_az_billy_ray_cyrus',
			"noTimeForQuizText": 'No time for a quiz but want to learn more about Billy Ray Cyrus? Click here!',
			"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": "9",
			// This is the more links phrase: EX: More Links!
			"moreLinksPhrase": 'Explore More Billy Ray Cyrus at GACTV.com',
			"moreLinksTitle1": 'Billy Ray Cyrus &mdash; Fan Focus',
			"moreLinksTitle2": 'Billy Ray Cyrus Artist Section',
			"moreLinksTitle3": 'Billy Ray Cyrus Photo Gallery',
			"moreLinksTitle4": 'Billy Ray Cyrus Biography',
			"moreLinksTitle5": 'Submit Your Billy Ray Cyrus Video Requests to GAC',
			"moreLinksTitle6": 'Pick Up Some Billy Ray Cyrus Wallpapers and Buddy Icons',
			"moreLinksTitle7": 'Play Billy Ray Cyrus\'s Celebrity Scramble Game',
			"moreLinksTitle8": 'Vote for Billy on GAC&rsquo;s Top 20 Country Countdown',
			"moreLinksTitle9": 'Submit Your Billy Ray Video Requests to GAC',
			"moreLinksHREF1": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63903,0.html',
			"moreLinksHREF2": 'http://www.gactv.com/gac/ar_az_billy_ray_cyrus',
			"moreLinksHREF3": 'http://www.gactv.com/gac/ar_az_billy_ray_cyrus/article/0,3131,GAC_27545_4896848_,00.html',
			"moreLinksHREF4": 'http://www.gactv.com/gac/ar_artists_a-z/article/0,,GAC_26071_4883798,00.html',
			"moreLinksHREF5": 'http://online.scrippsnetworks.com/gac/gac_video/request.asp',
			"moreLinksHREF6": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_63903,0.html',
			"moreLinksHREF7": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_59233,00.html',
			"moreLinksHREF8": 'http://www.gactv.com/gac/pac_ctnt/text/0,,GAC_26058_47219,0.html',
			"moreLinksHREF9": 'http://online.scrippsnetworks.com/gac/gac_video/request.asp'

		},
		// progressbar with & height
		"progressbar":{
			"width":"360",
			"height":"18"
		}
	}
});

// Hints 1-10 go here
var aryHintURL = new Array(
	"http://www.gactv.com/gac/nw_headlines/article/0,,GAC_26063_5432940,00.html",
	"http://www.gactv.com/gac/ar_artists_a-z/article/0,,GAC_26071_4883798,00.html",
	"http://www.gactv.com/gac/nw_headlines/article/0,,GAC_26063_4866779,00.html",
	"http://www.gactv.com/gac/nw_headlines/article/0,,GAC_26063_5585148,00.html",
	"http://www.gactv.com/gac/nw_headlines/article/0,3034,GAC_26063_5603057_,00.html",
	"http://www.gactv.com/gac/ar_artists_a-z/article/0,,GAC_26071_4883798,00.html",
	"http://www.gactv.com/gac/nw_headlines/article/0,3034,GAC_26063_5594066_,00.html",
	"http://www.gactv.com/gac/nw_feature/article/0,3038,GAC_26499_5562021_,00.html",
	"http://www.gactv.com/gac/nw_music_beat/article/0,,GAC_26067_5143010,00.html",
	"http://www.gactv.com/gac/nw_music_beat/article/0,,GAC_26067_5143010,00.html"
);

// Beratments in pairs
// Label:
// Tag:
// for A, B & C
var strIQLabelA = "Ouch!";
var strIQLabelATag = "You've got a long way to go before you can proudly say you are a true Billy Ray Cyrus super fan. Don't distress: Check out some of the links below and get up to speed with all things Billy Ray!";
var strIQLabelB = "Not bad&hellip; You're a Billy Ray Cyrus fan for sure.";
var strIQLabelBTag = "You may not be belting out all the words to every Billy Ray Cyrus song you hear, but you&rsquo;re definitely on your way. Don&rsquo;t start dancin&rsquo; just yet&hellip;you might want to take some time and check out the links below to gain some more Cyrus knowledge!";
var strIQLabelC = "Way to go! You're definitely a Billy Ray Cyrus expert.";
var strIQLabelCTag = "Billy Ray would be proud! You have what it takes to claim your spot in the front row of Billy Ray Cyrus' fan club! Quench your thirst for all things Billy Ray Cyrus and check out the links below for more about Billy Ray at GACTV.com.";

// Questions 1-10
var aryQuestions = new Array(
	"Which celebrity competition did Billy Ray participate in earlier this year?",
	"What state is Billy Ray from?",
	"How many years ago did Billy Ray start a band?",
	"What did Billy Ray recently tell <em>Family Circle</em> magazine was his favorite thing to do?",
	"Which hit TV show does Billy Ray star in with his daughter Miley?",
	"What type of music was Billy Ray surrounded by growing up?",
	"Which country music superstar befriended Billy Ray&rsquo;s daughter Miley?",
	"Which patriotic song did Billy Ray co-write and perform?",
	"Which PAX-TV series did Billy Ray star in?",
	"How many children does Billy Ray have?"
);

// Question 1 Answers
var aryQ0Answers = new Array(
	"<em>The Real World</em>",
	"<em>So You Think You Can Dance</em>",
	"<em>American Idol</em>",
	"<em>Dancing With The Stars</em>"
);

// Question 2 Answers
var aryQ1Answers = new Array(
	"Tennesse",
	"Kentucky",
	"Montana",
	"Florida"
);

// Question 3 Answers
var aryQ2Answers = new Array(
	"35 years",
	"10 years",
	"20 years",
	"45 years"
);

// Question 4 Answers
var aryQ3Answers = new Array(
	"Hanging out at home",
	"Going to honky-tonks",
	"Cooking gourmet meals",
	"Interior Decorating"
);

// Question 5 Answers
var aryQ4Answers = new Array(
	"<em>Dora The Explorer</em>",
	"<em>Hannah Montana</em>",
	"<em>Hanna Banana</em>" ,
	"<em>How I Met Your Mother</em>"
);

// Question 6 Answers
var aryQ5Answers = new Array(
	"Country",
	"Rap",
	"Gospel",
	"Blues"
);

// Question 7 Answers
var aryQ6Answers = new Array(
	"Faith Hill",
	"Sara Evans",
	"Carrie Underwood",
	"Gretchen Wilson"
);

// Question 8 Answers
var aryQ7Answers = new Array(
	"'Letters from Home'",
	"'Some Gave All'",
	"'God Bless the USA'",
	"'Bumper on my SUV'"
);

// Question 9 Answers
var aryQ8Answers = new Array(
	"<em>It's a Miracle</em>",
	"<em>Highway to Heaven</em>",
	"<em>Touched by an Angel</em>",
	"<em>Doc</em>"
);

// Question 10 Answers
var aryQ9Answers = new Array(
	"5",
	"12",
	"2",
	"7"
);

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

