baseurl="http://www.hiba.de/fortbildung/2009/"

if (document.all){hauptfenster=top.location;}
else
   {hauptfenster=top.document.location;}
if (document.location == hauptfenster)
  {
        document.location = baseurl+"index.php?seite="+window.document.location;
  }



if (document.all){
        if(navigator.appVersion.indexOf('Mac') !=-1)
                {document.write('<link rel=stylesheet type="text/css" href="'+ baseurl+'css/macie.css">')}
        else
                {document.write('<link rel=stylesheet type="text/css" href="'+ baseurl+'css/pcie.css">')}
        }

else {
                var pcnet = baseurl+"css/pcns.css";
                var macnet = baseurl+"css/macns.css";
                var irixnet = baseurl+"css/linuxns.css";
                var css;
                if(navigator.appVersion.indexOf('Mac') !=-1)
                {        css = macnet;}
                        else if(navigator.appVersion.indexOf('Linux') !=-1 || navigator.appVersion.indexOf('IRIX') !=-1)
                        {css = irixnet;}
                else
                        {css = pcnet;}
                document.write("<link rel=stylesheet type=\"text/css\" href=\""+css+"\">");
         }
