/* Javascript fuer die Klick-Funktion der Galerie */clickMenu = function(galerie) 	{	var getImg = document.getElementById(galerie).getElementsByTagName("IMG");	var getLi = document.getElementById(galerie).getElementsByTagName("LI");	for (var i=0; i<getImg.length; i++) {			getImg[i].onclick=function() {			if ((this.className.indexOf('links'))!=-1) {				for (var x=getLi.length-1; x>0; x--) {					if ((getLi[x].className.indexOf('aktiv'))!=-1)	{						getLi[x].className=getLi[x].className.replace("aktiv", "");						x--;						if (x>-1) {							getLi[x].className+=" aktiv";								if (x>-1 && x<getLi.length-7){								getLi[x].className=getLi[x].className.replace("hide", "");									if ((getLi[x+7].className.indexOf('hide'))==-1)									{										getLi[x+7].className+=" hide";									}								}							}						}					}				}			if ((this.className.indexOf('rechts'))!=-1) {				for (var x=0; x<getLi.length-1; x++) {					if ((getLi[x].className.indexOf('aktiv'))!=-1)	{						getLi[x].className=getLi[x].className.replace("aktiv", "");						x++;						if (x<getLi.length) {							getLi[x].className+=" aktiv";								if (x>6 && x<getLi.length) {								getLi[x].className=getLi[x].className.replace("hide", "");									if ((getLi[x-7].className.indexOf('hide'))==-1)									{										getLi[x-7].className+=" hide";									}								}							}						}					}				}			}		}		for (var i=0; i<getLi.length; i++) {			getLi[i].onclick=function() {				for (var x=0; x<getLi.length; x++) {					if ((getLi[x].className.indexOf('aktiv'))!=-1)	{						getLi[x].className=getLi[x].className.replace("aktiv", "");					}				}			this.className+=" aktiv";					}		}	}