function eingabefokus(id,status) {	if(status=="aktiv") {		document.getElementById(id).style.backgroundColor = '#FFFFFF';		document.getElementById(id).style.border = '1px solid #A5A791';		document.getElementById(id).style.color = '#000000';	} else {		document.getElementById(id).style.backgroundColor = '#F5F7EE';		document.getElementById(id).style.border = '1px solid #CACCB3';		document.getElementById(id).style.color = '#A5A791';	}}function display(obj,auswahl,element1,element2) {txt = obj.options[obj.selectedIndex].value;document.getElementById(element1).style.visibility = 'hidden';document.getElementById(element2).style.visibility = 'hidden';if ( txt.match(auswahl) ) {document.getElementById(element1).style.visibility = 'visible';document.getElementById(element2).style.visibility = 'visible';}}function display2(obj,auswahl,element) {txt = obj.options[obj.selectedIndex].value;document.getElementById(element).style.display = "none";if ( txt.match(auswahl) ) {document.getElementById(element).style.display = "block";}}function modul_runter(modul) {	document.getElementById(modul).style.paddingTop = "3px";}function modul_hoch(modul) {	document.getElementById(modul).style.paddingTop = "0px";}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function farbe(id,farbe) {	document.getElementById(id).style.backgroundColor = farbe;}function zeigobjekt(id1,id2) {	objekt1 = document.getElementById(id1);	objekt1.style.display = "block";	objekt2 = document.getElementById(id2);	objekt2.style.display = "block";}function versteckobjekt(id1,id2) {	objekt1 = document.getElementById(id1);	objekt1.style.display = "none";	objekt2 = document.getElementById(id2);	objekt2.style.display = "none";}function objekther(id) {	objekt = document.getElementById(id);	objekt.style.display = "block";}function objektweg(id) {	objekt = document.getElementById(id);	objekt.style.display = "none";}function objektsichtbar(id) {	objekt = document.getElementById(id);	objekt.style.visibility = "visible";}function objektunsichtbar(id) {	objekt = document.getElementById(id);	objekt.style.visibility = "hidden";}function aendernId(alteid,neueid) {objekt = document.getElementById(alteid);objekt.style.display = "block";document.getElementById(alteid).id = neueid;}hinweis = null;	document.onmousemove = updatehinweis;function updatehinweis(e) {	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;	if (hinweis != null) {		hinweis.style.left = (x - 100) + "px";		hinweis.style.top 	= (y + 6) + "px";	}}function zeighinweis(id) {	hinweis = document.getElementById(id);	hinweis.style.display = "block"}function versteckhinweis() {	hinweis.style.display = "none";}function wiklichloeschen(nachfrage) {	var ja=confirm(nachfrage);	if (ja)		return true ;	else		return false ;}function checkboxblock(checkbox,id,farbeakt,farbeinakt){	checkb = document.getElementById(checkbox);	//farbeinakt = document.getElementById(id).style.backgroundColor;	if(checkb.checked){	document.getElementById(id).style.backgroundColor = farbeakt;	}	else{	document.getElementById(id).style.backgroundColor = farbeinakt;	}}function checkboxurlbsem(checkbox,id1,id2){	checkb = document.getElementById(checkbox);	if(checkb.checked){	document.getElementById(id1).style.display = "block";	document.getElementById(id2).style.backgroundImage = 'url(images/hintergrund_VERWSTUD_Urlaubssemester.gif)';	}	else{	document.getElementById(id1).style.display = "none"	document.getElementById(id2).style.backgroundImage = ' ';	}}var win = null;function neuesfenster(mypage,myname,w,h,features) {  var winl = (screen.width-w)/2;  var wint = (screen.height-h)/2;  if (winl < 0) winl = 0;  if (wint < 0) wint = 0;  var settings = 'height=' + h + ',';  settings += 'width=' + w + ',';  settings += 'top=' + wint + ',';  settings += 'left=' + winl + ',';  settings += features;  win = window.open(mypage,myname,settings);  win.window.focus();}//==================================================================================================================//			CHIFFRIERUNGSFUNKTION//==================================================================================================================var chiffre = {	// private property	_keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",	// public method for encoding	encode : function (input) {		var output = "";		var chr1, chr2, chr3, enc1, enc2, enc3, enc4;		var i = 0;		input = chiffre._utf8_encode(input);		while (i < input.length) {			chr1 = input.charCodeAt(i++);			chr2 = input.charCodeAt(i++);			chr3 = input.charCodeAt(i++);			enc1 = chr1 >> 2;			enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);			enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);			enc4 = chr3 & 63;			if (isNaN(chr2)) {				enc3 = enc4 = 64;			} else if (isNaN(chr3)) {				enc4 = 64;			}			output = output +			this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +			this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);		}		return output;	},	// public method for decoding	decode : function (input) {		var output = "";		var chr1, chr2, chr3;		var enc1, enc2, enc3, enc4;		var i = 0;		input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");		while (i < input.length) {			enc1 = this._keyStr.indexOf(input.charAt(i++));			enc2 = this._keyStr.indexOf(input.charAt(i++));			enc3 = this._keyStr.indexOf(input.charAt(i++));			enc4 = this._keyStr.indexOf(input.charAt(i++));			chr1 = (enc1 << 2) | (enc2 >> 4);			chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);			chr3 = ((enc3 & 3) << 6) | enc4;			output = output + String.fromCharCode(chr1);			if (enc3 != 64) {				output = output + String.fromCharCode(chr2);			}			if (enc4 != 64) {				output = output + String.fromCharCode(chr3);			}		}		output = chiffre._utf8_decode(output);		return output;	},	// private method for UTF-8 encoding	_utf8_encode : function (string) {		string = string.replace(/\r\n/g,"\n");		var utftext = "";		for (var n = 0; n < string.length; n++) {			var c = string.charCodeAt(n);			if (c < 128) {				utftext += String.fromCharCode(c);			}			else if((c > 127) && (c < 2048)) {				utftext += String.fromCharCode((c >> 6) | 192);				utftext += String.fromCharCode((c & 63) | 128);			}			else {				utftext += String.fromCharCode((c >> 12) | 224);				utftext += String.fromCharCode(((c >> 6) & 63) | 128);				utftext += String.fromCharCode((c & 63) | 128);			}		}		return utftext;	},	// private method for UTF-8 decoding	_utf8_decode : function (utftext) {		var string = "";		var i = 0;		var c = c1 = c2 = 0;		while ( i < utftext.length ) {			c = utftext.charCodeAt(i);			if (c < 128) {				string += String.fromCharCode(c);				i++;			}			else if((c > 191) && (c < 224)) {				c2 = utftext.charCodeAt(i+1);				string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));				i += 2;			}			else {				c2 = utftext.charCodeAt(i+1);				c3 = utftext.charCodeAt(i+2);				string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));				i += 3;			}		}		return string;	}}