// This is a javascript handler for the player and is always needed.
function thisMovie(movieName) {
  if(navigator.appName.indexOf("Microsoft") != -1) {
    return window[movieName];
  } else {
    return document[movieName];
  }
};

// these functions are caught by the JavascriptView object of the player.
function sendEvent(id,typ,prm) { thisMovie(id).sendEvent(typ,prm); };
