function invi(id,vue){
	x = new getObj("cadre"+id);
	(vue==1)?x.style.display='':x.style.display='none';
}
function getObj(name){
  if (document.getElementById){
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all){
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
}
function openPop(f,l,h,op)
{
	longueur=l;
	hauteur=h;
	haut = screen.height/2 - hauteur/2;
	dim = screen.width/2 - longueur/2;
	window.open(f,'popup','width='+longueur+',height='+hauteur+',left='+dim+',top='+haut+',resizable=yes,'+op+'');
}
 
function setCookie(name, value){
	document.cookie =  name + "=" + value;
}
function delCookie(name){
	setCookie(name,"");
}
function choixLang(){
	LANG = document.lang.select[document.lang.select.selectedIndex].value;
	PAGE = document.location.href;
	
	document.location.href = "/index.php?LANGUAGE="+LANG+"&PAGE=/0_home/home.php";
}

function rollover(obj,page){
	obj.style.backgroundColor='#AF004D';
	document.getElementById(obj.id+"Text").className='txt12blancB';
}

function rollout(obj,page){
	obj.style.backgroundColor='';
	document.getElementById(obj.id+"Text").className='titre5';
	document.getElementById(page).style.backgroundColor='#AF004D';
	document.getElementById(page+"Text").className='txt12blancB';
}
