function setMovie(frame) {
  movies = [
             '17_O2B_Host_07.flv',
				'16_O2B_Discl_06.flv',
'15_O2B_Host_06.flv',
'14_O2B_iscl_05.flv',
'13_O2B_Host_05.flv',
'12_O2B_Instruct.flv',
'10_O2B_Discl_04.flv',
'09_O2B_Host_04.flv',
'08_O2B_Promospot_01.flv',
'07_O2B_Host_03.flv',
'06_O2B_Discl_03.flv',
'05_O2B_Host_02.flv',
'04_O2B_Discl_02.flv',
'03_O2B_Host_01.flv',
'02_O2B_Discl_01.flv',
'01_O2B_intro.flv',
            
           ];

  if (movies[frame] === undefined) {
    frame = 0;
  }

  //Ajax Updater to replace content
  new Ajax.Updater('content', 'liner_notes/'+movies[frame]+'.php', {asynchronous:true, evalScripts:true});

  playMovie(movies[frame]);
}

function playMovie(file) {
  enablejs = (playMovie.arguments.length > 1 ? playMovie.arguments[1] : false);
  autostart = (playMovie.arguments.length > 2 ? playMovie.arguments[2] : false);

  var flashvars = {
             image:'images/stills/'+file+'.png',
             file:'http://o2-b.com/movies/'+file+'.flv',
             autostart:autostart,
             displayheight:240,
             repeat:false,
             showdigits:true,
             enablejs:enablejs
           };

  var FO = { movie:"movies/FLVPlayer_Progressive.swf",
             width:"320",
             height:"260",
             majorversion:"7",
             build:"0",
             flashvars:$H(flashvars).toQueryString()
      		 };
	UFO.create(FO, "player");
}

function getUpdate(typ,pr1,pr2) {
  if (typ == 'time') {
    if (pr1 > 0) {
      new Ajax.Updater('content', 'liner_notes/toto.php', {asynchronous:true, evalScripts:true});      
    }
  }
}