function menuHidden(){//cacher les sous menu lors du chargement
	$("#menu").css({overflow:'hiden'});
};
function SelectMenu(id){
	if (id!=""){
//		$('#menu ul.menu li#'+id).addClass('current');
		$('#'+id).addClass('current');
	}	
};
function SelectionMenu(IdCell) {
 if((IdCell!='')&&(document.getElementById(IdCell)!=null)){
  document.getElementById(IdCell).className="SelectMenu";
 }
};
function ActiveBoxyVideo()
{
	$(".boxyvideo").click(function() {
		var lien = $(this);
		var url = $("input",lien).val();
		//closeText:'<img src="gdoc/images/bt-fermer.png" border="0"/>'
		var boite = new Boxy("<div class='ContenuVideo'></div>",{modal:true,title:lien.attr('title'),unloadOnHide:true,afterShow:function() {
			var dv =$(this).get(0).getContent();
			dv.flash({width:600,height: 450, src :url,allowFullScreen: 'true',allowScriptAccess:'always',wmode:'transparent',flashvars:"autostart=true"});
		}});
		
	});
}


