var cnotIndex = new Array(1, 2, 4);
function cnotClicked( i ) {
	for ( var x=0; x < cnotIndex.length; x++ ) {
		document.getElementById('cnot-cont' + cnotIndex[x]).style.display = ( (cnotIndex[x] == i) ? 'block' : 'none' );
	}
}