// JavaScript Document
function launchwin(winurl, winname, breite, hoehe) {
		var args = launchwin.arguments;
		var offx = args[4];
		var offy = args[5];
		var InternetExplorer = navigator.appName.indexOf("Microsoft") == 0;
        var startWin;
        var ns = (document.layers) ? 1 : 0;
        var ie = (document.all) ? 1 : 0;

        var theHref = winurl;
        var Xpos = (screen.availWidth - breite) / 2;
        var Ypos = (screen.availHeight - hoehe) / 2-24;
        var startXY = ie ? ('left='+Xpos+',top='+Ypos) : ('screenX='+Xpos+',screenY='+Ypos);
        
        if (startWin != null && !startWin.closed) {
                startWin.location.href = theHref;
            startWin.moveTo(Xpos,Ypos);
            } else {
                startWin = window.open(theHref,winname,'width='+breite+',height='+hoehe+','+startXY+',scrollbars=yes');
            }
            startWin.focus();
            return;
}