﻿/*********** PLAYER ***********/
function Player(flashObjID, tracerId)
{
    return new Player(flashObjID, "nl", tracerId);
}
function Player(flashObjID, language, tracerId)
{
    this._playerId = flashObjID;
    this._tracerId = tracerId;
    this._language = language;
    this._isLoaded = false;
    
    this._player = document[this._playerId];
    if (this._player == null || this._player == undefined)
    {
        this._player = GetElement(this._playerId);
    }
}
Player.prototype.ProgramLoaded = function(name) 
{
    /* this._player.SetVariable("Language", this._language); */
    this._player.SetVariable("JSReady", "true");
    this._isLoaded = true;
};
Player.prototype.ClosePlayer = function() 
{
    /* this._player.ClosePlayer(); */
    this._isLoaded = false;
};
/*********** END PLAYER ***********/
