﻿function getPlayer()
{
    var flash;
    if(navigator.appName.indexOf("Microsoft") != -1)
    {
        flash = window["audioplayer"];
    }
    else 
    {
        flash = window.document["audioplayer"];
    }
    return flash;
}

function PlayFile(fileName, fileTitle)
{
    getPlayer().PlayAudio(fileName, fileTitle);
}     