
function myMsg()
{
	return;
	if (document.getElementById('msg').style.visibility=='hidden')
	{
		document.getElementById('msg').style.visibility='visible';
	}
	else
	{
		document.getElementById('msg').style.visibility='hidden';
	}
}


function showVols(choix, OnOff)
{

	if(OnOff == 1)
	{
		color1 = '#ffff88';
		color2 = '#88ff88';
	}
	else
	{
		color1 = 'transparent';
		color2 = 'transparent';
	}

	document.getElementById('sp_' + choix).style.background = color1;

	if(choix == 'CER')
	{
		document.getElementById('sp_JER').style.background = color2;
		document.getElementById('sp_ORY').style.background = color2;
	}

	if(choix == 'ETZ')
	{
		document.getElementById('sp_MRS').style.background = color2;
		document.getElementById('sp_TLS').style.background = color2;
	}

	if(choix == 'JER')
	{
		document.getElementById('sp_CER').style.background = color2;
		document.getElementById('sp_ORY').style.background = color2;
	}

	if(choix == 'MLH')
	{
		document.getElementById('sp_TLS').style.background = color2;
		document.getElementById('sp_MRS').style.background = color2;
	}

	if(choix == 'MRS')
	{
		document.getElementById('sp_ETZ').style.background = color2;
		document.getElementById('sp_MLH').style.background = color2;
		document.getElementById('sp_MXP').style.background = color2;
		document.getElementById('sp_GVA').style.background = color2;
	}

	if(choix == 'ORY')
	{
		document.getElementById('sp_PGX').style.background = color2;
		document.getElementById('sp_EGC').style.background = color2;
	}


	if(choix == 'EGC')
	{
		document.getElementById('sp_ORY').style.background = color2;
	}

	if(choix == 'MXP')
	{
		document.getElementById('sp_MRS').style.background = color2;
		document.getElementById('sp_GVA').style.background = color2;
	}

	if(choix == 'GVA')
	{
		document.getElementById('sp_MRS').style.background = color2;
		document.getElementById('sp_MXP').style.background = color2;
	}

	if(choix == 'TLS')
	{
		document.getElementById('sp_ETZ').style.background = color2;
		document.getElementById('sp_MLH').style.background = color2;
	}	

	if(choix == 'BES')
	{
		document.getElementById('sp_TLS').style.background = color2;
	}

	if(choix == 'PGX')
	{
		document.getElementById('sp_ORY').style.background = color2;
	}



}

function openVols(choix)
{

	if(choix == 'EGC')
	{
		ville = 'bergerac';
	}

	if(choix == 'CER')
	{
		ville = 'cherbourg';
	}

	if(choix == 'ETZ')
	{
		ville = 'metz';
	}

	if(choix == 'JER')
	{
		ville = 'jersey';
	}

	if(choix == 'MLH')
	{
		ville = 'mulhouse';
	}

	if(choix == 'MRS')
	{
		ville = 'marseille';
	}

	if(choix == 'ORY')
	{
		ville = 'paris';
	}

	if(choix == 'TLS')
	{
		ville = 'toulouse';
	}

	if(choix == 'BES')
	{
		ville = 'brest';
	}

	if(choix == 'PGX')
	{
		ville = 'perigueux';
	}

	if(choix == 'MXP')
	{
		ville = 'milan';
	}

	if(choix == 'GVA')
	{
		ville = 'geneve';
	}

	document.location = 'vols.php?dep=' + ville;

}


function Refresh()
{

	document.process.location = './NosVols.Process.php';



}