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.

$(function () { 
    $('#navlist li').hover(
        function () {
            //show its submenu
            $('ul', this).slideDown(100);
 
        }, 
        function () {
            //hide its submenu
            $('ul', this).slideUp(100);         
        }
    );
});

