var ie4 = (document.all) ? true : false;
var ns4 = (document.layers) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;

function TopSmenuonA(){
	var menua ="";
	menua = "<table border='0' cellpadding='0' cellspacing='0' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('lien1','','images/menu3a1_on.gif',1);\"><tr><td><img src='images/spacer.gif' width='39' height='1'></td><td><a href='presentation.php'><img src='images/ss_menu1a.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='reservation.php'><img src='images/ss_menu1b.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='acces.php'><img src='images/ss_menu1c.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='contact.php'><img src='images/ss_menu1d.gif' border='0'></a></td></tr></table>";
	if(ns4){
		//Browser Netscape
		document.layers['SubMenu'].document.open();
		document.layers['SubMenu'].document.write(menua);
		document.layers['SubMenu'].document.close();
		//END Browser Netscape				
	}else if(ns6){
		document.getElementById('SubMenu').innerHTML = menua;
	}else{
		//Microsoft Internet Explorer
		document.all['SubMenu'].innerHTML = menua;
		//END Microsoft Internet Explorer
	}
	
}

function TopSmenuonB(){
	var menub ="";
	menub = "<table border='0' cellpadding='0' cellspacing='0' onMouseOut=\"MM_swapImgRestore()\" OnMouseOver=\"MM_swapImage('lien4','','images/menu3a4_on.gif',1);\"><tr><td><img src='images/spacer.gif' width='240' height='1'></td><td><a href='liens.php'><img src='images/ss_menu2a.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='agendadown.php'><img src='images/ss_menu2b.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='divers.php'><img src='images/ss_menu2c.gif' border='0'></a></td><td><img src='images/spacer.gif' width='15' height='1'></td><td><a href='goodies.php'><img src='images/ss_menu2d.gif' border='0'></a></td></tr></table>";
	if(ns4){
		//Browser Netscape
		document.layers["SubMenu"].document.open();
		document.layers["SubMenu"].document.write(menub);
		document.layers["SubMenu"].document.close();
		//END Browser Netscape				
	}else if(ns6){
		document.getElementById('SubMenu').innerHTML = menub;
	}else{
		//Microsoft Internet Explorer
		document.all['SubMenu'].innerHTML = menub;
		//END Microsoft Internet Explorer
	}
}

function TopSmenuoff(num){
	if(navigator.appName == 'Netscape'){
			//Browser Netscape
			document.layers['SubMenu'].document.open();
			document.layers['SubMenu'].document.write("&nbsp;");
			document.layers['SubMenu'].document.close();
			//END Browser Netscape				
		}else if(ns6){
		document.getElementById('SubMenu').innerHTML = "&nbsp;";
		}else{
			//Microsoft Internet Explorer
			document.all['SubMenu'].innerHTML ="&nbsp;";
			//END Microsoft Internet Explorer
		}
}