/**
 * Fix layout bugs
 */

 function fixBody() {
    var innerBody = document.getElementById("innerBody")
    if (
        navigator.appName == "Netscape" &&
        innerBody != null
    ) {
        innerBody.style.left = "-1px";
    }
 }
 
 function fixHorizontals() {
    if ($(".Content").html() != null) {
        $(".Content").html($(".Content").html().replace(/<hr(.)*>/gi, '<div class="Horizontal"></div>'));
    }
 }
 
 function fix() {
    fixBody();
    fixHorizontals();
 }