function del_protokoll(name,id) {
Check = confirm('Soll die Datei \"' + name + '\" wirklich gelöscht werden? \n\n ');
if(Check != false) self.location.href='protokolle_loeschen.php?id=' + id;
            }

function del_adressliste(name,id) {
Check = confirm('Soll die Datei \"' + name + '\" wirklich gelöscht werden? \n\n ');
if(Check != false) self.location.href='adressliste_loeschen.php?id=' + id;
            }

function del_dokumente(name,id) {
Check = confirm('Soll die Datei \"' + name + '\" wirklich gelöscht werden? \n\n ');
if(Check != false) self.location.href='dokumente_loeschen.php?id=' + id;
            }


function del_rundbrief(name,id) {
Check = confirm('Soll die Datei \"' + name + '\" wirklich gelöscht werden? \n\n ');
if(Check != false) self.location.href='rundbriefe_loeschen.php?id=' + id;
            }

function del_unternehmertum(name,id) {
Check = confirm('Soll die Datei \"' + name + '\" wirklich gelöscht werden? \n\n ');
if(Check != false) self.location.href='herausforderung_unternehmertum_loeschen.php?id=' + id;
            }

// Favicon
document.write('<link rel="shortcut icon" href="http://www.sdw-erfurt-ilmenau.de/bilder/favicon.ico">')


// Funktionen
function PopUp(loc,b,h,sc)
  {
      PopUpWin =
      window.open(loc, "popup_normal", "width="+b+",height="+h+",scrollbars="+sc);
      PopUpWin.focus();
  }

function PopUpOhne(loc,b,h,sc)
  {
      PopUpWin =
      window.open(loc, "popup_ohnealles", "width="+b+",height="+h+",menubar=no,locationbar=no,personalbar=no,statusbar=no,toolbar=no,scrollbars="+sc);
      PopUpWin.focus();
  }

function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else if(x == "end")
   top.location.href = parent.frames[1].location;
 else {
   location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}

  function start(){
                  xPos = (screen.availWidth/2-300);
                  yPos = (screen.availHeight/2-250);

                  setTimeout('window.moveTo(xPos,yPos);',100);
                  setTimeout('window.focus();',100);
          }


// Anti Spam
function AntiSpam( name, domn, text ) {
if( ! text || text == "" ) text = name + "@" + domn;
document.write( "<a href=\"mailto:" + name + "@" + domn + "\">" +
text + "</a>" )
}

// Anti Spam nur in orangener Farbe der Link
function AntiSpamOrange( name, domn, text ) {
if( ! text || text == "" ) text = name + "@" + domn;
document.write( "<a href=\"mailto:" + name + "@" + domn + "\" id='orange'>" +
text + "</a>" )
}