
function openImpress(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'FImpress','width=460,height=307,left=270,top=213,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'FImpress','width=460,height=307,left=164,top=130,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openKDetail(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'FKDetail','width=476,height=274,left=263,top=230,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'FKDetail','width=476,height=274,left=156,top=146,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openFInfo(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'FFInfo','width=610,height=330,left=197,top=200,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'FFInfo','width=610,height=330,left=87,top=117,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openVInfo(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'FVInfo','width=476,height=274,left=263,top=230,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'FVInfo','width=476,height=274,left=156,top=146,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openDzInfo(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'DzInfo','width=320,height=500,left=192,top=160,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'DzInfo','width=320,height=500,left=196,top=10,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openMNGal(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'MNGal','width=610,height=330,left=197,top=200,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'MNGal','width=610,height=330,left=87,top=117,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openAKInfo(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'AKInfo','width=420,height=500,left=192,top=160,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'AKInfo','width=420,height=500,left=196,top=10,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function openKDruck(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'KDruck','width=702,height=492,left=150,top=121,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'KDruck','width=702,height=492,left=43,top=37,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
}
}


function openGBuch(sURL) {
if(screen.height >= 768) {
nWdw=open(sURL,'GBuch','width=747,height=504,left=132,top=115,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
else {
nWdw=open(sURL,'DPlan','width=747,height=504,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=0,toolbar=0,status=0,directories=0');
}
}


function showImg(sURL) {
if(screen.height >= 768) {
nWdw=open('','Wdw','width=990,height=690,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
else {
nWdw=open('','Wdw','width=767,height=523,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
}


function showImgUv(sURL) {
if(screen.height >= 768) {
nWdw=open('','Wdw','width=990,height=690,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="../gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
else {
nWdw=open('','Wdw','width=767,height=523,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="../gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
}


function showImgG(sURL) {
if(sURL == "nichts") {
document.forms[0].elements[0].blur();
return;
}
else {
if(screen.height >= 768) {
nWdw=open('','Wdw','width=990,height=690,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
else {
nWdw=open('','Wdw','width=767,height=523,left=10,top=10,menubar=0,location=0,resizable=0,scrollbars=1,toolbar=0,status=0,directories=0');
nWdw.document.open();
with (nWdw.document) {
write('<HTML>');
write('<HEAD>');
write('<TITLE>LeNi - Lebendiges Niederkirchen e. V.</TITLE>');
write('<STYLE TYPE="text/css">INPUT, TD { FONT-FAMILY: MS SANS SERIF, ARIAL, HELVETICA; FONT-SIZE: 10PT; }</STYLE>');
write('</HEAD>');
write('<BODY BGCOLOR="#FFFFFF" BACKGROUND="gif/fgalbg.gif" TEXT="#000000" LEFTMARGIN="14" TOPMARGIN="14" MARGINWIDTH="14" MARGINHEIGHT="14">');
write('<CENTER>');
write('<TABLE BORDER="2" CELLPADDING="0" CELLSPACING="0"><TR><TD><A HREF="JavaScript:self.close()"><IMG SRC="' , sURL , '" BORDER="O" ALT="Linksklick auf das Foto schließt das Fenster!"></A></TD></TR></TABLE>');
write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD HEIGHT="58" VALIGN="bottom"><FORM><INPUT TYPE=BUTTON VALUE="     Drucken    " ONCLICK="JavaScript:window.print()">&nbsp;&nbsp;&nbsp;<INPUT TYPE=BUTTON VALUE="   Schlie&szlig;en   " ONCLICK="JavaScript:parent.window.close()"></FORM></TD></TR></TABLE>');
write('</CENTER>');
write('</BODY>');
write('</HTML>');
}
nWdw.document.close();
}
}
}


function selVKal(sURL) {
if(sURL == "nichts") {
document.forms[0].elements[0].blur();
return;
}
else {
parent.frames[1].location.href = sURL;
document.forms[0].elements[0].blur();
}
}


function selAPage(sURL) {
if(sURL == "nichts") {
document.forms[0].elements[0].blur();
return;
}
else {
parent.frames[1].location.href = sURL;
document.forms[0].elements[0].blur();
}
}


function chkGBuch() {
if(document.Formular.User.value == "") {
alert("Bitte geben Sie Ihren Namen an!");
document.Formular.User.focus();
return false;
}
if(document.Formular.Mail.value == "") {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Mail.value.indexOf('@') == -1) {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Mail.value.indexOf('.') == -1) {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Kommentar.value == "") {
alert("Bitte schreiben Sie einen kurzen Kommentar!");
document.Formular.Kommentar.focus();
return false;
}
}


function chkDUpload() {
if(document.Formular.Bilddatei.value == "") {
alert("Bitte waehlen Sie eine Bilddatei aus!");
document.Formular.Bilddatei.focus();
return false;
}
if(document.Formular.Bilddatei.value.indexOf(':') == -1) {
alert("Bitte waehlen Sie eine Bilddatei aus!");
document.Formular.Bilddatei.focus();
document.Formular.Bilddatei.select();
return false;
}
if(document.Formular.User.value == "") {
alert("Bitte geben Sie Ihren Namen an!");
document.Formular.User.focus();
return false;
}
if(document.Formular.Mail.value == "") {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Mail.value.indexOf('@') == -1) {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Mail.value.indexOf('.') == -1) {
alert("Bitte geben Sie Ihre E-Mail-Adresse an!");
document.Formular.Mail.focus();
document.Formular.Mail.select();
return false;
}
if(document.Formular.Kommentar.value == "") {
alert("Bitte schreiben Sie einen kurzen Kommentar!");
document.Formular.Kommentar.focus();
return false;
}
}


function chkWLink() {
if(document.Formular.Titel.value == "") {
alert("Bitte geben Sie den Titel der Seite an!");
document.Formular.Titel.focus();
return false;
}
if(document.Formular.Adresse.value == "") {
alert("Bitte geben Sie die Adresse der Seite an!");
document.Formular.Adresse.focus();
document.Formular.Adresse.select();
return false;
}
if(document.Formular.Adresse.value == "http://") {
alert("Bitte geben Sie die Adresse der Seite an!");
document.Formular.Adresse.focus();
document.Formular.Adresse.select();
return false;
}
}


function chkFBack() {
if(document.Formular.Betreff.options.selectedIndex == "0") {
alert("Bitte waehlen Sie einen Betreff aus!");
document.Formular.Betreff.focus();
return false;
}
if(document.Formular.Betreff.options.selectedIndex == "1") {
alert("Bitte waehlen Sie einen Betreff aus!");
document.Formular.Betreff.focus();
return false;
}
if(document.Formular.Sonstiges.value == "Bitte geben Sie hier einen eigenen Betreff ein!") {
alert("Bitte geben Sie einen Betreff an!");
document.Formular.Sonstiges.focus();
document.Formular.Sonstiges.select();
return false;
}
}


function selFBack(x) {
if(x == "Benutzerdefiniert") {
document.Formular.action = "mailto:Info@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "Bitte geben Sie hier einen eigenen Betreff ein!";
document.Formular.Sonstiges.focus();
document.Formular.Sonstiges.select();
document.forms[0].elements[0].blur();
return;
}
if(x == "Gespr&auml;chszirkel") {
document.Formular.action = "mailto:Zirkel@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Areal Zehntscheune") {
document.Formular.action = "mailto:Zehntscheune@Lebendiges-Niederkirchen.org?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Dorfzeitung") {
document.Formular.action = "mailto:Zeitung@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Festveranstaltungen") {
document.Formular.action = "mailto:Veranstaltungen@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Historie & Kalender") {
document.Formular.action = "mailto:Historie@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Homepage") {
document.Formular.action = "mailto:Homepage@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Projekt Kunst & Kultur") {
document.Formular.action = "mailto:Kultur@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Literarische Soire&eacute;") {
document.Formular.action = "mailto:Soiree@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Malkreis Niederkirchen") {
document.Formular.action = "mailto:Malkreis@Lebendiges-Niederkirchen.org?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
if(x == "Musikensemble Niederkirchen") {
document.Formular.action = "mailto:Musikensemble@Lebendiges-Niederkirchen.org?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
return;
}
else {
document.Formular.action = "mailto:Verein@Lebendiges-Niederkirchen.de?subject=Feedback zur Vereinsarbeit";
document.Formular.Sonstiges.value = "";
document.forms[0].elements[0].blur();
}
}
