window.document.name = "top";
  var status = "closed";
window.onload = function()
 {
	 if(document.getElementById("kegli"))
	 {
	  Element.hide('kegli');
	  Element.hide('eni');
	  Element.hide('reinboth');
	  Element.hide('tonagel');
	  Element.hide('edischerow_1');
	  Element.hide('lehmann');
	  Element.hide('edischerow_2');
	  Element.hide('troeder');
	 }
	if(document.body.offsetWidth > 1150){
		document.cookie = "XL";
	document.getElementById("css_layout").removeAttribute("href");
	document.getElementById("css_layout").setAttribute("href", "styles/home_xl.css");
	if (navigator.appName=="Microsoft Internet Explorer"){
			document.getElementById("css_layout").removeAttribute("href");
			document.getElementById("css_layout").setAttribute("href", "styles/home_xl.css");
	}
	}

 }
 var details_zeigen = function(abschnitt,bild,anker)
 {
	 if(status == "closed")
	  {
		Element.show(abschnitt);
		document.getElementById(bild).src = "../images/ele/pfeil_o.gif";
		status = "open";
	  }
	  else
	  {
		Element.hide(abschnitt);
		document.getElementById(bild).src = "../images/ele/pfeil_r.gif";
		status = "closed";		  
	  }
	  	 window.document.location.href = "#" + anker;
 }
