
function montrer_sablier(montrer)
{
	if (document.getElementById("LoadMsg"))	
	{	
		if (montrer)
		{
			document.getElementById("LoadMsg").innerHTML = "<img src=\"/_V3/images/updating.gif\">";
			document.body.style.cursor='wait';		
		}
		else
		{
			document.getElementById("LoadMsg").innerHTML = "";
			document.body.style.cursor='default';			
		}
	}
}

function afficher_concert(id)
{
	var FConcert = window.open("/cj_agenda_concert.php?id=" + id,"CitizenJazz","scrollbars=yes,height=320,width=370,left=80,top=80");
	FConcert.focus();
}

function afficher_club(id)
{
	var FConcert = window.open("cj_agenda_club.php?club_id=" + id,"CitizenJazz","scrollbars=yes,height=320,width=370,left=80,top=80");
	FConcert.focus();
}

function change_jour(date)
{
	selectedDate = date;
	montrer_sablier(true);
	loadXMLDoc('/cj_agenda_xml.php3?date=' + date, loadConcerts);
}

function change_cal(date)
{
	montrer_sablier(true);
	loadXMLDoc('/cj_agenda_xml.php3?calendrierHTML=' + date, loadCalendrier);
}

function ouvrir_url_externe(URL)
{
	top.open(URL);
}
