var highlightcolor = '#0066FF';
var downlightcolor = '#DDDDDD';
var errorcolor = '#CC0000';

var elementfocus = false;

function inputfocus(element) {
	element.style.borderColor = highlightcolor;
	element.focus = true;
}

function inputblur(element) {
	element.style.borderColor = downlightcolor;
	element.focus = false;
}

function inputhighlight(element) {
	element.style.borderColor = highlightcolor;
}

function inputdownlight(element) {
	if (element.focus != true) element.style.borderColor = downlightcolor;
}





// Sicherheitsfragen ein und ausblenden

function showsecurityquestion(element) {
	document.getElementById(element).style.display = 'inline';
}

function hidesecurityquestion(element) {
	document.getElementById(element).style.display = 'none';
}

