// Globale Variablen
var gSwapColorOver = 'red';
var gSwapColorDefault = 'transparent';

function swapColor(obj, art) {
	if('over' == art) {
		obj.style.backgroundColor = gswapColorOver;
	} else {
		obj.style.backgroundColor = gswapColorDefault;
	}
}

function swap(obj, modus, status) {
	if(modus == 'over') {
		obj.style.backgroundColor='transparent';
	} else {
		if(status == 'ungerade') {
			obj.style.backgroundColor='lightBlue';
		} else {
			obj.style.backgroundColor='lightCyan';
		}
	}
}

