// collection of window-opening functions
// adapted/modified by Klaus Hilsenbeck - www.panocanarias.com
// 25. Jul 2007
// copyright Datum
//  zusatz?  ,'toolbar=no,location=no,scrollbars=no,status=no'

function midfenster(winname,breite,hoehe) {
 var isq=screen.width/2-breite/2;
 var ariba=screen.height/2-hoehe/2;
pan1=window.open(winname, "titel", "width="+breite+",height="+hoehe+",top="+ariba+",left="+isq);
 pan1.focus();
}

function bigfenster(winname) {
 var pantalla_x=screen.width;
 var pantalla_y=screen.height;
 var ariba=0;
 var isq=0;
 pan2=window.open(winname, "titel", "width="+pantalla_x+", height="+pantalla_y+",top="+ariba+",left="+isq);
 pan2.focus();
}

function FullScreen(theURL) {
 window.open(theURL, '', 'fullscreen=yes, resizable=no, status=no, scrollbars=no');}
 
function copydat() {
 var Datum = new Date();
document.write(Datum.getFullYear());
}