Javascript:

function lbIframeClose() {
parent.document.getElementById(“lbMain”).style.display = “none”;
parent.document.getElementById(“lbOverlay”).style.display = “none”;
}

Markup:

<a href=”javascript:lbIframeClose();”>Close Window</a>

Advertisements