function popWin(x,y){
	window.open(x,y,"dependent=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,width=750,height=840");
}


function adresse(){
	var vorne="paul";
	var hinten="zeugs.org";
	var mitte = "@";
	document.write ("<a href = \"mailto:Paul Eigner <" + vorne + mitte + hinten + ">\">paul eigner<\/a>)");
}

function genericPop(myUrl,myWinName,myWidth,myHeight,myPars) {
        var winl = (screen.width - myWidth) / 2;
        var wint = (screen.height - myHeight) / 2;
        parameters = myPars + '';
        if (parameters == '') parameters = ',toolbar=no,location=no,status=no,menubar=no,resizable=yes,scrollbars=yes';
        gwin=window.open(myUrl,myWinName,'width='+myWidth+',height='+myHeight+',left='+winl+',top='+wint+parameters);
        gwin.focus();
}

//* <a href = "javascript:genericPop('/raum_im_raum/uebersicht.html','','750','850','')"> *//

function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}
function neuAufbau () {
  if (Weite != Fensterweite())
    location.href = location.href;
}
if (!window.Weite && window.innerWidth) {
  window.onresize = neuAufbau;
  Weite = Fensterweite();
}
function Breite() {
   if (parseInt(Fensterweite()) > 1800) {
      a = parseInt((Fensterweite() - 60) / 155) * 150 - 95;
   } else {
      a = parseInt((Fensterweite() - 60) / 155) * 155 + 5;;
   } 
   return a;
}


