        function playSonetticVideo(playerName, videoPath, subject, evid) {
                var SonetticPlayer;
                   if (navigator.appName.indexOf("Microsoft") != -1) {
                      SonetticPlayer= window[playerName]
                    }else {
                       SonetticPlayer= window.document[playerName]
                    }
        SonetticPlayer.setMedia(videoPath);
        addTitle(subject, evid);
        }
        
        function addTitle(what, evid){
        if (document.createTextNode){
        var mytext=what
        document.getElementById("ttl").innerHTML=mytext;
        document.getElementById("fullFeatures").innerHTML="";
            /*change color of selected item */
            resetTblBG("playlist");
            var mydiv = document.getElementById(evid);
            mydiv.style.backgroundColor="#e8e8e8";
        }
        }
        function resetTblBG(parentDiv){
        var oDiv = document.getElementById(parentDiv);
        if(oDiv.firstChild) { // check for children
           var oChild = oDiv.firstChild;
           while(oChild) { // run over them
             if(oChild.nodeType==1) { // element
               // oChild is a first level child of oDiv
               // Do what you want with it here
               oChild .style.backgroundColor="#ffffff";
             }
             oChild = oChild.nextSibling;
           }
        }
        }
