// Formchecker kontakt.php - Anfang
function kontaktchk()
  {
//NAME
//**************************************
     if(document.kontakt.name.value == "")
    {
     alert("Geben Sie bitte Ihren Namen ein");
     document.kontakt.name.focus();
     return false;
    }
    
//EMAIL
//**************************************    
    
//    if((document.kontakt.email.value != "") && (document.kontakt.email.value.indexOf('@') == -1))
//    {    
//     alert("In Ihrer eMail-Adresse fehlt das '@'!");
//     document.kontakt.email.focus();
//     return false;
//    }

//TOPIC
//**************************************
     if(document.kontakt.topic.value == "")
    {
     alert("Geben Sie bitte einen Betrefftext ein");
     document.kontakt.topic.focus();
     return false;
    }

//COMMENT
//**************************************
     if(document.kontakt.comment.value == "")
    {
     alert("Bitte geben Sie Ihre Anfrage ein");
     document.kontakt.comment.focus();
     return false;
    }
}
// Formchecker kontakt.php - Ende


// Formchecker addtopic.php - Anfang
function addtopicchk()
  {
//NAMEDB
//**************************************
     if(document.addtopic.namedb.value == "")
    {
     alert("Geben Sie bitte Ihren Namen ein");
     document.addtopic.namedb.focus();
     return false;
    }
    
//EMAILDB
//**************************************    
    
//    if((document.addtopic.emaildb.value != "") && (document.addtopic.emaildb.value.indexOf('@') == -1))
//    {    
//     alert("In Ihrer eMail-Adresse fehlt das '@'!");
//     document.addtopic.emaildb.focus();
//     return false;
//    }

//TOPIC
//**************************************
     if(document.addtopic.topic.value == "")
    {
     alert("Geben Sie bitte einen Betrefftext ein");
     document.addtopic.topic.focus();
     return false;
    }

//COMMENT
//**************************************
     if(document.addtopic.comment.value == "")
    {
     alert("Bitte geben Sie Ihren Beitrag ein");
     document.addtopic.comment.focus();
     return false;
    }
}
// Formchecker addtopic.php - Ende

// Formchecker showtopic.php - Anfang
function showtopicchk()
  {
//NAMEDB
//**************************************
     if(document.showtopic.namedb.value == "")
    {
     alert("Geben Sie bitte Ihren Namen ein");
     document.showtopic.namedb.focus();
     return false;
    }
    
//EMAILDB
//**************************************    
    
    if((document.showtopic.emaildb.value != "") && (document.showtopic.emaildb.value.indexOf('@') == -1))
    {    
     alert("In Ihrer eMail-Adresse fehlt das '@'!");
     document.showtopic.emaildb.focus();
     return false;
    }

//SUBTOPICINS
//**************************************
     if(document.showtopic.subtopicins.value == "")
    {
     alert("Geben Sie bitte einen Betrefftext ein");
     document.showtopic.subtopicins.focus();
     return false;
    }

//SUBCOMMENTINS
//**************************************
     if(document.showtopic.subcommentins.value == "")
    {
     alert("Bitte geben Sie Ihren Beitrag ein");
     document.showtopic.subcommentins.focus();
     return false;
    }
}
// Formchecker showtopic.php - Ende