﻿function fix() {
	
	//Netscape4 CCS-Bug beheben
	if (document.layers)
      {
      var startbreite = window.innerWidth;
      var starthoehe = window.innerHeight;

      window.onresize = StylesLost;
      }

      function StylesLost()
      {
      if (document.layers && window.innerWidth != startbreite || window.innerHeight != starthoehe)
      {
      window.location.reload();
      }
      }
 
/*   
    // die geladenen Hintergrundbilder zeigen
    
    document.getElementById("vorhang").style.display = "block";
    document.getElementById("wanne").style.display = "block";
    
    // Bild (Marat) animieren
    
    through = 0;
    timerID = setInterval ("startBlase()", 1000);
*/
}

/*
function startBlase()
{
  document.getElementById("blase").style.display = "block";
  if (through == 1)
  {
    document.getElementById("blase").style.display = "none";
    clearInterval (timerID);
  }
  through++;
}
*/

//Ein- Ausblenden
function toggle(targetId) {
	if (document.getElementById) {
		target = document.getElementById(targetId);
		if (target.style.display == "none") {
			target.style.display = "";
		} else {
			target.style.display = "none";
		}
	}
}