function checkForm( formName, arrFormFields )
{
    for ( i=0; i<arrFormFields.length; i++ )
    {
        if ( document.forms[ formName ].elements[ arrFormFields[ i ] ].value == "" )
        {
            alert( "Ihre Angaben sind unvollständig" );
            document.forms[ formName ].elements[ arrFormFields[ i ] ].focus();
            return false;
        }
    }
    return true;
}