﻿// shows all the blocks that have been hidden by the register command.
var blockStartCommands = new Object();
function ShowBlocks() {
    for (var id in blockStartCommands) {
        $("#" + id).css('display', blockStartCommands[id]);
    }
}

function RegisterBlock(bid, display) {
    blockStartCommands[bid] = display;
}

$(document).ready(ShowBlocks);
