/* Move the Table number and description to the top */ /* Remove the colon from TABLE number */ if ($("div[data-block_type='tb_v5']").length) { /* Remove colon at the end of table number */ var the_text = $("div[data-block_type='tb_v5'] div[data-type='table_text'] span[data-type='number']").text() ; var ind = the_text.indexOf(":") ; the_text = the_text.substr(0, ind) + " " ; $("div[data-block_type='tb_v5'] div[data-type='table_text'] span[data-type='number']").text(the_text) ; var the_div = $("div[data-block_type='tb_v5'] div[data-type='table_text']").detach() ; $("div[data-block_type='tb_v5']").before(the_div) ; } /* if */ /* 1.1 Table 1-1 */ /* Table 1-1 align Table title */ if ($("div[data-type='table_text']").length) { $("div[data-type='table_text'] span[data-type='number']").css("margin-left", "5px").css("padding-left", "10px").css("background-color", "#ebf3fb").css("border-bottom", "0px solid #000000") ; } /* if */ /***********************************************/ /** Add blue stripes next to TABLE 1-1 number **/ if ($("div[data-type='table_text']").length) { if ((/Firefox/.test(navigator.userAgent)) || (/Chrome/.test(navigator.userAgent))) { $("div[data-type='table_text']").before("