// JavaScript Document

function ClearInput(value, id) { // This calls our function ClearInput, and the two variables we will need for it to function the original value and the id.
    var input = document.getElementById(id); // Gets the input field based on its id.

    if (value == input.value) { // If the default value is equal to the current value.
        input.value = ''; // Empty It.
    } else { // Else the value is not equal to the current input field value.
        input.value = input.value; // Leave it the same.
    } // End Else.
} // Close Function.
