ns4 = (document.layers)? true:false;
        ie4 = (document.all)? true:false;
        op6 = (navigator.appName == "Opera")? true:false;
        if (navigator.appName.substr(0,1) == "N" && navigator.appVersion.substr(0,1) == "5") {
         ns6 = true;
        } else {
         ns6 = false;
        }
        if (ie4) document.write("<LINK REL='stylesheet' TYPE='text/css' href='inbotec.css'>");
        if (ns4) document.write("<LINK REL='stylesheet' TYPE='text/css' href='inbotec.css'>");
        if (ns6) document.write("<LINK REL='stylesheet' TYPE='text/css' href='inbotec.css'>");
        if (op6) document.write("<LINK REL='stylesheet' TYPE='text/css' href='inbotec.css'>");


function chgSt(lnk, mode, elem) {
        if (document.getElementById) {
                if (mode == 0) {
                        document.getElementById(elem).style.backgroundColor = "#49abcc";
                        lnk.className = "linkAct";
                } else if (mode == 1) {
                        document.getElementById(elem).style.backgroundColor = "";
                        lnk.className = "linkInAct";
                } else if (mode == 2) {
                        document.getElementById(elem).style.backgroundColor = "#49abcc";
                        lnk.className = "linkActSub";
                } else if (mode == 3) {
                        document.getElementById(elem).style.backgroundColor = "";
                        lnk.className = "linkInActSub";
                }else if (mode == 4) {
                        document.getElementById(elem).style.backgroundColor = "#49abcc";
                        lnk.className = "linkActSub2";
                } else if (mode == 5) {
                        document.getElementById(elem).style.backgroundColor = "";
                        lnk.className = "linkInActSub2";
                }else if (mode == 6) {
                        document.getElementById(elem).style.backgroundColor = "#49abcc";
                        lnk.className = "linkActSub3";
                } else if (mode == 7) {
                        document.getElementById(elem).style.backgroundColor = "";
                        lnk.className = "linkInActSub3";
                }
        }
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function neuesfenster()
{
top.name = "main_window";
var popupURL = "begruessung.html";
var popup = window.open(popupURL,"neuesfenster",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=600,height=400');
if( navigator.appName.substring(0,8) == "Netscape" )
{
popup.location = popupURL;
popup.opener = self;
}
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
