			var toon = new Object();
					toon.link = new Array();
				
				lcTitle = 0;
				
				// LINKS AND LINK HEADINGS
				fnAddTitle("Home");
				fnAddLink("- Home Page", "index.html", true);


				fnAddTitle("Quiz Competition");
				fnAddLink("- Current Quiz", "current.html", true);
				fnAddLink("- Previous Quiz", "previous.html", false);
				fnAddLink("- League/Scores", "totals.shtml", false);
				fnAddLink("- Guys v Gals", "guysvgals.shtml", false);
				fnAddLink("- Hall of Fame", "halloffame.html", false);
				fnAddLink("- Submit a Quiz", "submit.html", false);

				fnAddTitle("Tournament");
				fnAddLink("- Information", "tournament/tournament.html", true);

				fnAddTitle("Links Quiz");
				fnAddLink("- Information", "linksquiz/linksquiz.html", true);

				fnAddTitle("Archives");
				fnAddLink("- Archive", "archive.html", true);
				fnAddLink("- Guys vs Gals", "archiveguysvgals.shtml", false);
				fnAddLink("- Links Quiz", "oldloyalty.shtml", false);


				fnAddTitle("Prize Quiz");
				fnAddLink("- So You Think ...", "quizzes.html", true);

				fnAddTitle("Links");
				fnAddLink("- Web Links", "quizlinks.html", true);

				fnAddTitle("Humour");
				fnAddLink("- Humour", "humour/humour.html", true);

				fnAddTitle("Rogues");
				fnAddLink("- Gallery", "rogues.html", true);

				fnAddMail("E-mail me", "toon@quiztoon.co.uk");
				
				function fnAddTitle(pTitle)
				{
					var lcItem = toon.link.length;
					lcTitle = lcItem;
					toon.link[lcItem] = new Object();
					toon.link[lcItem].title = pTitle;
					toon.link[lcItem].page = "";
					toon.link[lcItem].id = lcTitle;
					toon.link[lcItem].type = "title";
				}
				function fnAddLink(pTitle,pLink,pDefault)
				{
					var lcItem = toon.link.length;
					toon.link[lcItem] = new Object();
					toon.link[lcItem].title = pTitle;
					toon.link[lcItem].page = pLink;
					toon.link[lcItem].id = lcTitle;
					toon.link[lcItem].type = "link";
					if (pDefault == true) toon.link[lcTitle].page = pLink;
				}
				function fnAddMail(pTitle,pAddress)
				{
					var lcItem = toon.link.length;
					lcTitle = lcItem;
					toon.link[lcItem] = new Object();
					toon.link[lcItem].title = pTitle;
					toon.link[lcItem].page = "mailto:%20" + pAddress;
					toon.link[lcItem].id = lcTitle;
					toon.link[lcItem].type = "email";
				}
				function fnKillWins()
				{
					if (window.xtpop) window.xtpop.close();
					if (window.test) window.test.close();
				}