
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=8; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}
function smontre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=6; i++) {
		if (document.getElementById('ssmenu'+i)) {document.getElementById('ssmenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}
function montre2(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('div_menu'+i)) {document.getElementById('div_menu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}

}	
function montreBill() {
	document.getElementById('bill').style.display='block';
}	
function cacheBill() {
	document.getElementById('bill').style.display='none';
}	

function gens(fichier,larg,haut,px,py) {
	ff=window.open(fichier,"_blank","height="+haut+",width="+larg+",left="+px+",top="+py+",scrollbars=no,resizable=no,menubar=no,status=no,toolbar=no,location=no") }


function change_class(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=7; i++) {
		if (document.getElementById('s_menu'+i)) {document.getElementById('s_menu'+i).className='smenu';}
	}
if (d) {d.className='smenu_ok';}
}

	
function switchcontent(cid){
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
selectedItem=cid+"|"+document.getElementById(cid).style.display
}



var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function myFlash_DoFSCommand(command, args){
	  var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
	  
	if(args=="visite"){ 
	window.open('visite/01.htm','wclose','width=452,height=280,toolbar=no,menubar=no, location=no, resizable=no, scrollbars=no,status=no,left=250,top=150');}		

	if(args=="venir"){ 
	window.open('venir-au-subs.html','wvenir','width=982,height=600,toolbar=no,menubar=no, location=yes, resizable=no, scrollbars=no,status=no,left=10,top=100');}		

}

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
  document.write('<SCRIPT LANGUAGE=VBScript\> \n');
  document.write('on error resume next \n');
  document.write('Sub myFlash_FSCommand(ByVal command, ByVal args)\n');
  document.write(' call myFlash_DoFSCommand(command, args)\n');
  document.write('end sub\n');
  document.write('</SCRIPT\> \n');
} 

