// stellt die Bildschirmabmessungen fest
// Positionsberechnung


function dimension() {
var ns6 = (!document.all && document.getElementById);
var ie4 = (document.all);
var ns4 = (document.layers);
if(ns6||ns4) {
breite = innerWidth;
hoehe = innerHeight;
}
else if(ie4) {
breite = document.body.clientWidth;
hoehe = document.body.clientHeight;
}
return
}


var popup1 = null;
function popwin1(url,w,h,s,r)
{
  x=screen.width/2;
  x=x-w/2;
  y=screen.height/2;
  y=y-h/2;

if (popup1 && !popup1.closed) {
        popup1.focus();
        popup1.location.reload();
    }
    else {

  popup1=window.open(url,'win1','width='+ w +',height='+ h +',left=' + x +',top='+ y +',directories=0,status=0,scrollbars='+s +',resizable='+ r + ',menubar=0,locationbar=0')
    }

}



