                           return false;
                    }

                    if($('#email').val().indexOf('@') == -1 || $('#email').val().indexOf('.') == -1) {
                            alert('Invalid Email.');
                            $('#email').focus();
                            $('#email').select();
                            return false;
                    }

                    // submit the form:
                    $.post("/reqbrochure.php", { firstname:$('#firstname').val(), lastna