//Browser erkennen
txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p>Browser Name: " + navigator.appName + "</p>";
txt+= "<p>Browser Version: " + navigator.appVersion + "</p>";
txt+= "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt+= "<p>Platform: " + navigator.platform + "</p>";
txt+= "<p>User-agent header: " + navigator.userAgent + "</p>";
if(txt.indexOf("Opera")>0){actBrowser="Opera";}
if(txt.indexOf("Microsoft")>0){ actBrowser="Internetexplorer";}
if(txt.indexOf("Netscape")>0){ actBrowser="Firefox";}
if(txt.indexOf("Safari")>0){ actBrowser="Safari";}
//Browser erkennen ende
height = screen.availHeight;
width = screen.availWidth;
height=height - 244;
height=height + 'px';
if(actBrowser == "Microsoft Internet Explorer"){
//    width = 100%;
}else{
  if(actBrowser == "Safari"){
    width = width - 340;
  }else{
    width = width - 334;
  }
}
width = width + 'px';
document.write('<link rel="shortcut icon" href="http://www.der-ortenauer.de/favicon.ico" type="image/x-icon">');
document.writeln('<style type="text/css">');
document.writeln('div.main {');
document.writeln('        overflow-y: scroll;');
document.writeln('        overflow-x: hidden;');
document.writeln('        height:' + height + ';');
if(actBrowser!=="Internetexplorer"){
  document.writeln('        width:' + width + ';');
}else{
  document.writeln('        width:100%;');
}
document.writeln('}');
document.writeln('</style>');
var my_left ="";
var my_right="";
function dj() {
  alert("it runs");
return
}
