// ***************************************************************************************
//       Library to deal with the JW Player functionality
//       Andres Mercader December 2008
// ****************************************************************************************


// Plays/Pauses the reproduction
function PlayPause(aPlayer) {
    if (aPlayer)
        aPlayer.sendEvent("PLAY");  
}

// Mutes/Unmutes the reproduction
function Mute(aPlayer) {
    if (aPlayer)
        aPlayer.sendEvent("MUTE");
}

// Next item in playlist
function Next(aPlayer) {
    if (aPlayer)
        aPlayer.sendEvent("NEXT");
}

// Prev item in playlist
function Prev(aPlayer) {
    if (aPlayer)
        aPlayer.sendEvent("PREV");
}
