//// QueryString//function QueryString(key){	var value = null;	for (var i=0;i<QueryString.keys.length;i++)	{		if (QueryString.keys[i]==key)		{			value = QueryString.values[i];			break;		}	}	return value;}QueryString.keys = new Array();QueryString.values = new Array();function QueryString_Parse(){	var query = window.location.search.substring(1);	var pairs = query.split("&");		for (var i=0;i<pairs.length;i++)	{		var pos = pairs[i].indexOf('=');		if (pos >= 0)		{			var argname = pairs[i].substring(0,pos);			var value = pairs[i].substring(pos+1);			QueryString.keys[QueryString.keys.length] = argname;			QueryString.values[QueryString.values.length] = value;				}	}}QueryString_Parse();//// Answer//function Answer_WriteHTML(){	document.write('<INPUT type="radio" value="' + this.id + '" name="answers"> ');	document.write('<span  class="quizText">' + this.text + '</span><br>');}function Answer(aID){	this.text = "New Answer";	this.id = aID;	this.correct = false;		this.WriteHTML = Answer_WriteHTML;}//// AnswerList//function AnswerList_NewAnswer(){	var a = new Answer(this.sequenceID);	this.sequenceID++;	this.aList[this.aList.length] = a;	// Optional Args: text, correct	if (arguments.length > 0)		a.text = arguments[0];	if (arguments.length > 1)		a.correct = arguments[1];	if (this.editor)		this.editor.AnswerSectionUpdate();			return a;}function AnswerList_Remove(id){	for (var i=0;i<this.aList.length;i++)	{		if (this.aList[i] && this.aList[i].id == id)		{			this.aList[i] = null;			break;		}	}}function AnswerList_Find(id){	var result = null;	for (var i=0;i<this.aList.length;i++)	{		if (this.aList[i] && this.aList[i].id == id)		{			result = this.aList[i];			break;		}	}	return result;}function AnswerList_WriteHTML(){	for (var i=0;i<this.aList.length;i++)		this.aList[i].WriteHTML();}function AnswerList(editor){	this.editor = editor;	this.sequenceID = 0;	this.aList = new Array();		this.NewAnswer = AnswerList_NewAnswer;	this.Remove = AnswerList_Remove;	this.Find = AnswerList_Find;	this.WriteHTML = AnswerList_WriteHTML;}//// Question//function Question_NewAnswer(text,correct){	this.answerList.NewAnswer(text,correct);}function Question_WriteHTML(){	document.write('<p class="quizQuestion">' + this.text + '</p>');	this.answerList.WriteHTML();}function Question_GetCorrectAnswer(text,correct){	var result = "";	for (var i=0;i<this.answerList.aList.length;i++)	{		if (this.answerList.aList[i] && this.answerList.aList[i].correct)		{			result = this.answerList.aList[i].text;			break;		}	}	return result;}function Question(qID,editor){	this.text = "New Question";	this.id = qID;	this.editor = editor;			this.answerList = new AnswerList(editor);		this.NewAnswer = Question_NewAnswer;	this.WriteHTML = Question_WriteHTML;	this.GetCorrectAnswer = Question_GetCorrectAnswer;}//// QuestionList//function QuestionList_NewQuestion(){	var q = new Question(this.sequenceID,this.editor);	this.sequenceID++;	this.qList[this.qList.length] = q;		// Optional Args: text	if (arguments.length > 0)		q.text = arguments[0];		if (this.editor)		this.editor.QuestionItemsAdd(q);			return q;}function QuestionList_Remove(id){	for (var i=0;i<this.qList.length;i++)	{		if (this.qList[i] && this.qList[i].id == id)		{			this.qList[i] = null;			break;		}	}}function QuestionList_Find(id){	var result = null;	for (var i=0;i<this.qList.length;i++)	{		if (this.qList[i] && (this.qList[i].id == id))		{			result = this.qList[i];			break;		}	}	return result;}function QuestionList_WriteHTML(){	var index = 0;		var lastQuestion = QueryString("lastQuestion");	var ccount = QueryString("ccount");	if (ccount == null)		ccount = 0;	else		ccount = parseInt(ccount);	document.write('<form name="quiz" method="GET" onsubmit="return QuestionListValidate(this)">');				if (lastQuestion!=null)	{		lastQuestion = parseInt(lastQuestion);		index = 1 + lastQuestion;		var answerID = parseInt(QueryString("answers"));				if (this.qList[lastQuestion].answerList.aList[answerID].correct)		{			document.write('<p class="quizRightWrong">Correct!</p>');			ccount++;		}		else		{			var correctAnswer = this.qList[lastQuestion].GetCorrectAnswer();			document.write('<p class="quizRightWrong">That answer was not correct.</p>');			document.write('<p class="quizText">The correct answer to:</p>');			document.write('<p class="quizIndent">' + this.qList[lastQuestion].text + '</p>');			document.write('<p class="quizText">is:</p>');			document.write('<p class="quizIndent">' + correctAnswer + '</p>');		}					}		if (index < this.qList.length)	{		document.write('<input type="hidden" name="lastQuestion" value="' + index + '">')				this.qList[index].WriteHTML();		document.write('<p><input type="submit" name="submit" value="Next Question"></p>')	}	else	{		var score = Math.round((ccount*100)/this.qList.length);		var scoreResults = this.ScoreResults(Math.min(Math.floor(score/10),9));		document.write('<p class="quizText">You answered ' + ccount + ' items out of ' +			this.qList.length + ' correctly.</p>');		document.write('<p class="quizText">Your score is ' + score + '%. ' + scoreResults + '</p>');	}		document.write('<input type="hidden" name="ccount" value="' + ccount + '">')	document.write('</form>');	}function QuestionList_ScoreResults(index,text){	// Optional Args: text	if (arguments.length > 1)	{		this.scoreResults[index] = text;	}			return this.scoreResults[index];}function QuestionList(editor){	this.sequenceID = 0;	this.qList = new Array();	this.scoreResults = new Array(10);	this.editor = editor;		this.NewQuestion = QuestionList_NewQuestion;	this.Remove = QuestionList_Remove;	this.Find = QuestionList_Find;	this.WriteHTML = QuestionList_WriteHTML;	this.ScoreResults = QuestionList_ScoreResults;}function QuestionListValidate(theForm){	var validated = false;		for (var i=0;i<theForm.answers.length;i++)	{		if (theForm.answers[i].checked == true)		{			validated = true;			break;		}	}		if (!validated)		alert("Please select an answer before continuing.");		return validated;}var gQuestionList = new QuestionList(null);// Quiz Source Start (to edit with QuizEditor copy/paste between here and end// -->gQuestionList.ScoreResults(0,"Are you sure you are trying?");gQuestionList.ScoreResults(1,"You sure you are not just guessing?");gQuestionList.ScoreResults(2,"You absolutely sure you are not just guessing?");gQuestionList.ScoreResults(3,"Sounds like you are just guessing.");gQuestionList.ScoreResults(4,"Good score but could do better if you really, really tried.");gQuestionList.ScoreResults(5,"You need to spend more time on Google!");gQuestionList.ScoreResults(6,"Not bad.");gQuestionList.ScoreResults(7,"Not bad at all!");gQuestionList.ScoreResults(8,"Aren't you ashamed you know such useless knowledge?");gQuestionList.ScoreResults(9,"Boy, you know more trivia than anyone this side of San Jose!");q = gQuestionList.NewQuestion("1. Which of the following team of brothers was responsible for authoring and marketing what we now know as Photoshop?");q.NewAnswer("The Wright Brothers",false);
q.NewAnswer("The Knoll Brothers",true);q.NewAnswer("Warner Brothers",false);q.NewAnswer("Toll Brothers",false);q = gQuestionList.NewQuestion("2. Which one of the Knoll brothers wrote the original routines that eventually gave birth to Photoshop?");q.NewAnswer("Thomas Knoll",true);q.NewAnswer("John Knoll",false);q.NewAnswer("Andrew Knoll",false);q.NewAnswer("William Knoll",false);q = gQuestionList.NewQuestion("3. Who encouraged Thomas Knoll to write a working version of Display that could be sold as a viable Macintosh application?");q.NewAnswer("Steven Spielberg",false);q.NewAnswer("George Lucas",false);q.NewAnswer("John Knoll",true);q.NewAnswer("John Knowles",false);q = gQuestionList.NewQuestion("4. In which year was Photoshop first released by Adobe?");q.NewAnswer("1986",false);q.NewAnswer("1988",false);q.NewAnswer("1990",true);q.NewAnswer("1992",false);q = gQuestionList.NewQuestion("5. Which version of Photoshop first supported the following: Pen tool, CMYK color and Duotones.");q.NewAnswer("Photoshop 1.0",false);q.NewAnswer("Photoshop 2.0",true);q.NewAnswer("Photoshop 2.5",false);q.NewAnswer("Photoshop 3.0",false);q = gQuestionList.NewQuestion("6. What was the name of the production manager who started the tradition of code naming the beta versions?");q.NewAnswer("Steven Guttenberg",false);q.NewAnswer("Steven Guttman",true);q.NewAnswer("Marc Pawliger",false);q.NewAnswer("Mark Hamburg",false);q = gQuestionList.NewQuestion("7. What was the beta version of Photoshop 2.0 code named?");q.NewAnswer("Fast Eddy",true);q.NewAnswer("Speedy Gonzalos",false);q.NewAnswer("Mercury Rising",false);q.NewAnswer("Doc Holiday",false);q = gQuestionList.NewQuestion("8. Which version of Photoshop first supported Palettes and 16-Bits/Channel support?");q.NewAnswer("Photoshop 2.0",false);q.NewAnswer("Photoshop 2.5",true);q.NewAnswer("Photoshop 3.0",false);q.NewAnswer("Photoshop 4.0",false);q = gQuestionList.NewQuestion("9. What was the beta version of Photoshop 3.0 code named?");q.NewAnswer("Tiger Mountain",true);q.NewAnswer("Tiger Valley",false);q.NewAnswer("Tiger Lily",false);q.NewAnswer("Tiger Moth",false);q = gQuestionList.NewQuestion("10. In which version of Photoshop did layers first saw the light of day?");q.NewAnswer("Photoshop 2.5",false);q.NewAnswer("Photoshop 3.0",true);q.NewAnswer("Photoshop 4.0",false);q.NewAnswer("Photoshop 5.0",false);q = gQuestionList.NewQuestion("11. In which year was Photoshop 3.0 released?");q.NewAnswer("1993",false);q.NewAnswer("1994",true);q.NewAnswer("1995",false);q.NewAnswer("1996",false);

q = gQuestionList.NewQuestion("12. What type of computer did Thomas Knoll use to write his routines that sowed the seeds of Photoshop?");q.NewAnswer("Apple Macintosh Plus",true);q.NewAnswer("Apple Power Mac",false);q.NewAnswer("Mac Power PC",false);q.NewAnswer("Apple PowerBook",false);

q = gQuestionList.NewQuestion("13. What was the Mac beta version of Photoshop 2.5 code named?");q.NewAnswer("Merlin",true);q.NewAnswer("Sorcerer",false);q.NewAnswer("Druid",false);q.NewAnswer("The Magi",false);

q = gQuestionList.NewQuestion("14. What was the very first version of the application that eventually came to be known as Photoshop called? ");q.NewAnswer("PhotoDesk",false);q.NewAnswer("PhotoFix",false);q.NewAnswer("ImageReady",false);q.NewAnswer("Display",true);q = gQuestionList.NewQuestion("15. In which month and year was Photoshop 4.0 released?");q.NewAnswer("November 1996",true);q.NewAnswer("March 1996",false);q.NewAnswer("January 1997",false);q.NewAnswer("October 1997",false);q = gQuestionList.NewQuestion("16. Which version of Photoshop included Actions, Adjustment Layers, Grids & Guides, and Free Transform?");q.NewAnswer("Photoshop 3.0",false);q.NewAnswer("Photoshop 3.5",false);q.NewAnswer("Photoshop 4.0",true);q.NewAnswer("Photoshop 5.0",false);q = gQuestionList.NewQuestion("17. The beta version of Photoshop 5.0 was code named Strange Cargo, a reference to a work by which artist?");q.NewAnswer("Josh Werner",false);q.NewAnswer("Rino Cerrone",false);q.NewAnswer("Chris Sattinger",false);q.NewAnswer("William Orbit",true);

q = gQuestionList.NewQuestion("18. Which version of Photoshop introduced editable type?");q.NewAnswer("4.0",false);q.NewAnswer("5.0",true);q.NewAnswer("5.5",false);q.NewAnswer("6.0",false);

q = gQuestionList.NewQuestion("19. What was Photoshop CS3 code named during development?");q.NewAnswer("Red Haze",false);q.NewAnswer("Red Dwarf",false);q.NewAnswer("Red Sky",false);q.NewAnswer("Red Pill",true);

q = gQuestionList.NewQuestion("20. Which one of the following tools was introduced in Photoshop 5.0?");q.NewAnswer("Pen tool",false);q.NewAnswer("Magnetic Lasso tool",true);q.NewAnswer("Patch tool",false);q.NewAnswer("Red Eye tool",false);

q = gQuestionList.NewQuestion("21. When did Photoshop 6.0 ship?");q.NewAnswer("April 2000",false);q.NewAnswer("October 2000",true);q.NewAnswer("April 2001",false);q.NewAnswer("October 2001",false);

q = gQuestionList.NewQuestion("22. In 1988, the application that started life as Display and would eventually be known as Photoshop was renamed. What was it renamed to?");q.NewAnswer("ImagePro",true);q.NewAnswer("Imagist",false);q.NewAnswer("PhotoPro",false);q.NewAnswer("Knoll PhotoKiosk",false);

q = gQuestionList.NewQuestion("23. What was the Windows beta version of Photoshop 2.5 code named?");q.NewAnswer("Bryne",false);q.NewAnswer("Sulphur",false);q.NewAnswer("Brimstone",true);q.NewAnswer("Brinjal",false);

q = gQuestionList.NewQuestion("24. Which version of Photoshop introduced the ability to select more than one layer?");q.NewAnswer("Photoshop CS",false);q.NewAnswer("Photoshop CS2",true);q.NewAnswer("Photoshop CS3",false);q.NewAnswer("Photoshop CS4",false);

q = gQuestionList.NewQuestion("25. Which version of Photoshop first detected and refused to print scanned images of various banknotes?");q.NewAnswer("Photoshop 7.0",false);q.NewAnswer("Photoshop CS",true);q.NewAnswer("Photoshop CS2",false);q.NewAnswer("Photoshop CS3",false);

q = gQuestionList.NewQuestion("26. In its first official outing, Photoshop went under another name. What was that name?");q.NewAnswer("PhotoFix XP",false);q.NewAnswer("ImagePro XP",false);q.NewAnswer("Barneyscan XP",true);q.NewAnswer("TJK Knoll XP",false);

q = gQuestionList.NewQuestion("27. Photoshop 6.0 introduced vector shapes. What else did it introduce?");q.NewAnswer("Adjustment layers",false);q.NewAnswer("Palette Well",true);q.NewAnswer("Vertical Type tool",false);q.NewAnswer("Tool Presets",false);

q = gQuestionList.NewQuestion("28. What was the code name of Photoshop that included Smart (non-destructive) Filters for the first time?");q.NewAnswer("Venus in Furs",false);q.NewAnswer("DarkMatter",false);q.NewAnswer("Space Monkey",false);q.NewAnswer("Red Pill",true);

q = gQuestionList.NewQuestion("29. What was the minimum RAM allocation for the release version of Photoshop 1.0?");q.NewAnswer("256 KB",false);q.NewAnswer("1 MB",false);q.NewAnswer("2 MB",true);q.NewAnswer("4 MB",false);

q = gQuestionList.NewQuestion("30. Which version of Photoshop was code named Liquid Sky?");q.NewAnswer("Photoshop 5.5",false);q.NewAnswer("Photoshop 6.0",false);q.NewAnswer("Photoshop 7.0",true);q.NewAnswer("Photoshop CS",false);

q = gQuestionList.NewQuestion("31. What version had Photoshop reached before a Windows version was released?");q.NewAnswer("Photoshop 2.0",false);q.NewAnswer("Photoshop 2.5",true);q.NewAnswer("Photoshop 3.0",false);q.NewAnswer("Photoshop 4.0",false);

q = gQuestionList.NewQuestion("32. Which one of the following names appears on the splash screen for Photoshop CS4?");q.NewAnswer("Srinivasan Seetharaman",false);q.NewAnswer("Seetharaman Narayanan",true);q.NewAnswer("Seetharaman Ramasubramani",false);q.NewAnswer("Seetharaman Radhakrishnan",false);

q = gQuestionList.NewQuestion("33. What was the code name given to the beta version of Photoshop 6.0?");q.NewAnswer("Venus Horizon",false);q.NewAnswer("Venus in Furs",true);q.NewAnswer("Red Mars",false);q.NewAnswer("Mars Rising",false);

q = gQuestionList.NewQuestion("34. When did Photoshop 7.0 ship?");q.NewAnswer("April 2002",true);q.NewAnswer("September 2002",false);q.NewAnswer("November 2002",false);q.NewAnswer("April 2003",false);

q = gQuestionList.NewQuestion("35. Which version raised the minimum RAM requirements from 2MB to 4MB?");q.NewAnswer("Photoshop 2.0",true);q.NewAnswer("Photoshop 2.5",false);q.NewAnswer("Photoshop 3.0",false);q.NewAnswer("Photoshop 4.0",false);

q = gQuestionList.NewQuestion("36. During development, to what quintessential English entity did Photoshop CS4 make reference to in its code name?");q.NewAnswer("Harbour Angel",false);q.NewAnswer("Stonehenge",true);q.NewAnswer("Sergeant Pepper",false);q.NewAnswer("Abbey Road",false);

q = gQuestionList.NewQuestion("37. Which version introduced the File Browser and the Pattern Maker?");
q.NewAnswer("Photoshop 5.0",false);
q.NewAnswer("Photoshop 6.0",false);q.NewAnswer("Photoshop 7.0",true);q.NewAnswer("Photoshop CS",false);

q = gQuestionList.NewQuestion("38. What was the beta version of Photoshop 4.0 code named?");q.NewAnswer("Big Electric Cat",true);q.NewAnswer("Big Fish",false);q.NewAnswer("Big Foot",false);q.NewAnswer("Big Brother",false);

q = gQuestionList.NewQuestion("39. There has only been two point releases. Photoshop 5.5 was one of them. What was the other one?");q.NewAnswer("2.5",true);q.NewAnswer("3.5",false);q.NewAnswer("4.5",false);q.NewAnswer("6.5",false);

q = gQuestionList.NewQuestion("40. Who was the head of Adobe who bought the rights from Thomas and John Knoll to sell Photoshop?");q.NewAnswer("Fred Mitchell",true);q.NewAnswer("Fred MacMurry",false);q.NewAnswer("Fred Mercury",false);q.NewAnswer("Fred Mitchum",false);

q = gQuestionList.NewQuestion("41. What was Photoshop CS code named during development?");q.NewAnswer("DarkMatter",true);q.NewAnswer("GrayMatter",false);q.NewAnswer("HeavyWater",false);q.NewAnswer("Black Hole",false);

q = gQuestionList.NewQuestion("42. Which version of Photoshop first made use of OpenGL display acceleration?");q.NewAnswer("Photoshop CS2",false);q.NewAnswer("Photoshop CS3",false);q.NewAnswer("Photoshop CS3 Extended",false);q.NewAnswer("Photoshop CS4",true);

q = gQuestionList.NewQuestion("43. Who created the Tiger Mountain alternative splash screen?");q.NewAnswer("Chris Smith",false);q.NewAnswer("Jeff Tranberry",false);q.NewAnswer("Mike Shaw",false);q.NewAnswer("Mark Hamburg",true);

q = gQuestionList.NewQuestion("44. In which version of Photoshop did the Quick Selection tool make its first appearance?");q.NewAnswer("Photoshop 8.0",false);q.NewAnswer("Photoshop 9.0",false);q.NewAnswer("Photoshop 10.0",true);q.NewAnswer("Photoshop 11.0",false);

q = gQuestionList.NewQuestion("45. Which version of Photoshop was first ported to Mac OS X and in which year?");q.NewAnswer("Photoshop 6.0 in 2001",false);q.NewAnswer("Photoshop 7.0 in 2002",true);q.NewAnswer("Photoshop 8.0 in 2003",false);q.NewAnswer("Photoshop 9.0 in 2004",false);

// <-- Quiz Source End 