var config = {
    apiKey: "AIzaSyCBPpzOO2yZbOiNjRlbOooay_aEbq4Ah-k",
    authDomain: "aquaguideandroid.firebaseapp.com",
    databaseURL: "https://aquaguideandroid.firebaseio.com",
    projectId: "aquaguideandroid",
    storageBucket: "aquaguideandroid.appspot.com",
    messagingSenderId: "747886344944"
    };
    firebase.initializeApp(config);
    var db = firebase.database();
    alert("Type message in available textbox, then submit");

//aquaguideandroid/database/aquaguideandroid/data/message
//db.ref("-Users/-message").set("NOTIFICATION: NEW AquaNereda Video Presented by Terry Reid, P.E.");
//db.ref("message").set("NOTIFICATION: NEW AquaNereda Video Presented by Terry Reid, P.E.");

function validateForm(message) {
    var x = message; //document.getElementById("message").value;
    alert(x);
    if (x == "") {
        alert("Message must be filled out");
    }else{
        alert("Message sent");
        db.ref("message").set(x);
         alert("Message sent");
    }
}

@@ -886,36 +886,39 @@
         
-alert(%22M
+db.ref(%22m
 essage
- sent%22
+%22).set(x
 );%0A     
@@ -920,39 +920,37 @@
         
-db.ref(%22m
+ alert(%22M
 essage
-%22).set(x
+ sent%22
 );%0A     
@@ -952,38 +952,66 @@
         
- alert(%22M
+document.getElementById(%22m
 essage
- sent%22)
+%22).innerHTML = ' '
 ;%0A    %7D%0A

Update android.js