            
                // Newsanzeige für Startseite

                //reloads the window if Nav4 resized
                        function MM_reloadPage(init) {
                                 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
                                            document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
                                  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
                        }
                        MM_reloadPage(true);

                        function new_since(y,m,d) {
                                 created = new Date(y, m-1, d);
                                  now = new Date();
                                  days = (now.getTime() - created.getTime()) / 86400000;
                                  if (days < 14) {
                                            document.write("<img src='ressourcen/pics/news_gelb.gif' width='31' height='16'>");
                                  }
                                else if (days < 30) {
                                            document.write("<img src='ressourcen/pics/news_grey.gif' width='31' height='16'>");
                                  }
                        }



