function open_popup(url,popwidth,popheight) { var popup; popup = window.open(url,'survey',"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0,width="+popwidth+",height="+popheight); } function toggledisplay (id, indicator){ if (document.getElementById) { var obj = document.getElementById(id); var indi = document.getElementById(indicator); obj.style.display = (obj.style.display=='block'?'none':'block'); indi.innerHTML = (obj.style.display=='block'?'weniger info V':'mehr info >'); } else if(document.all) { // IE id.style.display = (id.style.display=='block'?'none':'block'); indi.innerHTML = (id.style.display=='block'?'weniger info V':'mehr info >'); } else if (document.layers) { // Netscape 4.x document.id.style.display = (document.id.style.display=='block'?'none':'block'); document["indicator"].document.open(); if (document.id.style.display=='block') document["indicator"].document.write('weniger info V'); if (document.id.style.display!='block') document["indicator"].document.write('mehr info >'); document["indicator"].document.close(); } } // Funktion zum Auslesen von URL-Parametern function BekommeWert(a) { res = ''; s = location.search; if(s.indexOf('?') != -1){s = s.substring(1,s.length)} while(s != '') { b = s.substring(0,s.indexOf('=')); c = s.substring(s.indexOf('=')+1,s.indexOf('&')); if(s.indexOf('&') == -1) {c = s.substring(s.indexOf('=')+1,s.length);} if(b == a){res = c; break;} if(s.indexOf('&') == -1){s = '';} else{s = s.substring(s.indexOf('&')+1,s.length)} } return unescape(res); }