ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ) && (navigator.appVersion) < 5)
ns5 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 5 ))

geladen = false;

if (ns4)
{
    layerRef="document.layers";
    styleRef="";
    WidthRef=".clip.right";
    HeightRef=".clip.bottom";
}
if (ie4)
{
    layerRef="document.all";
    styleRef=".style";
    WidthRef=".posWidth";
    HeightRef=".posHeight";
}


var popupOpened = ''

function showPopup(which) {
	popupOpened = which;
	document.getElementById("popupOverlay").style.display = "block";
	document.getElementById(which).style.visibility='visible';
	document.getElementById("divpopupX").style.visibility = "visible";
}


function hidePopup() {
	document.getElementById("popupOverlay").style.display = "none";
	document.getElementById(popupOpened).style.visibility='hidden';
	document.getElementById("divpopupX").style.visibility = "hidden";
}

function oeffnefenster(url, breite, hoehe)
{
        now = new Date();
        var time = now.getTime();

        NeuesFenster = window.open(url, time, 'width='+breite+',height='+hoehe+',scrollbars,resizable=yes');
}

