                var myListener = new Object();
                
                /**
                 * Initialisation
                 */
                myListener.onInit = function()
                {
                    this.position = 0;
                };
                /**
                 * Update
                 */
                myListener.onUpdate = function()
                {
                    /*document.getElementById("info_playing").innerHTML = this.isPlaying;
                    document.getElementById("info_url").innerHTML = this.url;
                    document.getElementById("info_volume").innerHTML = this.volume;
                    document.getElementById("info_position").innerHTML = this.position;
                    document.getElementById("info_duration").innerHTML = this.duration;
                    document.getElementById("info_bytes").innerHTML = this.bytesLoaded + "/" + this.bytesTotal + " (" + this.bytesPercent + "%)";*/
                    
                    var isPlaying = (this.isPlaying == "true");
                 // document.getElementById("playerplay").style.display = (isPlaying)?"none":"block";
                 // document.getElementById("playerpause").style.display = (isPlaying)?"block":"none";
                    
                    var timelineWidth = 160;
                };
                
                function getFlashObject()
                {
                    return document.getElementById("myFlash");
                }
                function setPlayFile(playFile)
                {
                    var pf = playFile
                    getFlashObject().SetVariable("method:setUrl", pf);
                    getFlashObject().SetVariable("method:play", "");
                    getFlashObject().SetVariable("enabled", "true");
                }
                function play()
                {
                    if (myListener.position == 0) {
                        getFlashObject().SetVariable("method:setUrl", "kjline/00-putra.mp3");
                    }

                    getFlashObject().SetVariable("method:play", "");
                    getFlashObject().SetVariable("enabled", "true");
                }
                function pause()
                {
                    getFlashObject().SetVariable("method:pause", "");
                }
                function stop()
                {
                    getFlashObject().SetVariable("method:stop", "");
                }
                function setPosition()
                {
                    var position = document.getElementById("inputPosition").value;
                    getFlashObject().SetVariable("method:setPosition", position);
                }
                function setVolume()
                {
                    var volume = document.getElementById("inputVolume").value;
                    getFlashObject().SetVariable("method:setVolume", volume);
                }

