﻿var Play=false;
function doSound() {

    if (Play == true) {
        if (window.player) {
            window.document["player"].SetVariable("player:jsPause", "");
            Play = false;
        }
        if (document.player) {
            document.player.SetVariable("player:jsPause", "");
            Play = false;
        }
    } else {
    if (window.player) {
        window.document["player"].SetVariable("player:jsPlay", "");
        Play = true;
    }
    if (document.player) {
        document.player.SetVariable("player:jsPlay", "");
        Play = true;
    }
    }
    return false;
}
