// visionix.js   (c) Copyright 2001  by Ossip Kaehr, Steffen Belz, Andreas Schenk, Sven Burdack// ---------------------------------------------------------------------------------------------// zentrale javascript funktionenfunction Is (){    var agt			= navigator.userAgent.toLowerCase();        var app			= navigator.appName.toLowerCase();        var code		= navigator.appCodeName.toLowerCase();    this.major		= parseInt(navigator.appVersion);    this.minor		= parseFloat(navigator.appVersion);        this.nav		= ((agt.indexOf('mozilla') !=-1) &&     					(agt.indexOf('spoofer') ==-1) &&     					(agt.indexOf('compatible') ==-1) &&     					(agt.indexOf('opera') ==-1) &&     					(agt.indexOf('webtv') ==-1));    this.nav4		= (this.nav && (this.major== 4) && (app.indexOf("netscape")!=-1));    this.moz		= ((agt.indexOf('mozilla') !=-1) && (agt.indexOf("netscape")==-1));	    this.moz13		= (this.moz && (this.major== 1) && (app.indexOf("mozilla")!=-1));    this.ie			= (agt.indexOf("msie") !=-1);    this.ie5		= (this.ie && (this.major== 4) && (agt.indexOf("msie 5.0")!=-1));    this.win		= ((agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1));    this.win98		= ((agt.indexOf("win98") !=-1) || (agt.indexOf("windows 98")!=-1));    this.winnt		= ((agt.indexOf("winnt") !=-1) || (agt.indexOf("windows nt") !=-1));    this.win32		= (this.win95 || this.winnt || this.win98 ||     					((this.major >= 4) && (navigator.platform == "Win32")) ||     					(agt.indexOf("win32") !=-1) ||     					(agt.indexOf("32bit") !=-1) );    this.os2		= ((agt.indexOf("os/2") !=-1) ||     					(navigator.appVersion.indexOf("OS/2") !=-1) ||     					(agt.indexOf("ibm-webexplorer") !=-1));    this.mac		= (agt.indexOf("mac")!=-1);    this.sun		= (agt.indexOf("sunos")!=-1);    this.irix		= (agt.indexOf("irix") !=-1);    this.hpux		= (agt.indexOf("hp-ux")!=-1);    this.aix		= (agt.indexOf("aix") !=-1);    this.linux		= (agt.indexOf("inux")!=-1);    this.sco		= (agt.indexOf("sco")!=-1) ||  (agt.indexOf("unix_sv")!=-1);    this.unixware	= (agt.indexOf("unix_system_v")!=-1);    this.sinix		= (agt.indexOf("sinix")!=-1);    this.freebsd	= (agt.indexOf("freebsd") !=-1);    this.bsd		= (agt.indexOf("bsd") !=-1);    this.unix		= ((agt.indexOf("x11") !=-1) 					|| this.sun 					|| this.irix 					|| this.hpux 					|| this.sco 					|| this.unixware 					|| this.sinix 					|| this.aix 					|| this.linux 					|| this.bsd 					|| this.freebsd);    this.vms		= ((agt.indexOf("vax")!=-1) ||  (agt.indexOf("openvms") !=-1));	}var is;/* ------------------------------var isIE3Mac = false;// this section is designed specifically for IE3 for the Macif ((navigator.appVersion.indexOf("Mac") !=-1) &&	(navigator.userAgent.indexOf("MSIE") !=-1) && (parseInt(navigator.appVersion) == 3))       isIE3Mac = true;else   is = new Is();------------------------------ */is = new Is();function sheet(){if (is.mac && is.nav4) {document.write('<link rel="stylesheet" type="text/css" href="system/macstyle-nav4.css">');} else if (is.mac && is.nav) {document.write('<link rel="stylesheet" type="text/css" href="system/macstyle.css">');}else if (is.mac && is.ie5) {document.write('<link rel="stylesheet" type="text/css" href="system/macstyle-ie5.css">');} else if (is.mac && is.ie) {document.write('<link rel="stylesheet" type="text/css" href="system/macstyle-ie.css">');} else if (is.win) {document.write('<link rel="stylesheet" type="text/css" href="system/pcstyle.css">');} else if (is.unix) {document.write('<link rel="stylesheet" type="text/css" href="system/unixstyle.css">');}}function sheet_admin(){if (is.mac && is.nav4) {document.write('<link rel="stylesheet" type="text/css" href="../../macstyle-nav4.css">');} else if (is.mac && is.nav) {document.write('<link rel="stylesheet" type="text/css" href="../../macstyle.css">');}else if (is.mac && is.ie5) {document.write('<link rel="stylesheet" type="text/css" href="../../macstyle-ie5.css">');} else if (is.mac && is.ie) {document.write('<link rel="stylesheet" type="text/css" href="../../macstyle-ie.css">');} else if (is.win) {document.write('<link rel="stylesheet" type="text/css" href="../../pcstyle.css">');} else if (is.unix) {document.write('<link rel="stylesheet" type="text/css" href="../../unixstyle.css">');}}