//***** NaviLoad: lädt mehrere seiten in verschiedene Frames

function NaviLoad(a,b,c)
 { 
  parent.navi.document.location.href=a;
  parent.inhalt.document.location.href=b;
  parent.rechts.document.location.href=c;
 }
// ----------------------- Ende NaviLoad -----------------------
 
 
 
 
//*****  popUpWin: öfnnet ein Pop-Up mit individuellen Eigenschaften und schließt das letzte Pop-Up automatisch
 
var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, '111', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

//  Aufruf: 
//<a href="javascript:popUpWindow('linkorthopaedie.htm', 50, 50, 750, 500)')">Orthop&auml;die</a>

// ----------------------- Ende popUpWin -----------------------




//*****  PopUp: Größe des Fensters wird automatisch an das Bild angepasst

function PopUp(a)
{ 
if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
popUpWin = open (a, 'popup', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,left=20,top=20,width=5,height=5')
}

var nnr=0;
function WindowResize() {
  if (navigator.appName == 'Netscape') nnr=10;
  if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-nnr);
  self.focus();
  
}
//Aufruf:
// javascript:PopUp('popups/staubsk.htm');
// ----------------------- Ende PopUp -----------------------

