var pageUrl = (window.location != window.parent.location) ? document.referrer : document.location.href; if (pageUrl.indexOf("/audi/") !== -1) { pageUrl = pageUrl.replace("/audi/", "/auditorium/"); window.location=pageUrl; } var plocation=window.parent.location.href; if (plocation.indexOf("/album/") != -1 || plocation.indexOf("/artist/") != -1 || plocation.indexOf("/track/") != -1) { plocation = plocation.replace("/auditorium/", "/audi/"); var frame=parent.document.getElementById('auditorium'); frame.contentWindow.document.location.href = plocation.replace("/auditorium/", "/audi/"); } -->