// Favicon
document.write('<link rel="shortcut icon" href="http://www.becker-druck-verlag.de/bilder/favicon.ico">')


// PopUp
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();
  }


// AGBs überprüfen
function chk_agb()
{
if(document.zwerge.agb.checked != '1') {
alert('Bitte lesen Sie sich die AGB durch.');
document.zwerge.agb.focus();
return false;
}
return true;
}

// DropDown
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();
 }
}

// Anti Spam
function AntiSpam( name, domn, text ) {
if( ! text || text == "" ) text = name + "@" + domn;
document.write( "<a href=\"mailto:" + name + "@" + domn + "\" id=dunkel >" +
text + "</a>" )
}

// Fenstersprung
  function start(){
                  xPos = (screen.availWidth/2-300);
                  yPos = (screen.availHeight/2-250);

                  setTimeout('window.moveTo(xPos,yPos);',100);
                  setTimeout('window.focus();',100);
          }