function hiActive () {
	 var path = location.pathname;
	 var sty = null;
	 if (path.length == 1 || path.indexOf('index') > -1) {
		  sty = ts_getElementStyle('index');
	 } else if (path.indexOf('lebenslauf') > -1) {
		  sty = ts_getElementStyle('lebenslauf');
	 } else if (path.indexOf('ausbildung') > -1) {
		  sty = ts_getElementStyle('ausbildung');
	 } else if (path.indexOf('lehren') > -1) {
		  sty = ts_getElementStyle('lehren');
	 } else if (path.indexOf('publikationen') > -1) {
		  sty = ts_getElementStyle('publikationen');
	 } else if (path.indexOf('presentations') > -1) {
		  sty = ts_getElementStyle('presentations');
	 } else if (path.indexOf('sonstiges') > -1) {
		  sty = ts_getElementStyle('sonstiges');
	 } else if (path.indexOf('kontakt') > -1) {
		  sty = ts_getElementStyle('kontakt');
	 }
	 if (sty != null) {
		  sty.color = 'white';
	 }
}

function ts_getElement(elemID) {
	 var elem = null;
	 if (document.layers != null) {
		  elem = eval('document.layers["' + elemID + '"]');
	 } else if (document.all != null) {
		  elem = eval('document.all.' + elemID + '');
	 } else {
		  if (document.getElementById(elemID) != null) {
				elem = document.getElementById(elemID);
		  }
	 }
	 return elem;
}
function ts_getElementStyle(elemID) {
	 var sty = null;
	 if (document.layers != null) {
		  sty = eval('document.layers["' + elemID + '"]');
	 } else if (document.all != null) {
		  sty = eval('document.all.' + elemID + '.style');
	 } else {
		  if (document.getElementById(elemID) != null) {
				sty = document.getElementById(elemID).style;
		  }
	 }
	 return sty;
}

