function soundManagerLoad() {
    var player = window.parent['player'];
    soundManager = player.soundManager;
    playStream = player.playStream;
    stopStream = player.stopStream;
    changeSong = player.changeSong;
}
function initPage() {
    var hash = window.location.hash;
    if(hash != "#loadingPlayer") {
        soundManagerLoad();
        window.parent['player'].ping();
    }
}
function checkHash() {
    var hash = window.location.hash;
    if(hash == ""
    && window.parent.location.pathname != window.location.pathname) {
        window.parent.location.hash = window.location.pathname;
    }
}
checkHash();
