//Öffnen von zusätzlichen Fenstern

//Fenster zum Anzeigen von Videos
function showVideoWindow(source,x,y){
	var parameter = "titlebar=No,toolbar=No,location=No,status=No,menubar=No,scrollbars=Yes,resizable=No,width=" + x + ",height=" + y;
	win = window.open(source,"newwindow",parameter);
	moveToX = screen.width / 1.4;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

//Fenster zum Anzeigen von DB-Records
function showWindow(source,name,x,y){
	var parameter = "titlebar=No,toolbar=No,location=No,status=No,menubar=No,scrollbars=Yes,resizable=No,width=" + x + ",height=" + y;
	win = window.open(source,name,parameter);
	moveToX = screen.width / 1.4;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

//Fenster zum Bearbeiten von DB-Records
function altWindow(source,x,y){
	var parameter = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + x + ",height=" + y;
	win = window.open(source,"newwindow",parameter);
	moveToX = screen.width / 1.4;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

function altSubWindow(source,x,y,winInstanz){
	var parameter = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + x + ",height=" + y;
	win = window.open(source,winInstanz,parameter);
	moveToX = screen.width / 1.4;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

//Fenster zum Löschen von DB-Records
function delWindow(source,x,y){
	var parameter = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + x + ",height=" + y;
	var win = window.open(source,"newwindow",parameter);
	var moveToX = screen.width / 1.5;
	var moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

//Fenster für Infotext
function infoWindow(source,x,y){
	var parameter = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + x + ",height=" + y;
	win = window.open(source,"newwindow",parameter);
	moveToX = screen.width / 3;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}

//Fenster für Hilfetext
function helpWindow(source,x,y){
	var parameter = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + x + ",height=" + y;
	win = window.open(source,"newwindow",parameter);
	moveToX = screen.width / 1.4;
	moveToY = screen.height / 3.2;
	win.moveTo(screen.width-moveToX,moveToY);
	win.focus();
}


