/*
 * Function for clearing imput fields if they are filled with default values
 * First Parameter ist the Object Reference: This is a DOM object representation of an HTML Element.
 * Most Common Usage by calling this function is "this"
 * Second Param: The default value to be checked for. If the input contains the String given in
 * the Second Parameter as value, the input will be cleared
 */
function clearInput(objRef, value){
    if(objRef.value == value )
        objRef.value = "";
}

/*
 * Vice Versa
 */
function restoreInputInfo(objRef, value){
    if(objRef.value == "")
        objRef.value = value;
}
