var fileInputCounter = 0;
var maxFileInputs = 10;
function showFileInput() {
	fileInputCounter++;
	if(fileInputCounter <= maxFileInputs) {
		getElement("f"+fileInputCounter).className = 'vis';		
	}	
}

function setBg(nr, anzahl) {
	for(i=1;i<=anzahl;i++) {
		if(i == nr) {
			getElement("ds1"+i).style.backgroundColor = '#90A7C6';
			getElement("ds2"+i).style.backgroundColor = '#90A7C6';			
		} else {
			getElement("ds1"+i).style.backgroundColor = '#C6E7F6';
			getElement("ds2"+i).style.backgroundColor = '#C6E7F6';			
		}
	}
}
