// JavaScript Document
top.document.title = "Ahnefeld & Kollegen - Legal Services | Kanzlei für Wirtschafts- und Gesellschaftsrecht | Berlin & Stuttgart - Rechtsanw&auml;ltin Janin Ahnefeld - Rechtsanwalt, Kanzlei";

function switchLang(){
	if(self.location.pathname.indexOf("/deu/") > -1){
		self.location.href = self.location.pathname.replace("/deu/", "/eng/");
		}
	if(self.location.pathname.indexOf("/eng/") > -1){
		self.location.href = self.location.pathname.replace("/eng/", "/deu/");
		}
	}
function initInhalt(){
	document.getElementsByTagName("body")[0].style.paddingTop = "10px";
}
function initBasis(){
	var breite_fenster = top.document.body.clientWidth;
	var breite_spalte_links = 250;
	var breite_spalte_rechts = 250;
	var breite_mitte;
	
	breite_mitte = breite_fenster - breite_spalte_links - breite_spalte_rechts;
	
	document.getElementById("tdHaupt").style.width = breite_mitte+"px";
	
	//alert("breite_mitte: "+breite_mitte);
	
	if(navigator.appName != "Netscape"){
		// nur IE
		document.getElementById("tdMenu1").style.paddingTop = "10px";
	}
	//document.getElementById("tdBody").style.height = (document.documentElement.clientHeight*0.95)+"px";
}
