<!--/*Script-Base:		by unknownScript-Changes:		by Mathis brukart, burkart@platzhalter.ch, Juni 2006*/// Some variablesvar base= "img/navigation/"var nrm = new Array();var omo = new Array();var ocl = new Array();var stuff = new Array('navi1','navi2','navi3','navi4','navi5','navi6','navi7','navi8');var select = 1;var name2 = "";var temp = 0;/* variables for main-textnavigation */var Statusnormal ="grey";var Statusselected ="grey_selected";var main_navpoints = 6;var main_navpoints_selected = 0;// preload imagesif (document.images) {	var i;	for (i=0;i<stuff.length;i++) {		nrm[i] = new Image;		nrm[i].src = base + stuff[i] + ".jpg"		omo[i] = new Image;		omo[i].src = base + stuff[i] + "_omo.jpg";		ocl[i] = new Image;		ocl[i].src = base + stuff[i] + "_clic.jpg";	}}// change to rollover imagefunction over(no) {	if (document.images && select != no) {		document.images[stuff[no-1]].src = omo[no-1].src;	}}// reset this navigation-pointfunction out(no) {	if (document.images && select != no) {		document.images[stuff[no-1]].src = nrm[no-1].src;	}}// click on navigationfunction clic(no) {	if (document.images) {		document.images[stuff[no-1]].src = ocl[no-1].src;		temp = select;		select =  no;		if (temp != -1){out(temp)}	}}// reset the sub-navigation to none selectedfunction clic_reset() {	var no;	if(document.images) {		for(no=0;no< stuff.length;no++){			document.images[stuff[no]].src = nrm[no].src;		}		select = -1;		temp = -1;	}}/* script for main-text navigation *//* rollover and out are defined in CSS */function main_select(id,sub) {	var newClass = Statusselected;	var oldClass = Statusnormal;		var id_name;	var identity;	var r;	for(r=1;r<= main_navpoints;r++){		id_name = "main_"+r;		identity = document.getElementById(id_name);		identity.className=oldClass;	}	if(id > 0) {		id_name = "main_"+id;		identity = document.getElementById(id_name);		identity.className=newClass;	}		/* reset or change the sub-naviagtion if main-navigation is clicked */	if(sub != 0){		clic(sub);	} else {		clic_reset();	}}// -->
