var boxhadfocus = 0;

function box(element) {
	element.style.color = "white";
	if (boxhadfocus == 0) {
		element.value = "";
		boxhadfocus = 1;
	}
}

var user_is_colorblind = 0;
var backup = new Array();

function colorblind() {
	var e = document.getElementsByTagName("a");
	if (user_is_colorblind == 0) {
		for(var i = 0; i < e.length; i++) {
			backup[i] = e[i].style.color;
			e[i].style.color = "yellow";
		}
		user_is_colorblind = 1;
	} else {
		var e = document.getElementsByTagName("a");
                for(var i=0; i < e.length; i++) {
                        e[i].style.color = backup[i];
		user_is_colorblind = 0;
                }
	}
}
