// spawnCWScroll.js: Javascript zum Erzeugen des Kindfensters mit Scrollbars

function spawnCWImprint ()
{
	MeinFenster = window.open("/Misc/imprint.html", "Shortcuts1", "resizable=yes,width=270,height=460,scrollbars");
	MeinFenster.focus();
}
function spawnCWContact ()
{
	MeinFenster = window.open("/Misc/contact.html", "Shortcuts2", "resizable=yes,width=650,height=500,scrollbars");
	MeinFenster.focus();
}
function spawnCWTIpkw ()
{
	MeinFenster = window.open("/Service/TechnicalInformationSheets/PKW/frames/index.html", "TIpkw", "resizable=yes,width=650,height=550,scrollbars");
	MeinFenster.focus();
}
function spawnCWTInfz ()
{
	MeinFenster = window.open("/Service/TechnicalInformationSheets/nfz.html", "TInfz", "resizable=yes,width=650,height=400,scrollbars");
	MeinFenster.focus();
}

function openWindow(url,name,breit,hoch,props){
        oben = 50;
        links = 100;
        //oben = (screen.availHeight/2 - hoch/2);
        //links = (screen.availWidth/2 - breit/2);
        window.open(url, "Glasurit", "width=" + breit + ",height=" + hoch + ",top=" + oben + ",left="  + links + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no");
}
