function DisplayPage12(PageName)

 { 

   var NextWin = PageName;

   var NewWin = window.open(NextWin,'popup01','personalbar=0,statusbar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=980,height=720');

   NewWin.moveTo(0,0); 

   NewWin.focus();

 }



function PlayLesson11(FileName,Image,Type)

 {   

var so = new SWFObject("http://www.rtviprojects.com/flvplayer.swf","n0","216","162","8");

so.addParam("allowfullscreen","true");

so.addParam("allowscriptaccess","always");

so.addParam("wmode","transparent");

so.addVariable("height","162");

so.addVariable("width","216");

so.addVariable("javascriptid","n0");

so.addVariable("enablejs","true");

so.addVariable("autostart","true");

so.addVariable("bufferlength","2");

so.addVariable("repeat","false");

so.addVariable("smoothing","true");

so.addVariable('autoscroll','true');

so.addVariable('thumbsinplaylist','true');

so.addVariable("image",Image);

so.addVariable("type",Type);

// so.addVariable("file","http://rtviprojects.com/video/Trofimov_30_sec_NTSC_01.flv");  
so.addVariable("file","http://rtviprojects.com/video/Layma_Vaykule/30_SEC_3.flv");  

so.write("video3");



 }



function PlayLesson12(FileName,Image,Type)

 {   

 

var so = new SWFObject("http://www.rtviprojects.com/flvplayer.swf","n0","216","162","8");

so.addParam("allowfullscreen","true");

so.addParam("allowscriptaccess","always");

so.addParam("wmode","transparent");

so.addVariable("height","162");

so.addVariable("width","216");

so.addVariable("javascriptid","n0");

so.addVariable("enablejs","true");

so.addVariable("autostart","true");

so.addVariable("bufferlength","2");

so.addVariable("repeat","false");

so.addVariable("smoothing","true");

so.addVariable('autoscroll','true');

so.addVariable('thumbsinplaylist','true');

so.addVariable("image",Image);

so.addVariable("type",Type);

so.addVariable("file",FileName);  

so.write("video3");



 }



function PlayLesson10(FileName,Image,Type)

 {   

var so = new SWFObject("http://www.rtviprojects.com/flvplayer.swf","n0","384","306","8");

so.addParam("allowfullscreen","true");

so.addParam("allowscriptaccess","always");

so.addParam("wmode","transparent");

so.addVariable("height","306");

so.addVariable("width","384");

so.addVariable("javascriptid","n0");

so.addVariable("enablejs","true");

so.addVariable("autostart","true");

so.addVariable("bufferlength","3");

so.addVariable("repeat","false");

so.addVariable("smoothing","true");

so.addVariable("image",Image);

so.addVariable("type",Type);

so.addVariable("file",FileName);

  

so.write("video3");



 }



function changeCur(el)

{

el.style.cursor = 'hand';

}



function restoreCur(el)

{

el.style.cursor = 'default';

}



var clips1 = new Array("../video/S_Trofimov_Snegiri_01.flv", "../video/S_Trofimov_Gorod_Sochi_01.flv", "../video/S_Trofimov_Golubi_01.flv", "../video/S_Trofimov_Pozhaley_01.flv", "../video/S_Trofimov_Ya_skuchayu_po_tebe_01.flv", "../video/S_Trofimov_Gorod_v_probkah_01.flv");

var images1 = new Array("../images/rtvi_web_home_04_04.jpg", "../images/rtvi_web_home_04_03.jpg", "../images/rtvi_web_home_04_02.jpg", "../images/rtvi_web_home_04_07.jpg", "../images/rtvi_web_home_04_09.jpg", "../images/rtvi_web_home_04_08.jpg");

                        

function ChooseClip() { 



  limit = 6;

  

  today = new Date();

  num = today.getTime();

  num = Math.round(Math.abs(Math.sin(num) * 1000000)) % limit;



  y = clips1[num];

  z = images1[num];
  z = "../images/LAIMA-poster-Pro19X13_04.jpg";


  col_val=y;

  col_img=z;

  

  // alert (col_val);

  PlayLesson11(col_val,col_img,'flv');

} 



function ChooseClip1() { 



  limit = 6;

  

  today = new Date();

  num = today.getTime();

  num = Math.round(Math.abs(Math.sin(num) * 1000000)) % limit;



  y = clips1[num];

  z = images1[num];



  col_val=y;

  col_img=z;

  

  // alert (col_val);

  PlayLesson11(col_val,col_img,'flv');

} 




