  var win=null;

  function NewWindow(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);}
   
   
    // "zu Favoriten" inkl. Fehlermeldung f&uuml;r netscape, zweisprachig.

  function zuFavoriten(FAVOlink,FAVOinfo,sprache) {
    if (sprache == "EN" || sprache == "en") {
    	var msgNS="Sorry, your Browser does not support to add a bookmark automatically.\nPlease press \"Ctrl + D\" to add this page to your bookmarks."; 
    } else {
    	var msgNS="Sorry, das automatische Hinzufügen von Lesezeichen unterstützt Ihr Browser leider nicht.\nBitte drücken Sie \"Strg + D\" um diese Seite zu Ihren Lesezeichen hinzuzufügen."; 
    }
    if (document.all) { 
    	window.external.AddFavorite(FAVOlink,FAVOinfo);
    } else if (document.layers ||(document.getElementById && !document.all)) {
    	alert(msgNS);
    }
  	}
  
   // linkumwandlung in javascript - gibt nichts ab

    function go(link) {
	document.location.href = link;
    }