function funcPopup(DateiURL) {
        neuesFenster = window.open(DateiURL,"ImageView","width=345,height=265,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0");
		neuesFenster.focus();
}

function funcPopup_b(DateiURL) {
        neuesFenster = window.open(DateiURL,"ImageView","width=520,height=405,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0");
		neuesFenster.focus();
}

function funcPopup2(DateiURL) {
        neuesFenster = window.open(DateiURL,"Anfahrt","width=515,height=600,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0");
		neuesFenster.focus();
}

function funcPopupFlyer(DateiURL) {
        neuesFenster = window.open(DateiURL,"Anfahrt","width=435,height=615,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0");
		neuesFenster.focus();
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
function funcPopupNewsletter() {
        neuesFenster = window.open("newsletter/acknow.php","popup",'width=150,height=120,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0,scrollbars=0');
		neuesFenster.focus();
}

function funcPopup_NTV(DateiURL) {
        neuesFenster = window.open(DateiURL,'neuesFenster','width=980,height=700,left=30,top=30,fullscreen=0,status=0,toolbar=0,titlebar=0,location=0,menubar=0,scrollbars=1');
		neuesFenster.focus();
}


var bgcolor = "#FFFFFF"; //Hintergrundfarbe des Popup 
var text = "#000000"; //Textfarbe im Popup 
var link = "#0000FF"; //Textfarbe bei einem Link- und Bilderrahmenfarbe 
var bildborder = "0"; //Rahmenbreite um das Bild

function OpenWin(bildname,bildurl,bildwidth,bildheight,bildtext,textheight){ 
var winwidth = eval(bildwidth)+(eval(bildborder)*2); 
var winheight = eval(bildheight)+eval(textheight)+(eval(bildborder)*2); 
var bildheight_b = eval(bildheight)+(eval(bildborder)*2); 
output=window.open('','output','left=30,top=30,width=246,height='+winheight+',location=no,toolbar=no,menubar=no,status=no,scrollbars=no,resizable=no'); 
output.document.writeln('<html>'); 
output.document.writeln('<head>'); 
output.document.writeln('<meta http-equiv="content-type" content="text\/html; charset=iso-8859-1">'); 
output.document.writeln('<title>'+bildname+'<\/title>'); 
output.document.writeln('<link rel="stylesheet" href="css/styles.css" type="text/css">');
output.document.writeln('<\/head>'); 
output.document.writeln('<body leftmargin="5" topmargin="5" rightmargin="5">'); 
output.document.writeln('<table border="0" cellpadding="0" cellspacing="0">'); 
output.document.writeln('    <tr>'); 
output.document.writeln('        <td>'); 
output.document.writeln('            <img src="'+bildurl+'" width="'+bildwidth+'" height="'+bildheight+'" border="'+bildborder+'">'); 
output.document.writeln('        <\/td>'); 
output.document.writeln('    <\/tr>'); 
output.document.writeln('    <tr>'); 
output.document.writeln('        <td class="text" width="'+winwidth+'" style="padding:'+bildborder+'px;">'); 
output.document.writeln('            <p align="justify">'+bildtext+'<\/p>');
output.document.writeln('        <\/td>');
output.document.writeln('    <\/tr>');
output.document.writeln('    <tr>'); 
output.document.writeln('        <td>'); 
output.document.writeln(' 			<br><a href="javascript:self.close()" class="links">Fenster schlie&szlig;en<\/a>');
output.document.writeln(' 		</td>'); 
output.document.writeln('    <\/tr>');
output.document.writeln('<\/table>'); 
output.document.writeln('<\/body>'); 
output.document.writeln('<\/html>'); 
output.document.close(); 
}
