function hideObject(obj) {
    runHook("hideObject", FBEFORE);

    var theObj = (olNs4 ? obj : obj.style);
    if (olNs6 && olShowId > 0) {