function rozbalovac(elementid) { var element=document.getElementById(elementid); //alert(element); element.style.display=(element.style.display=="block")? "none" : "block"; //element.style.display=(action=="expand")? "block" : "none"; } function confirmQuestionsAction() { var actionSelect=document.getElementById("questionsaction"); var action = actionSelect.options[actionSelect.selectedIndex].value; var whichQuestionsSelect=document.getElementById("whichquestions"); var whichQuestions = whichQuestionsSelect.options[whichQuestionsSelect.selectedIndex].value; if (action=='deletequestions') { // Ask only about deletes if (whichQuestionsSelect.selectedIndex==0) { return confirm("Wirklich alle Fragen in diesem Thema löschen?"); } else { return confirm("Wirklich alle gewählte Fragen löschen?"); } } if ((action=='save') && (whichQuestions=='marked')) { return confirm("Änderungen in Fragen, die nicht ausgewählt sind, werden nicht gespeichert. Wollen Sie wirklich nur die gewählte Fragen speichern?"); } return true; } function confirmUsersAction() { var actionSelect=document.getElementById("usersaction"); var action = actionSelect.options[actionSelect.selectedIndex].value; var whichUsersSelect=document.getElementById("whichusers"); if (action=='deleteusers') { // Ask only about deletes if (whichUsersSelect.selectedIndex==0) { return confirm("Wollen Sie wirklich ALLE Benutzer von dieser Gruppe entfernen?"); } else { return confirm("Wollen Sie wirklich alle gewählte Benutzer von dieser Gruppe entfernen?"); } } return true; } function confirmDeleteTheme(themeName) { return confirm('Wirklich das Thema '+themeName+' löschen?' ); } function confirmDeleteGroup(groupName) { return confirm('Wollen Sie wirklich die Gruppe '+groupName+' löschen?' ); } function checkAll(fmobj) { var checked = fmobj.allbox.checked; for (var i=0;i