// JavaScript Document

function lienCalendrier(url){
	window.open(url,'_blank');
}


function lienUrlS(url){
	window.open(url,'_self');
}

function lienUrlB(url){
	window.open(url,'_blank');
}





/*
window.onload = function(){contentAffiche('content0','menu0')}

function contentAffiche(id,boutton)
{
	hide(document.getElementById("content0"));
	hide(document.getElementById("content1"));
	hide(document.getElementById("content2"));
	hide(document.getElementById("content3"));
	hide(document.getElementById("content4"));
	show(document.getElementById(id));
	initialiseMenuCursus(document.getElementById("menu0"));
	initialiseMenuCursus(document.getElementById("menu1"));
	initialiseMenuCursus(document.getElementById("menu2"));
	initialiseMenuCursus(document.getElementById("menu3"));
	initialiseMenuCursus(document.getElementById("menu4"));
	selectMenu(document.getElementById(boutton));
}

function initialiseMenuCursus(object)
{
	if(object){
		object.style.backgroundColor = "#0098ff";
		object.style.borderBottomWidth = "1px";
		object.style.color= "#FFFFFF";
	}
}

function selectMenu(object)
{
	if(object){
		object.style.backgroundColor = "#FFFFFF";
		object.style.borderBottomWidth = "0px";
		object.style.color= "#000000";
	}
}



function hide(object)
{
	if(object){
		object.style.display="none";
	}
}

function show(object)
{
	if(object){
		object.style.display="block";
	}
}

function test(id)
{
	alert(id);
	var object = document.getElementById(id);
	object.className= "selected1";
}

*/
