, * Andreas Oesterreicher */ require_once('../config/vilesci.config.inc.php'); ?> // ---------------------------------------------------------- // ------- CLASS Progressmeter ------------------------------ function Progressmeter(progress_id) { var id=progress_id; var runningprogress=0; this.StopPM=StopPM; this.StartPM=StartPM; function StartPM() { // Progressmeter starten. document.getElementById(id).setAttribute('mode','undetermined'); runningprogress++; } function StopPM() { runningprogress--; if(runningprogress<0) runningprogress=0; // Progressmeter stoppen wenn alle fertig sind if(runningprogress==0) document.getElementById(id).setAttribute('mode','determined'); } } // ------ EndOf CLASS Progressmeter ------------------------------ var globalProgressmeter=new Progressmeter('statusbar-progressmeter'); //globalProgressmeter.StartPM(); function closeWindow() { window.close(); } function onLoad() { try { //Funktion ueberschreiben damit sie nicht nochmal aufgerufen wird //wenn zb ein IFrame geladen wird onLoad=function() {return false}; ressourceTreeLoad(); //Notizen des Users laden notiz = document.getElementById('box-notizen'); notiz.LoadNotizTree('','','','','','','', getUsername(),''); } catch(e) { debug('catched'+e); onLoad=function() {return false}; } } function loadRightFrame() { } function loadURL(event) { var contentFrame = document.getElementById('contentFrame'); var url = event.target.getAttribute('value'); if (url) contentFrame.setAttribute('src', url); }