var counter = 0;
function CM8ShowAdMargin(format) {
    if (CM8ShowAd == undefined) {
        setTimeout("CM8ShowAdMargin(\""+ format + "\")", 100);
        return;
    }

    document.write("<div id='Cm8Spacer'>");
    CM8ShowAd(format);
    document.write("</div>");

    var spacer = document.getElementById('Cm8Spacer');
    spacer.id = null;
    if (spacer.firstChild) {
        spacer.style.marginBottom = "5px";
        spacer.style.marginTop = "0";
    }
}

