// JavaScript Document

function setHoverButton() 
    {
    	docLocation = document.location.href;
    	if ((docLocation.lastIndexOf('index') != -1)&&(document.getElementById('index') != null))
  		document.getElementById('index').className = 'indexAktiv';
    	else if ((docLocation.lastIndexOf('about') != -1)&&(document.getElementById('about') != null))
   		document.getElementById('about').className = 'aboutAktiv';
   		else if ((docLocation.lastIndexOf('team') != -1)&&(document.getElementById('team') != null))
   		document.getElementById('team').className = 'teamAktiv';
   		else if ((docLocation.lastIndexOf('table') != -1)&&(document.getElementById('table') != null))
   		document.getElementById('table').className = 'tableAktiv';
      else if ((docLocation.lastIndexOf('photos') != -1)&&(document.getElementById('photos') != null))
   		document.getElementById('photos').className = 'photosAktiv';
   		else if ((docLocation.lastIndexOf('hosts') != -1)&&(document.getElementById('hosts') != null))
   		document.getElementById('hosts').className = 'hostsAktiv';
   		else if ((docLocation.lastIndexOf('sponz') != -1)&&(document.getElementById('sponz') != null))
   		document.getElementById('sponz').className = 'sponzAktiv';
   		else if ((docLocation.lastIndexOf('archiv') != -1)&&(document.getElementById('archiv') != null))
   		document.getElementById('archiv').className = 'archivAktiv';
   		else if ((docLocation.lastIndexOf('contact') != -1)&&(document.getElementById('contact') != null))
   		document.getElementById('contact').className = 'contactAktiv';
    }
    
    function unsetHoverButton () 
    {
      docLocation = document.location.href;
	    if ((docLocation.lastIndexOf('index') != -1)&&(document.getElementById('index') != null))
		  document.getElementById('index').className = 'akt';
	    else if ((docLocation.lastIndexOf('about') != -1)&& (document.getElementById('about') != null))
		  document.getElementById('about').className = 'about';
		  else if ((docLocation.lastIndexOf('team') != -1)&&(document.getElementById('team') != null))
		  document.getElementById('team').className = 'teams';
		  else if ((docLocation.lastIndexOf('table') != -1)&&(document.getElementById('table') != null))
		  document.getElementById('table').className = 'table';
		  else if ((docLocation.lastIndexOf('photos') != -1)&&(document.getElementById('photos') != null))
		  document.getElementById('photos').className = 'photo';
		  else if ((docLocation.lastIndexOf('hosts') != -1)&&(document.getElementById('hosts') != null))
		  document.getElementById('hosts').className = 'hosts';
		  else if ((docLocation.lastIndexOf('sponz') != -1)&&(document.getElementById('sponz') != null))
		  document.getElementById('sponz').className = 'spn';
		  else if ((docLocation.lastIndexOf('archiv') != -1)&&(document.getElementById('archiv') != null))
		  document.getElementById('archiv').className = 'arch';
		  else if ((docLocation.lastIndexOf('contact') != -1)&&(document.getElementById('contact') != null))
		  document.getElementById('contact').className = 'contact';
    }
