// Browserchecks safari = (navigator.appVersion.indexOf("Safari")!=-1) ? true : false; moz = (navigator.appName.indexOf("Netscape")!=-1) ? true : false; isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false; opera = (navigator.userAgent.indexOf("Opera")!=-1) ? true : false; ie55 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.5")!=-1)) ? true : false; ie6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6")!=-1)) ? true : false; isIE = ((document.all)&&(navigator.appVersion.indexOf("MSIE")!=-1)) ? true : false; ie7plus = ((document.all)&&(navigator.appVersion.indexOf("MSIE")!=-1)&&(navigator.appVersion.charAt(navigator.appVersion.indexOf('MSIE')+5)>=7)) ? true : false; IEmac = ((document.all)&&(isMac)) ? true : false; NS4 = (document.layers) ? true : false; if (isMac) document.write(''); if (safari) document.write(''); // Funktion, die vor dem Seitenaufbau aufgerufen wird function preOnResize() { document.write(''); } // Funktion, die nach Fenstergr-Aenderung aufgerufen wird function myOnResize() { var con = document.getElementById("content"); if (isIE && !ie7plus) { content_min_height = (getViewportHeight()-340)+"px" ; if (con) con.style.height = content_min_height; }else{ content_min_height = (getViewportHeight()-335)+"px" ; if (con) con.style.minHeight = content_min_height; } } // Liefert Breite des nutzbaren Sichtbereichs function getViewportWidth() { if (document.body) return document.body.offsetWidth; if (document.documentElement) return document.documentElement.offsetWidth; var w = self.innerWidth || (document.documentElement.clientWidth || document.body.clientWidth); if (isIE) return w-16; //im IE ist der Scroller immer sichtbar else return w; } // Liefert Höhe des nutzbaren Sichtbereichs function getViewportHeight() { var h = self.innerHeight || (document.documentElement.clientHeight || document.body.clientHeight); return h; } // Liefert Fensterbreite function getWinWidth() { return getWinSize()[0]; } // Liefert Fensterhoehe function getWinWidth() { return getWinSize()[1]; } // Liefert Fenstergroesse function getWinSize() { var myWidth = 0; var myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } return Array(myWidth,myHeight); } // Fenster oeffnen function openWin( url, name, xsize, ysize ) { if (win!=null) win.close(); var features = ''; if (arguments.length>2) features = 'resizable=no,hotkeys=no,menubar=no,locationbar=no,status=yes,width='+xsize+',height='+ysize; win = window.open(url ,name , features); win.focus(); } // Felder sichtbar machen fuer Gruppen-Seite var shownSubU_id=''; function showSubUntern( id ) { if (shownSubU_id!=id) { var subU = document.getElementById(id); subU.style.display = "block"; var subU = document.getElementById(shownSubU_id); if (subU) subU.style.display = "none"; shownSubU_id = id; } } // Ein/Ausblenden function showHide( id ) { var el = document.getElementById(id); if (el.style.display == "none") el.style.display = "block"; else el.style.display = "none"; }