// JavaScript Document

var actuell = 0;
var index1 = "100";
var altindex1 = "100"; 
var index2 = "200";
var altindex2 = "200";
var actcolor='#006600';
var normcolor='#000000';

function gewaehlt(nr){
  
  if (actuell == "10") {
	  altindex1 = "110"
  } else {
	  altindex1 = "10" + actuell;
  }
  if (nr == "10") {
	  index1 = "110"
  } else {
	  index1 = "10" + nr;
  }
  setTimeout("document.getElementById(altindex1).childNodes[0].nodeValue = '  '", 10);
  setTimeout("document.getElementById(index1).childNodes[0].nodeValue = '»'", 10);
 
  if (actuell == "10") {
	  altindex2 = "210"
  } else {
	  altindex2 = "20" + actuell;
  }
  if (nr == "10") {
	  index2 = "210"
  } else {
	  index2 = "20" + nr;
  }
  setTimeout("document.getElementById(altindex2).style.color = normcolor",10); 
  setTimeout("document.getElementById(index2).style.color = actcolor",10); 
  
  actuell = nr;
}

function pruefe() {
   var a=document.getElementsByName('mainframe')[0];
   var c=mainframe.document.getElementById('inhalt');
   if(document.all&&!window.opera) {
     mainframe.document.body.scroll='no';
	 a.style.height=eval(c.offsetHeight+35)+'px';
	 document.getElementById('left').style.height = eval(c.offsetHeight+31)+'px';
   } else {
     a.scrolling='no';
     a.style.height=eval(c.offsetHeight+35)+'px';
	 document.getElementById('left').style.height = eval(c.offsetHeight+31)+'px';
   }
}

