// JavaScript Document
	var player;

      function playerReady(obj)
      {
        player = document.getElementsByName(obj.id)[0];
      };

      function loadNplay(file, type, author, title, description, image)
      {
        player.sendEvent('LOAD', {file:file, type:type, author:author, title:title, description:description, image:image});
        player.sendEvent('PLAY', 'true');
      };