function GATE_Check(GoPID,GoCON,GoSID,GoXID,GoKUN,GoSPR) {
  var GoSPR = '';
  GateWindow = window.open('http://www.netdebit.de/secuGAT/GATE?PID='+GoPID+'&CON='+GoCON+'&SID='+GoSID+'&XID='+GoXID+'&sysKUN='+GoKUN+'&SPR='+GoSPR+'','NetDebit','width=780,height=590,top=10,left=10,status=yes');
  GateWindow.focus();
  // return GateWindow;
}


function GATE_NVer(NvPID,NvCON,NvSID,NvSPR) {
  NVerWindow = window.open('http://www.netdebit.de/secuPAR/PART?W=1&PID='+NvPID+'&CON='+NvCON+'&SID='+NvSID+'&SPR='+NvSPR+'','NvNetDebit','width=520,height=700,top=10,left=10,status=yes');
  NVerWindow.focus();
  // return NVerWindow; 
}


function GATE_Dial(CoPID,CoCON,CoSID) {
  ConectWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10');
}


function GATE_Dial_AX(CoPID,CoCON,CoSID) {
  ConectWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10');
}


function GATE_Conect(CoPID,CoCON,CoSID,CoSYS,CoATX) {
  if (CoSYS == 1) { ConectWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10');	}
  if (CoSYS == 2) { ConectWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10');	}
  if (CoSYS == 3) { ConectWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10');	}

  ConectWindow.focus();
  // return ConectWindow;
}


function ND_TelePAY(CoPID,CoCON,CoSID,CoSYS,CoXID,CoAVS) {
  if (CoSYS == 1) { NDTelePAYWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10'); }
  if (CoSYS == 2) { NDTelePAYWindow = window.open('http://www.netdebit-telepay.de/CHECK.php?PID='+CoPID+'&CON='+CoCON+'&SID='+CoSID+'&XID='+CoXID+'&AVS='+CoAVS+'','TelePAY','width=358,height=387,top=10,left=10'); }

  NDTelePAYWindow.focus();
  // return NDTelePAYWindow;
}


function impressum(dx,dy) {
  var w1;
  var h1;
  var w2;
  var h2;
  if ((dx < 0) || (dx > window.screen.width)) w1 = window.screen.width/100*75; else w1 = dx;
  if ((dy < 0) || (dy > window.screen.height)) h1 = window.screen.height/100*75; else h1 = dy;
  w2 = (window.screen.width/2) - (w1/2);
  h2 = (window.screen.height/2) - (h1/2);
  var win2 = window.open('impressum.html','impressum',"width=" + w1 + ",height=" + h1 + ",resizable=0,left=" + w2 + ",top=" + h2 + ",screenX=" + w2 + ",screenY=" + h2 + ",scrollbars=0");
  win2.focus();
}


function disclaimer() {
  var Breite_intern;
  var Hoehe_intern;
  Breite_intern = (window.screen.width/2) - (300);
  Hoehe_intern = (window.screen.height/2) - (260);
  var win2 = window.open('disclaimer.html','disclaimer',"height=520,width=600,resizable=no,left=" + Breite_intern + ",top=" + Hoehe_intern + ",screenX=" + Breite_intern + ",screenY=" + Hoehe_intern + ",scrollbars=yes");
  win2.focus();
}

function hilfe() {
  window.open('http://www.erotikamateure.de/hilfe.php','','toolbar=0,location=0,directories=0,scrollbars=1,status=0,width=450,height=600,left=25,top=25');
}

