// JavaScript Document
function c1()
{
window.document.voi.src='images/1.jpg';
window.document.qua.src='images/2.jpg';
window.document.mini.src='images/3.jpg';
document.getElementById('contenu').style.display ='block';
document.getElementById('contenu1').style.display ='none';
document.getElementById('contenu2').style.display ='none';
return false;
}

function c2()
{
window.document.voi.src='images/4.jpg';
window.document.qua.src='images/5.jpg';
window.document.mini.src='images/6.jpg';
document.getElementById('contenu1').style.display ='block';
document.getElementById('contenu').style.display ='none';
document.getElementById('contenu2').style.display ='none';
return false;
}
function c3()
{
window.document.voi.src='images/7.jpg';
window.document.qua.src='images/8.jpg';
window.document.mini.src='images/9.jpg';
document.getElementById('contenu2').style.display ='block';
document.getElementById('contenu').style.display ='none';
document.getElementById('contenu1').style.display ='none';
return false;
}

function affichedate2()
{
document.forms['form1'].elements['prix'].value='0 €';

navvers = navigator.appVersion.substring(0,1);
if (navvers > 3)
	navok = true;
else
	navok = false;

today = new Date;
numero = today.getDate();
if (numero<10)
	numero = "0"+numero;
mois = today.getMonth();
if (navok)
	annee = today.getFullYear();
else
	annee = today.getYear();
mois++;
if (mois < 10)
	mois = "0" + mois;
messageDate = numero + "/" + mois + "/" + annee;

document.forms['form1'].elements['datedepart'].value=messageDate
document.forms['form1'].elements['dateretour'].value=messageDate

}

function affichedate()
{
document.forms['form1'].elements['prix'].value='0 €';

navvers = navigator.appVersion.substring(0,1);
if (navvers > 3)
	navok = true;
else
	navok = false;

today = new Date;
numero = today.getDate();
if (numero<10)
	numero = "0"+numero;
mois = today.getMonth();
if (navok)
	annee = today.getFullYear();
else
	annee = today.getYear();
mois++;
if (mois < 10)
	mois = "0" + mois;
messageDate = numero + "/" + mois + "/" + annee;

document.forms['form1'].elements['datedepart'].value=messageDate
document.forms['form1'].elements['dateretour'].value=messageDate

document.getElementById('contenu').style.display ='block';
document.getElementById('contenu1').style.display ='none';
document.getElementById('contenu2').style.display ='none';
}
function temps(date)
{
var d = new Date(date[2], date[1] - 1, date[0]);
return d.getTime();
}

