var listlength = 4;

//--- Create new main array. ---//

//--- Stuff leftmenu array entries with objects. ---// 
//--- Main cellback, Font class, label, hyperlink, tab colour --//

var cell = new Array(5) 
cell[0] = new Array("#FFFFFF", "ActiveFont", "Overview", "index", "#8080C0") 
cell[1] = new Array("#434A6E", "InactiveFont", "System Requirements", "requirements", "#434A6E") 
cell[2] = new Array("#434A6E", "InactiveFont", "Reviews", "reviews", "#434A6E") 
cell[3] = new Array("#434A6E", "InactiveFont", "Upgrades & Patches", "upgrades", "#434A6E") 
cell[4] = new Array("#434A6E", "InactiveFont", "Programmers Log", "log", "#434A6E") 


function LeftMenu(active) {
	for(var i=0; i<=3; i++)	{

//---- Set all cells to default values ---//

		cell[i][0] = "#434A6E"
		cell[i][1] = "InactiveFont"
		cell[i][4] = "#434A6E"
		}

//---- First set all the cells back to grey (clearstate), then set ---//
//---- active cell to white and orange tab etc  ---//
	
	cell[active][0] = "#FFFFFF"
	cell[active][1] = "ActiveFont"
	cell[active][4] = "#8080C0"

	}		

					
	
