/*
 * GLOSSARY SCRIPT
 */
//glossary lookup
function Lookup(lookup) {
	var glosBkgndCol = "#10A8D6";
	document.getElementById("Absorbed_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Adapt_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Atmosphere_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Breakingdown_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Carbondioxide_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("CFCs_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Climate_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Climatemodel_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Earthscrust_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Emissions_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Erode_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Erosion_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Evaporation_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Fertilisers_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Fossilfuel_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Globalwarming_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Greenhouse_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Greywater_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Infrastructure_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Landfill_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Marsupial_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Methane_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Ozonehole_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Permits_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Polarice_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Predict_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Resources_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Sewerage_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Stormwater_Img").style.backgroundColor = glosBkgndCol;
	document.getElementById("Vertebrates_Img").style.backgroundColor = glosBkgndCol;

	lookup = lookup.substr(1);
	if(lookup != "") {
		lookup = lookup + "_Img";
        document.getElementById(lookup).style.backgroundColor = "#94BD0F";
	}
}
