/* STOP! DO NOT MODIFY THE CODE. DO NOT REMOVE COMMAS. */
/* YOU MUST ESCAPE SPECIAL CHARACTERS WITH A BACKSLASH BEFORE THE SPECIAL CHARACTER, INCLUDING QUOTES WITHIN THE TEXT. */

var webServerPath = "http://web.fineliving.com/fine/packages/antiaging_IQ/";

var showHintsPerPage = true;

var usingLandingPageMinHeight = true;
var usingQuestionPageMinHeight = false;
var usingFinishPageMinHeight = false;

var minPageContentHeight = 336;

var divCenterContentTextContainerWidth = 400;
// WIDTH & HEIGHT FOR BUTTONS
// landing page button
var btnStartWidth = 130;
var btnStartHeight = 29;
// finsh page button
var btnSeeAnswersWidth = 143;
var btnSeeAnswersHeight = 29;
// see answers page button
var btnShowScoreWidth = 131;
var btnShowScoreHeight = 29;
// see answers & finish page buttons
var btnNotifyMeWidth = 194;
var btnNotifyMeHeight = 29;
var btnSendToFriendWidth = 141;
var btnSendToFriendHeight = 29;
var btnLandingLinkWidth = 94;
var btnLandingLinkHeight = 29;

// 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":"index.htm",
//			"q1":"q1.htm",
//			"q2":"q2.htm",
//			"q3":"q3.htm",
//			"q4":"q4.htm",
//			"q5":"q5.htm",
//			"q6":"q6.htm",
//			"q7":"q7.htm",
//			"q8":"q8.htm",
//			"q9":"q9.htm",
//			"q10":"q10.htm",
//			"finish":"finish.htm",
//			"seeAnswers":"answers.htm",
			"landing":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63484,00.html",
			"q1":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63485,00.html",
			"q2":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63486,00.html",
			"q3":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63487,00.html",
			"q4":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63488,00.html",
			"q5":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63489,00.html",
			"q6":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63490,00.html",
			"q7":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63491,00.html",
			"q8":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63492,00.html",
			"q9":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63493,00.html",
			"q10":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63494,00.html",
			"finish":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63495,00.html",
			"seeAnswers":"http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63496,00.html",
			"sendToFriend":"mailto:?subject=Fine Living: Anti Aging IQ Test&body=I thought you might like to take the Fine Living: Anti Aging IQ Test and see if you're as young as you feel... http://www.fineliving.com/fine/pac_ctnt_988/text/0,,FINE_26036_63484,00.html",
			"newsLetter":"hintwindow('http://www.fineliving.com/fine/newsletter/')"
		},
		"jpgs":{
			"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":{
			"funcs": webServerPath + "js/funcs.js",
			"css": webServerPath + 'iq.css'
		},
		"strings":{
			"landingTitle": 'ANTI-AGING: Fine Living IQ',
			"landingHeader": 'Have you found the Fountain of Youth?',
			"landingText": 'Live long and prosper!  And look good while aging!  Okay, this isn\'t the Fountain of Youth, but with the tips we\'ve uncovered, you\'ll learn which super food can help build your short-term memory and what cutting calories can do to increase your life span!  Wooo-hooo!'
		},
		"links":{
			"noTimeForQuizHREF": 'http://www.fineliving.com/fine/rejuvenation/text/0,,FINE_22196_63779,00.html',
			"noTimeForQuizText": 'No time for a quiz? Read up on anti-aging topics.',
			"landingFooterLink2HREF": 'http://www.fineliving.com/fine/rejuvenation/article/0,1663,FINE_1404_5361880,00.html',
			"landingFooterLink2Text": 'Young Looking Hands'
		},
		"moreLinks":{
			"numMoreLinks": "6", // make sure numMoreLinks matches actual amount of links
			"moreLinksPhrase": 'More Helpful Links:',
			"moreLinksTitle1": 'Living Longer',
			"moreLinksTitle2": 'Give Yourself a Hand',
			"moreLinksTitle3": 'Boost Your Beauty with Honey',
			"moreLinksTitle4": 'New Beauty Products and Procedures',
			"moreLinksTitle5": 'The Importance of Sunscreen',
			"moreLinksTitle6": 'Take More IQ Quizzes',
			"moreLinksHREF1": 'http://www.fineliving.com/fine/survival_guide/episode/0,1663,FINE_15099_27120,00.html',
			"moreLinksHREF2": 'http://www.fineliving.com/fine/rejuvenation/article/0,1663,FINE_1404_5361880,00.html',
			"moreLinksHREF3": 'http://blogs.fineliving.com/fine/fineline/archive/2007/05/boost_your_beau.html',
			"moreLinksHREF4": 'http://www.fineliving.com/fine/rejuvenation/article/0,1663,FINE_1404_5360175,00.html',
			"moreLinksHREF5": 'http://www.fineliving.com/fine/essentials/article/0,1663,FINE_4459_2008638,00.html',
			"moreLinksHREF6": 'http://www.fineliving.com/fine/entertaining/article/0,2498,FINE_22197_5417611,00.html'
		},
		"progressbar":{
			"width":"240",
			"height":"12"
		}
	}
});

// BEGIN updated 06-15-07
var aryHintURL = new Array(
	"http://www.fineliving.com/fine/favorite_things_essentials/article/0,1663,FINE_1426_5272395,00.html",
	"http://www.fineliving.com/fine/insiders_list/article/0,1663,FINE_17956_4015263,00.html",
	"http://www.fineliving.com/fine/rejuvenation/article/0,1663,FINE_1404_5361880_03,00.html",
	"http://www.fineliving.com/fine/tricks_of_the_trade/episode/0,1663,FINE_9157_23678,00.html",
	"http://www.fineliving.com/fine/survival_guide/article/0,1663,FINE_15099_2447063,00.html",
	"http://www.fineliving.com/fine/survival_guide/article/0,1663,FINE_15099_2446688,00.html",
	"http://www.fineliving.com/fine/survival_guide/article/0,1663,FINE_15099_2446747,00.html",
	"http://www.fineliving.com/fine/rejuvenation/article/0,1663,FINE_1404_5007763,00.html",
	"http://www.fineliving.com/fine/our_specials/article/0,1663,FINE_5916_2323990,00.html",
	"http://www.fineliving.com/fine/our_specials/article/0,1663,FINE_5916_2323989,00.html"
);

// END updated 06-15-07

/* Beratments */
var strIQLabelA = "Baby Face";
var strIQLabelATag = "You\'re not that well versed on the best ways to stave off aging – probably because you\'re a spring chicken (are we right?). Learn how to live healthily now so when you start to get more mature you\'ll be miles ahead of the game.";
var strIQLabelB = "More Mature";
var strIQLabelBTag = "That first line or wrinkle isn\'t the worst – it\'s the second, third and tenth that make you nervous. You can push back the effects of time (and even prolong your lifespan) by taking care of yourself from the outside in.";
var strIQLabelC = "Like A Fine Wine";
var strIQLabelCTag = "Aging gracefully isn\'t so difficult – but judging by your score you already knew that. A healthy regimen now means you won\'t have to go under the knife (of a plastic surgeon or a cardiologist) in the future.";

/* Question Array */
var aryQuestions = new Array(
	"One way to prevent new wrinkles from forming is to:",
	"According to the Fine Living show, <em>The Insider\'s List With Julie Moran</em>, which of the following does not make the top 10 list of Secrets to Living Longer?",
	"A little makeup can hide a few wrinkles, but the years often show up on our overworked hands. What is a new technique doctors are using to erase the extra time on your hands?",
	"Collagen breakdown leads to saggy skin, which is why many people invest in collagen facials and injections. Where exactly does the majority of this collagen come from?",
	"Having a pet brings plenty of joy, but did you know Fido and Fifi may also add years to your life? It\'s true. What is one of the medical benefits of owning a pet?",
	"Flossing and brushing aren\'t only for your pearly whites &#151; they can also help you live longer. Poor oral health has been associated with which of the following problems?",
	"Cutting caloric intake by 30% has been proven to do what?",
	"What super food is believed to help slow the aging process, by staving off such symptoms as short-term memory loss?",
	"What disease, associated with aging and low bone mass, affects 34 million Americans over the age of 50?",
	"Capsaicin, the compound responsible for making hot peppers so darn hot, is often found in creams used to treat what ailment associated with aging?"
);

var aryQ0Answers = new Array(
	"Eat two tablespoons of olive oil daily.",
	"Minimize sun time.",
	"Get facial massages monthly.",
	"Play the home version of <em>Nip/Tuck</em>."
);

var aryQ1Answers = new Array(
	"Hyperbaric oxygen chamber",
	"Topical vitamin C",
	"Chinese herbs",
	"Epsom salt water baths (not to be confused with the less popular salt water shower)"
);

var aryQ2Answers = new Array(
	"Paraffin dips",
	"Soaking them in a saline solution daily",
	"Fat injections",
	"The Captain-Hookotomy Procedure"
);

var aryQ3Answers = new Array(
	"Cows",
	"Pigs",
	"Humans",
	"It was extracted from Angelina Jolie\'s beautiful, pouty lips when she was a baby"
);

var aryQ4Answers = new Array(
	"Lower body fat percentage",
	"Lower blood pressure",
	"Lower chance of stroke" ,
	"If you eat dog food every now and then it makes your hair thicker which adds years through a self-esteem boost."
);

var aryQ5Answers = new Array(
	"Really bad halitosis",
	"Premature wrinkling of the lips" ,
	"Premature loss of taste buds",
	"Increased risk of heart disease and stroke"
);

var aryQ6Answers = new Array(
	"Increase flexibility",
	"Extend life span",
	"Build bone density",
	"Turn me into one cranky son of a - ahem, next question …"
);

var aryQ7Answers = new Array(
	"Blueberries",
	"Salmon",
	"Almonds",
	"What was the question?"
);

var aryQ8Answers = new Array(
	"Macular degeneration",
	"Osteoporosis",
	"Alzheimer\'s",
	"The disease that compels my mother to eat dinner at 4:30 in the afternoon."
);

var aryQ9Answers = new Array(
	"Arthritis",
	"Menopause",
	"Stuffy noses",
	"Erectile dysfunction"
);

var aryCorrectAnswers = new Array(
	"B",
	"D",
	"C",
	"A",
	"B",
	"D",
	"B",
	"A",
	"B",
	"A"
);

