var lastId = "";
function checkFragmentIdentifier(){
	if(location.hash != lastId){
		if (location.hash=="#CONTROL"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(206, 238, 189)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(133, 215, 91)';
		}
		if (location.hash=="#CONSULT"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(188, 244, 225)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(84, 232, 174)';
		}
		if (location.hash=="#ACADEMY"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(209, 241, 240)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(102, 208, 204)';
		}
		if (location.hash=="#COMPANY"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(224, 224, 224)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(110, 129, 182)';
		}
		if (location.hash=="#INTERIOR"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(236, 204, 226)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(183, 101, 160)';
		}
		if (location.hash=="#PROOF"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(250, 204, 204)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(240, 86, 86)';
		}
		if (location.hash=="#CONTACT"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(255, 218, 151)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(255, 134, 51)';
			}
		if (location.hash=="#NIEUWS"){
			document.getElementById('WholeTable').style.backgroundColor = 'rgb(252, 249, 168)';
			document.getElementById('TopTable').style.backgroundColor = 'rgb(252, 212, 62)';
		}
	}
}
setInterval(checkFragmentIdentifier, 200);
