<!--

var fenster = null;

// Popup Funktion -----------------------------------------------------------------------

function popup(address,x_cor,y_cor,name,scrollbars,menu) {	

		var lmargin = (screen.width - x_cor) / 2;
		var tmargin = (screen.height - y_cor) / 2;

		var str = "height="+ y_cor;
		str += ",width=" + x_cor;
  		str += ",resize=no";

		str += ",top=" + tmargin;
		str += ",left=" + lmargin;

  		str += ",scrollbars="+ scrollbars;
		str += ",menubar="+ menu;

		if (fenster) {
			fenster.close();
		}

  	    fenster = open("",name,str);
        fenster.document.open();
        fenster.location.href = address;
 
		fenster.opener = window;
		fenster.opener.name = "bio_mainframe";    
    	fenster.focus();   
                       
    };

// Popup Funktion für Formular ----------------------------------------------------------

function popupnewsletter(form,x_cor,y_cor,name) {

		var lmargin = (screen.width - x_cor) / 2;
		var tmargin = (screen.height - y_cor) / 2;

        var str = "height="+ y_cor;
		str += ",width=" + x_cor;
  		str += ",resize=no";

		str += ",top=" + tmargin;
		str += ",left=" + lmargin;
  		
  	    fenster = open("",name,str);
    	fenster.focus();
        fenster.document.open();
        fenster.location.href = "/features/newsletter.php?nemail=" + document.nemail.nemail.value;             
        fenster.document.close();
  
  		return false;  
 	
        };
//-->