function Info(vnr,pfad,flag) {
	mylink=pfad + "info_fenster.php?VNR=" + vnr +"&flag=" + flag;
	
	sX =  screen.width/2-264;
	sY = screen.height/2-157;
	MeinFenster =
	window.open(mylink,"info","width=554,height=314,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster.moveTo(sX,sY);
	MeinFenster.focus();
}

function Buchen(vnr,pfad) {
	mylink=pfad + "buchen_fenster.php?VNR=" + vnr;
	sX =  screen.width/2-260;
	sY = screen.height/2-200;
	MeinFenster2 =
	window.open(mylink,"buchen","width=520,height=400,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster2.moveTo(sX,sY);
	MeinFenster2.focus();
}

function EasyTicket(vnr,etid,pfad2) {
	//mylink2=pfad2 + "et_agb.php?VNR=" + vnr + "&etid=" + etid;
	mylink2 = "https://www.easyticket.de/shop/index.php?affi=7&clear=true&noback=true&veranstnr=" + etid;
	sX2 =  screen.width/2-400;
	sY2 = screen.height/2-365;
	MeinFenster3 =
	window.open(mylink2,"EasyTicket","width=830,height=700,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster3.moveTo(sX2,sY2);
	MeinFenster3.focus();
}

function Empfehlen(vnr,pfad) {
	mylink=pfad + "empfehlen_fenster.php?VNR=" + vnr;
	sX =  screen.width/2-260;
	sY = screen.height/2-200;
	MeinFenster2 =
	window.open(mylink,"empfehlen","width=520,height=500,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster2.moveTo(sX,sY);
	MeinFenster2.focus();
}

function Abofenster(abotyp, JS) {
	//mylink="../abo_bestellen.php";
	mylink="abo_bestellen.php?JS=" + JS + "&abokat_r=" + abotyp;
	
	sX =  screen.width/2-170;
	sY = screen.height/2-150;
	MeinFenster2 =
	window.open(mylink,"abotest","width=347,height=360,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster2.moveTo(sX,sY);
	MeinFenster2.focus();
} 

function sitzplan(datei, pfad) {
	mylink=pfad + datei;
	
	sX =  screen.width/2-335;
	sY = screen.height/2-200;
	MeinFenster2 =
	window.open(mylink,"sitze","width=670,height=400,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster2.moveTo(sX,sY);
	MeinFenster2.focus();
} 

function benachrichtigen(datei) {
	mylink= datei;
	
	sX =  screen.width/2-235;
	sY = screen.height/2-200;
	MeinFenster2 =
	window.open(mylink,"benachrichtigen","width=470,height=400,screenX=sX,screenY=sY,toolbar=0,menubar=0,location=0,resizable=0,scrollbars=yes"); 
	MeinFenster2.moveTo(sX,sY);
	MeinFenster2.focus();
} 