function rotateText(stor,text){
	$('jscontent').innerHTML = text;

	var atags = document.getElementById("philosophienav").getElementsByTagName("a");
	for (var i=0; i < atags.length; i++ ) {
		var atag = atags[i];
		if(i != stor) atag.className = "none";
		else atag.className = "act";
	}
}

function clickShowText(text){
	$('jscontent').innerHTML = text;
	if(text.length < 3)$('jscontent').style.backgroundColor = '';
	else $('jscontent').style.backgroundColor = '#F3F3F1';
}

function $(i){
	return document.getElementById(i);
}

function hoverIn(id){
	$('layerImage').src = 'fileadmin/templates/images/imagemap-de/' + id + '.gif';
}

function hoverOut(id){
	$('layerImage').src = 'fileadmin/templates/images/imagemap-de/blank.gif';
}
