//Deb (0, "LeftPanelBackground");

		// Resetting Gensubs variable
		ButtonHeight		= 35;
		ButtonWidth			+= 20;
		ButtonInc			= 55
		ButtonTop			= 0;							
		LeftWidth			+= 20;

		RightWidth			= UNIT_BASE - LeftWidth;

		var ButtonColor2;
		var ButtonHeight2;
		var ButtonInc2;
		var ButtonFontSize	= FontSize4;
		var RPLeft			= PadLeft;

		var CNTFamily		= "Verdana";
		var CNTHeadY		= 50;
		var CNTTextY		= 140;
		var TextSize		= FontSize2_7;

		var cls				= Element ("oBody").className;

//Deb (5, "LeftWidth", "RightWidth");

		if (cls == "CamdenSq" || cls == "Census81" || cls == "Murray" || cls == "Catalogue")
			{
			ButtonTop		+= 400;
			ButtonColor2	= "gray";
			ButtonHeight2	= ButtonHeight - 10;
			ButtonInc2		= ButtonInc - 10;
			}
		else
			{
			ButtonColor2	= "black";
			ButtonHeight2	= ButtonHeight;
			ButtonInc2		= ButtonInc;
			}

		Node ("LeftPanel", BACKGROUND, LeftPanelBackground, HEIGHT, UNIT_BASE, LEFT, 0, TOP, 0, WIDTH, LeftWidth);

		//function DrawButton (idin, leftin, topin, textin, heightin, widthin, bgcin, overbgcin, colorin, urlin)

		if (cls != "CamdenSq") Node ("CamdenSq", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Camden Square", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
			"CamdenSquareIntro.html"], SIZE, ButtonFontSize);

		if (cls != "Census81")
			Node ("Census81", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Camden New Town in 1881", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"1881.html"], SIZE, ButtonFontSize);

		if (cls != "Murray")
			Node ("Murray", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Murray St 1850-1961", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"MurrayStIntro.html"], SIZE, ButtonFontSize);

		if (cls != "Catalogue")
			Node ("SC", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Catalogue of street names", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"CatalogueIntro.html"], SIZE, ButtonFontSize);

		if (cls != "Books")
			Node ("Books", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Book list", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"BookList.html"], SIZE, ButtonFontSize);

		if (cls != "Credits")
			Node ("Credits", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Credits", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"Credits.html"], SIZE, ButtonFontSize);

		if (cls != "WhatsNew")
			Node ("WhatsNew", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "What's new", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
				"WhatsNew.html"], SIZE, ButtonFontSize);

		if (cls != "Main") Node ("Main", BUTTON, [ButtonLeft, ButtonTop+= ButtonInc2, "Home page", ButtonHeight2, ButtonWidth, _, _, ButtonColor2,
			"index.html"], SIZE, ButtonFontSize);


