function RedirectPage(sURL) { if (!parent.document.getElementById("main_frame")) { window.location = "/sl/display_page.php?url=" + sURL; } }