var clearedWall = false;

function enableWall () {
    divAuthor = document.getElementById('wall_author');
    divButton = document.getElementById('wall_submit');
    txtMessage = document.getElementById('txtMessage');
    
    // Clear the text vox
    if (clearedWall == false) txtMessage.value = '';
    
    clearedWall = true;
    
    // Change the class of the textbox
    txtMessage.className = 'wall_textarea_enabled';
    
    // Display the author and button
    divAuthor.style.display = 'block';
    divButton.style.display = 'block';
}

function authorClick() {
    txtAuthor = document.getElementById('WallPost[Author]');
    
    // Clear
    if (txtAuthor.value == 'Anonymous') txtAuthor.value = '';
    
}