
function hover(obj){
  if(document.all && (typeof document.body.style.maxHeight == "undefined")){

    UL = obj.getElementsByTagName('ul');

    if(UL.length > 0){
      sousMenu = UL[0].style;
      if(UL[0].visibility == null){
        sousMenu.visibility = 'visible';
UL[0].visibility = 'visible';
      }else{
        sousMenu.visibility = 'hidden';
UL[0].visibility=null;
      }
    }
  }
}

function setHover( menu ){
if(document.all && (typeof document.body.style.maxHeight == "undefined")){
  LI = document.getElementById( menu ).getElementsByTagName('li');
  nLI = LI.length;

  for(i=0; i < nLI; i++){



    LI[i].onmouseover = function(){
      hover(this);
    }
    LI[i].onmouseout = function(){
      hover(this);
    }
  }
}
}


function OpenVideo(url,width,height) 
{ 
   var sOption="toolbar=no,location=no,directories=yes,menubar=no,"; 
       sOption+="scrollbars=yes,width=750,height=600,left=100,top=25"; 

   var sWinHTML = '<object width="'+width+'" height="'+height+'"><param name="movie" value="'+url+'" /><param name="wmode" value="transparent" /><embed src="'+url+'" type="application/x-shockwave-flash" wmode="transparent" width="'+width+'" height="'+height+'" />'; 
   
   var winprint=window.open("","",sOption); 
       winprint.document.open(); 
       winprint.document.write('<html><head><title>Voir la video</title></head><body><div align="center">'); 
       winprint.document.write(sWinHTML);          
       winprint.document.write('</div></body></html>'); 
       winprint.document.close(); 
       winprint.focus(); 
     //  winprint.print();
}