/*
Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
*/
neues_Fenster = null;
function Zeigen(Bild,Titel,Breite,Hoehe)
{
zu();
setTimeout(function () {sichtbar(Bild,Titel,Breite,Hoehe)}, 250);
}
function sichtbar(Bild,Titel,Breite,Hoehe)
{
var Fenster_Hoehe = Hoehe + 30;
var Fenster_Breite = Breite + 40;
Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,height='+Fenster_Hoehe+',width='+Fenster_Breite;
neues_Fenster = window.open('',Titel,Optionen)
with (neues_Fenster.document)
{
open();
writeln('
' + Titel + '');
writeln('');
writeln('');
writeln('');
writeln('');
writeln('');
writeln('');
writeln(' | ');
writeln('
');
writeln('');
close();
}
}
function zu()
{
if (neues_Fenster != null)
if (!neues_Fenster.closed)
if (neues_Fenster.close)
neues_Fenster.close();
return;
}
function fenster(URL,WINNAME) {
var remote = window.open(URL,WINNAME,'scrollbars=yes,width=500,height=545,resizable=1,toolbar=no,location=no,status=no,left = 250,top = 50');
if (remote != null) {
if (remote.opener == null) {
remote.opener = self;
}
remote.location.href = URL;
}
return;
}
function fenster2(URL,WINNAME,h,w,scrollbars,resizable) {
if (h==null) h=500;
if (w==null) w=500;
if (scrollbars==null) scrollbars='no';
if (resizable==null) resizable=1;
var remote = window.open(URL,WINNAME,'scrollbars='+scrollbars+',width='+w+',height='+h+',resizable=1,toolbar=no,location=no,status=yes');
/*
if (remote != null) {
if (remote.opener == null) {
remote.opener = self;
}
remote.location.href = URL;
}
*/
return;
}
function fenster3(URL,WINNAME,h,w) {
if (h==null) h=500;
if (w==null) w=500;
var remote = window.open(URL,WINNAME,'scrollbars=no,width='+w+',height='+h+',resizable=1,toolbar=no,location=no,status=yes');
if (remote != null) {
if (remote.opener == null) {
remote.opener = self;
}
remote.location.href = URL;
}
remote.oldhref = window.location.href;
remote.focus();
return;
}
function fenster4(URL,WINNAME,h,w,scrollbars,resizable) {
if (h == null) h = 500;
if (w == null) w = 500;
scrollbars = scrollbars != 'yes' ? 'scrollbars=no,' : 'scrollbars=yes,';
resizable = resizable == 'no' ? 'resizable=no,' : 'resizable=yes,';
newwindow = window.open(URL,WINNAME,scrollbars + resizable + 'width=' + w + ',height=' + h + ',status=yes');
newwindow.oldhref = window.location.href;
newwindow.focus();
return;
}
newwindow = null;
function fenster5(URL,WINNAME,h,w,scrollbars,resizable) {
if (h == null) h = 500;
if (w == null) w = 500;
scrollbars = scrollbars != 'yes' ? 'scrollbars=no,' : 'scrollbars=yes,';
resizable = resizable == 'no' ? 'resizable=no,' : 'resizable=yes,';
newwindow = window.open(URL,WINNAME,scrollbars + resizable + 'width=' + w + ',height=' + h + ',status=yes');
if (newwindow != null) {
if (newwindow.opener == null) {
newwindow.opener = self;
}
newwindow.location.href = URL;
}
return;
}