 /* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


function getOffset() {
    if(document.documentElement.clientHeight < document.getElementById("leftBar").offsetHeight || document.documentElement.clientHeight < document.getElementById("rightBar").offsetHeight) {
        document.getElementById("leftBar").style.position = "absolute";
        document.getElementById("rightBar").style.position = "absolute";
    }
}

function showForumControls() {
    var forumForm = document.getElementById("forumForm");
    if(forumForm) {
        if(forumForm.style.visibility != "visible") {
            forumForm.style.visibility = "visible";
            forumForm.focus();
        } else {
            forumForm.style.visibility = "hidden";
        }
    }
    return false;
}
