
function menuset(pfad, bezeichnung){
  	   var doc=top.stabilo.menu.document.title;
		if(doc==bezeichnung){
		}			
		else{
			top.stabilo.menu.location.href=pfad
		}
 }


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


function openWindow (newWindowURL, opener, w, h) {
  var pp = window.open(newWindowURL, "pp", opener);
  pp.moveTo((screen.availWidth - w) / 2,(screen.availHeight - h) / 2);
  window.blur()
}














function zoomWindow(mypage,myname,w,h,scroll,pos){




if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}




if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}




else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}




settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';




win=window.open(mypage,myname,settings);




}

