initCurriculum = function(showCol4, showCol5, showZusatz, showBorder, styleCol4, styleCol5) {
	/*
	 * 
	 * Änderungen
	 * rmi 11.09.2008 wenn nur spalten 1,2,3 angezeigt werden, sollte die spalte 2 breiter sein
	 * ska 19.09.2008 Änderung rmi (11.09.2008) wieder rückgängig gemacht, Spalte 3 angepasst (breite)
	 * 
	 */
	
	var tableWidth = 950;
	var col1Width = 216;
	//var col1Width = 100;
	var col2Width = 140;
	var col3Width = 530;
	var col4Width = 0;
	var col5Width = 144;
	var colZusatz = 144; // bei aenderung auch in css anpassen > summe der
							// spalte lernZusatzSpcace und spalte lernZusatz
	// berechnung breite der spalten 4 & 5
	var tempColWidth = tableWidth - col1Width - col2Width;
	// kompensation border
	var borderCorr = 0;
	$('#curriculumContent div.lernHeader > table').width(tableWidth);
	// show/hide der spalte lernZusatzSpcace und spalte lernZusatz in notes
	// geloest
	if (showZusatz) {
		tempColWidth -= colZusatz;
		$('#curriculumContent div.lernBereich > table').width(tableWidth - colZusatz - 1/*
																						 * 1=border
																						 * rechts
																						 * linke
																						 * (erste)
																						 * spalte
																						 */);
	} else {
		$('#curriculumContent div.lernBereich > table').width(tableWidth);
	}
	// select aller spalten
	var col1 = $('#curriculumContent td.col1');
	var col2 = $('#curriculumContent td.col2');
	var col3 = $('#curriculumContent td.col3');
	var col4 = $('#curriculumContent td.col4');
	var col5 = $('#curriculumContent td.col5');
	
	// style der spalten 4 und 5 nur im lernbereich anzeigen!
	$('#curriculumContent .lernBereich td.col4').attr('style', styleCol4);
	$('#curriculumContent .lernBereich td.col5').attr('style', styleCol5);
	// dicke linie
	if (showBorder) {
		col3.addClass('splitBorderBlack');
		borderCorr += 2;
	} else {
		col3.addClass('splitBorderGrey');
		borderCorr += 1;
	}
	
	/*
	 * moeglichkeiten (vorgegeben per validierung in notes, spalten 1&2&3 werden
	 * immer angezeigt) - weder spalte 4 noch 5 noch zusatz - nur spalte 4 -
	 * spalte 4 & 5 - spalte 4 & zusatz alles andere nicht moeglich stand
	 * 16.06.08
	 */
	if (showCol4) {
		borderCorr += 1;
		if (showCol5) {
			borderCorr += 1;
			tempColWidth -= col5Width;
			col5.width(col5Width);
		} else {
			col5.hide();
			if (showZusatz) {
				borderCorr += 1;
				// graue linie in header entfernen
				$('#curriculumContent div.lernHeader td.col5').removeClass('splitBorderGrey').width(col5Width + 1).show().html('&nbsp;');
				$('#lernZusatz').width(colZusatz - 4 - 2); // 4=spacer,
															// 2=border
			}
		}
		tempColWidth -= borderCorr;
		tempColWidth /= 2;
		// nur ganzzahlwerte fuer breiten
		col3Width = Math.ceil(tempColWidth);
		col4Width = Math.floor(tempColWidth);
		col4.width(col4Width);
	} else {
		col4.hide();
		col5.hide();
	}
	col1.width(col1Width);
	col2.width(col2Width);
	col3.width(col3Width);
	// untersten margin entfernen
	$('#curriculumContent div.lernBereich:visible:last').css('margin-bottom', '0');
}

