// JavaScript Document

function affiche_niveau3(nb, section) {	
	
	if (document.getElementById('element_'+nb).style.display=='block') {
		document.getElementById('element_'+nb).style.display='none';
		document.getElementById(section).style.borderBottom='1px solid #e6e6e6';
	} else {
		document.getElementById('element_'+nb).style.display='block';
		document.getElementById(section).style.border='none';
	}
}

function gotonewpage(what)
{
  value = what.options[what.selectedIndex].value;
  if (value == "") return;
  window.location.href = value;
}

function gotonewpagepop(what)
{
	window.open(what,"","menubar=yes,scrollbars=yes,resizable=no,width=440,height=600");
}

function gotonewpagepop2(what)
{
	window.open(what,"","menubar=yes,scrollbars=yes,resizable=no,width=700,height=600");
}

function gotonewpagepop3(what,width,height){
	window.open(what,"","menubar=yes,scrollbars=yes,resizable=no,width="+width+",height="+height+"");
}

function gotonewpagetv(what)
{
  value = what.options[what.selectedIndex].value;
  if (value == "") return;
  window.location.href = window.location.href+value;
}