function onSubmitForm() {
    var formDOMObj = document.frmSend;
    if (formDOMObj.attach1.value == "" && formDOMObj.FILE.value == "" )
        alert("Please press the Browse button and pick a file.")
    else
        return true;
    return false;
}