o :" + level + "<br />";
  }
}

function seek(position) {
  var obj = getFlashMovieObject("mymoviename");
  if(obj != null) {
    obj.seek(position);
    document.getElementById("videoStatus").innerHTML += "seek to :"+ position + "<br />";
  }
}

function volume(percent) {
  var obj = getFlashMovieObject("mymoviename");
  if(obj != null) {
    obj.volume(percent);
    document.getElementById("videoStatus").innerHTML += "set volume to :"+ percent + "%<br />";
  }
}

function onComplete(message) {
  document.