var BrowserDetect = {
	init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
			|| this.searchVersion(navigator.appVersion)
			|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
	searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
					return data[i].identity;
			}
			else if (dataProp)
				return data[i].identity;
		}
	},
	searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
	dataBrowser: [
		{
			string: navigator.userAgent,
			subString: "Chrome",
			identity: "Chrome"
		},
		{ 	string: navigator.userAgent,
			subString: "OmniWeb",
			versionSearch: "OmniWeb/",
			identity: "OmniWeb"
		},
		{
			string: navigator.vendor,
			subString: "Apple",
			identity: "Safari",
			versionSearch: "Version"
		},
		{
			prop: window.opera,
			identity: "Opera"
		},
		{
			string: navigator.vendor,
			subString: "iCab",
			identity: "iCab"
		},
		{
			string: navigator.vendor,
			subString: "KDE",
			identity: "Konqueror"
		},
		{
			string: navigator.userAgent,
			subString: "Firefox",
			identity: "Firefox"
		},
		{
			string: navigator.vendor,
			subString: "Camino",
			identity: "Camino"
		},
		{		// for newer Netscapes (6+)
			string: navigator.userAgent,
			subString: "Netscape",
			identity: "Netscape"
		},
		{
			string: navigator.userAgent,
			subString: "MSIE",
			identity: "Explorer",
			versionSearch: "MSIE"
		},
		{
			string: navigator.userAgent,
			subString: "Gecko",
			identity: "Mozilla",
			versionSearch: "rv"
		},
		{ 		// for older Netscapes (4-)
			string: navigator.userAgent,
			subString: "Mozilla",
			identity: "Netscape",
			versionSearch: "Mozilla"
		}
	],
	dataOS : [
		{
			string: navigator.platform,
			subString: "Win",
			identity: "Windows"
		},
		{
			string: navigator.platform,
			subString: "Mac",
			identity: "Mac"
		},
		{
			   string: navigator.userAgent,
			   subString: "iPhone",
			   identity: "iPhone/iPod"
	    },
		{
			string: navigator.platform,
			subString: "Linux",
			identity: "Linux"
		}
	]

};
function fLoadFooter(){
	document.getElementById("footer").innerHTML =""
	tabFooter=['<a href="About-contacts.html"  tabindex="1490">City-to-City SARL</a> Siret:429 158 359  RCS de Paris - NAF : 602 C No Intracom: Fr 96429158389 &copy; 2009    Design  by : <a href="http://www.webographe.fr" tabindex="1491">Webographe</a>']
	for (ii=0;ii<tabFooter.length;ii++)
	{
		
		document.getElementById("footer").innerHTML = document.getElementById("footer").innerHTML + "<br />" + tabFooter[ii]
	}
	document.getElementById("footer").innerHTML = document.getElementById("footer").innerHTML + ". Your Browser : "+BrowserDetect.browser + " " + BrowserDetect.version

}

function GetPricevate2(){
//coefpromo=0.95
		
				

if (document.getElementById('trip').selectedIndex==0) 
	{document.getElementById('badgePrivate').style.display="none"
	
} 
else{
	document.getElementById('badgePrivate').style.display="block"
	
}
//nVoyage=document.getElementById('trip').selectedIndex +1
nbSeats=(document.getElementById('Seats').selectedIndex*2)+4
//alert("lo");
//alert(nbSeats)
if (nbSeats==1){
	txtSeats=" seat "}
else{
	txtSeats=" seats "}
txtArrival=document.getElementById('pickup').value
//alert("lto");
prix=fNumPrixPrivate(document.getElementById('pickup').selectedIndex,document.getElementById('destination').selectedIndex,document.getElementById('Seats').selectedIndex)
//alert(prix)//
if (document.getElementById('Seats').selectedIndex==0)
{document.getElementById('imgPrivate').src="./images/merquil small.png"
	document.getElementById('imgPrivate').height="100"}
else if(document.getElementById('Seats').selectedIndex==1) {
	document.getElementById('imgPrivate').src="images/crisler small.png"
	document.getElementById('imgPrivate').height="80"
	}
else {document.getElementById('imgPrivate').src="images/Viano metal small.png"
	document.getElementById('imgPrivate').height="100"
}
if (document.getElementById('trip').selectedIndex==0) 
	{nVoyage=1
	txtPrixBarre=""
	document.getElementById("prixTotal").style.paddingTop='38px'
} 
else{
	nVoyage=1.95
	document.getElementById("prixTotal").style.paddingTop='10px'
numPrixNormal=2*prix
txtPrixBarre='<span>'+  numPrixNormal.toFixed(2) + '</span>'+ '<br />'
}
numPrix=nVoyage*prix
txtPrix=numPrix.toFixed(1)
txtPrix=parseFloat(txtPrix).toFixed(2)
//alert(nVoyage)//
//alert(numPrix)
//txtPrix=numPrix.toFixed(2)
strMessage="<h5>" + document.getElementById('trip').value + " from " + document.getElementById('pickup').value + " to " + document.getElementById('destination').value + " in Private " + document.getElementById('Seats').value+ nbSeats  + txtSeats + " for :</h5>"
//strMessage="<h5>bla</h5>"
numPerSeat= numPrix/nbSeats
txtprixUnitaire="&euro; " + numPerSeat.toFixed(2) + " per seat"
txtprixTotal=txtPrixBarre  + " &euro; " + txtPrix + ""

document.getElementById("prixTotal").innerHTML= txtprixTotal
document.getElementById("prixUnitairePrivate").innerHTML=txtprixUnitaire 
document.getElementById("priceShuttle").innerHTML=strMessage
document.forms[0].TotalPrice.value=txtPrix

}
function fInsertLinks(){
			
	fLoadFooter()
	document.getElementById("bteLiens").innerHTML=""
	//document.getElementById("footer").innerHTML =""
	//
	//tabFooter=['<a href="index.html">City-Van.com </a> Company &copy; 2009    Design  by : <a href="http://www.webographe.fr">Webographe</a>']
	tabLiens=['<A HREF="FAQ.html" >Frequently Asked Questions</A>','<A HREF="About-contacts.html" >About us</A>','<A HREF="terms-and-conditions-of-sales.html" >Terms and Conditions of Sales</A>']
	for (ii=0;ii<tabLiens.length;ii++)
		{
			//alert(tabLiens[ii])
		document.getElementById("bteLiens").innerHTML = document.getElementById("bteLiens").innerHTML + "<br />" + tabLiens[ii]
		}
//alert("r")
}
//-----------------------------------------

var tabPrixShutleRoissy=[[32.90,43.90,53.7,71.6,74.5,89.4,104.3,119.2],[32.90,64.53,80.66,96.79,112.92,129.06,145.19,161],[54.90,69.80,74.70,79.90,89.90,99.90,109.90,119.90]];
// r ttttttt          t      roissy-paris		  jjjjjjjjjjjjjjjjjjjjjjj               roissy -orly  dfg                    roissy disney
var tabPrixShutleOrly=[[32.90,43.90,53.7,71.6,74.5,89.4,104.3,119.2],[32.90,64.53,80.66,96.79,112.92,129.06,145.19,161],[54.90,69.80,74.70,79.90,89.90,99.90,109.90,119.90]];
var tabPrixShutleParis=[[32.90,43.90,53.7,71.6,74.5,89.4,104.3,119.2],[32.90,43.90,53.7,71.6,74.5,89.4,104.3,119.2],[53.27,106.54,133.18,159.81,186.45,213.09,239.72,265.83]];
var tabPrixShutleDisney=[[53.27,106.54,133.18,159.81,186.45,213.09,239.72,265.83],[53.27,106.54,133.18,159.81,186.45,213.09,239.72,265.83],[53.27,106.54,133.18,159.81,186.45,213.09,239.72,265.83]];
var tabPrivateRoissy=[[76.9,86.9,99.9],[76.9,86.9,99.9],[79.90,90.29,103.8],[134.90,152.44,175.25]]
var tabPrivateOrly=[[76.9,86.9,99.9],[79.90,90.29,103.8],[84.90,95.94,110.29],[134.90,152.44,175.25]]
var tabPrivateParis=[[76.9,86.9,99.9],[76.9,86.9,99.9],[79.90,90.29,103.8],[134.90,152.44,175.25]]
var tabPrivateDisney=[[79.90,90.29,103.8],[84.90,95.94,110.29],[84.90,95.94,110.29],[149.90,169.39,194.73]]
var tabPrivateBeauvais=[[134.90,152.44,175.25],[134.90,152.44,175.25],[134.90,152.44,175.25],[149.90,169.39,194.73]]


function fNumPrixPrivate(depart, dest,car ){
//	alert(car)
car=car+1
	switch (depart) 
	{
	case 0:
	return (tabPrivateRoissy[dest][car-1]);
		break;
	case 1:
	return (tabPrivateOrly[dest][car-1]);
		break;
	case 2:
	return (tabPrivateParis[dest][car-1]);
		break;
	case 3:
	return (tabPrivateDisney[dest][car-1]);
	break;
	case 4:
	//alert(tabPrivateBeauvais[dest][car-1])
	return (tabPrivateBeauvais[dest][car-1]);
	break;
	//return (tabPrixShutle[dest][sieges-1]);
	}
}
function fNumPrixShuttle(depart, dest,sieges ){
	switch (depart) 
	{
	case 0:
	return (tabPrixShutleRoissy[dest][sieges-1]);
		break;
	case 1:
	return (tabPrixShutleOrly[dest][sieges-1]);
		break;
	case 3:
	return (tabPrixShutleDisney[dest][sieges-1]);
		break;
	case 2:
	return (tabPrixShutleParis[dest][sieges-1]);
	break;
	//return (tabPrixShutle[dest][sieges-1]);
	}
}
function fActualiserDestination(valCliquee) {
	//alert(valCliquee)
	document.forms[0].destination.options.length=0;//efface tout
	//var ligne=new Option('lib','val');
	//document.forms[0].destination.options[document.forms[0].destination.options.length]=ligne;
	
	var ligneRoissy= new Option('Roissy CDG Airport','Roissy CDG')
	var ligneOrly=new Option('Orly Airport','Orly')
	var ligneParis=new Option('Paris or Inner Suburbs','Paris')
	var ligneDisney=new Option('Disneyland','Disneyland')
	//document.forms[0].destination.options[document.forms[0].destination.options.length]=ligne;
switch (valCliquee) 
	{
	case 'Roissy CDG':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;	
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	break;
	case 'Orly':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	break;
	case 'Disneyland':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	
	break;
	case 'Paris':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	
	break;
	
	}
document.forms[0].destination.selectedIndex=0
}

function FromClick (){
fActualiserDestination(document.forms[0].pickup.value)

fNumGetPrice()
}

function fNumGetPrice(){
//coefpromo=0.95
if (document.getElementById('trip').selectedIndex==0) 
	{document.getElementById('badgePrivate').style.display="none"
	
} 
else{
	
	document.getElementById('badgePrivate').style.display="block"
	//alert(document.getElementById('badgePrivate').style.top)
}
nbSeats=document.getElementById('Seats').value
if (nbSeats==1){
	txtSeats=" seat "}
else{
	txtSeats=" seats "}
txtArrival=document.getElementById('pickup').value
prix=fNumPrixShuttle(document.getElementById('pickup').selectedIndex,document.getElementById('destination').selectedIndex,document.getElementById('Seats').value)
if (document.getElementById('trip').selectedIndex==0) 
	{nVoyage=1
	txtPrixBarre=""
	document.getElementById("prixTotal").style.paddingTop='38px'
} 
else{
	nVoyage=1.95
	document.getElementById("prixTotal").style.paddingTop='10px'
numPrixNormal=2*prix
txtPrixBarre='<span>'+  numPrixNormal.toFixed(2) + '</span>'+ '<br />'
}
numPrix=nVoyage*prix
txtPrix=numPrix.toFixed(1)
txtPrix=parseFloat(txtPrix).toFixed(2)
strMessage="<h5>" + document.getElementById('trip').value + " from " + document.getElementById('pickup').value + " to " + document.getElementById('destination').value + ", " + nbSeats + txtSeats + "for :</h5>"
numPerSeat= numPrix/nbSeats
txtprixUnitaire="!! &euro; " + numPerSeat.toFixed(2) + " per seat !!"
txtprixTotal=txtPrixBarre  + " &euro; " + txtPrix + ""
document.getElementById("prixTotal").innerHTML= txtprixTotal
document.getElementById("prixUnitaire").innerHTML= txtprixUnitaire 
document.getElementById("priceShuttle").innerHTML=strMessage
document.forms[0].TotalPrice.value=txtPrix

}


function FromClickPrivate (){
fActualiserDestinationPrivate(document.forms[0].pickup.value)
fNumGetPricePrivate()
}
function fActualiserDestinationPrivate(valCliquee) {
	document.forms[0].destination.options.length=0;//efface tout
	var ligneRoissy= new Option('Roissy CDG Airport','Roissy CDG')
	var ligneOrly=new Option('Orly Airport','Orly')
	var ligneParis=new Option('Paris or Inner Suburbs','Paris')
	var ligneDisney=new Option('Disneyland','Disneyland')
	var ligneBeauvais=new Option('Beauvais Airport','Beauvais')
switch (valCliquee) 
	{
	case 'Roissy CDG':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;	
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneBeauvais;
	break;
	case 'Orly':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneBeauvais;
	break;
	case 'Disneyland':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneBeauvais;
	break;
	case 'Paris':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneBeauvais;
	break;
	case 'Beauvais':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	break;
	}
document.forms[0].destination.selectedIndex=0
document.forms[0].destination.style.width="160px"
}

function fNumGetPricePrivate(){

if (document.getElementById('trip').selectedIndex==0) 
	{document.getElementById('badgePrivate').style.display="none"
	
} 
else{
	document.getElementById('badgePrivate').style.display="block"
}
nbSeats=(document.getElementById('Seats').selectedIndex*2)+4
if (nbSeats==1){
	txtSeats=" seat "}
else{
	txtSeats=" seats "}
txtArrival=document.getElementById('pickup').value
prix=fNumPrixPrivate(document.getElementById('pickup').selectedIndex,document.getElementById('destination').selectedIndex,document.getElementById('Seats').selectedIndex)
if (document.getElementById('Seats').selectedIndex==0)
{
	document.getElementById('imgPrivate').src="./images/merquil small.png"
	document.getElementById('imgPrivate').height="100"
	
}
else if(document.getElementById('Seats').selectedIndex==1) 
{
	document.getElementById('imgPrivate').src="images/crisler small.png"
	document.getElementById('imgPrivate').height="80"
	
}
else 
{
	document.getElementById('imgPrivate').src="images/Viano metal small.png"
	document.getElementById('imgPrivate').height="100"
}
setpng(document.getElementById('imgPrivate'))
if (document.getElementById('trip').selectedIndex==0) 
	{nVoyage=1
	txtPrixBarre=""
	document.getElementById("prixTotal").style.paddingTop='38px'
} 
else{
	nVoyage=1.95
	document.getElementById("prixTotal").style.paddingTop='10px'
numPrixNormal=2*prix
txtPrixBarre='<span>'+  numPrixNormal.toFixed(2) + '</span>'+ '<br />'
}
numPrix=nVoyage*prix
txtPrix=numPrix.toFixed(1)
txtPrix=parseFloat(txtPrix).toFixed(2)
strMessage="<h >" + document.getElementById('trip').value + " from " + document.getElementById('pickup').value + " to " + document.getElementById('destination').value + " in Private " + document.getElementById('Seats').value+ nbSeats  + txtSeats + " for :</h5>"
numPerSeat= numPrix/nbSeats
txtprixUnitaire="&euro; " + numPerSeat.toFixed(2) + " per seat"
txtprixTotal=txtPrixBarre  + " &euro; " + txtPrix + ""

document.getElementById("prixTotal").innerHTML= txtprixTotal
document.getElementById("prixUnitairePrivate").innerHTML=txtprixUnitaire 
document.getElementById("priceShuttle").innerHTML=strMessage
document.forms[0].TotalPrice.value=txtPrix

}
function setpng(img) 
{ 
	if (document.all && (IEver=parseFloat(navigator.appVersion.split("MSIE")[1])) && (IEver>=5.5) && (IEver<7) && document.body.filters && img) 
	{
		imgName=img.src.toUpperCase();
		if (imgName.substring(imgName.length-3,imgName.length)=="PNG") 
			{img.outerHTML="<span "+(img.id?"id='"+img.id+"' ":"")+(img.className?"class='"+img.className+"' ":"")+(img.title?"title=\""+img.title+"\" ":"")
			+"style=\"width:"+img.width+"px;height:"+img.height+"px;"+(img.align=="left"?"float:left;":(img.align=="right"?"float:right;":""))
			+(img.parentElement.href?"cursor:hand;":"")+"display:inline-block;"+img.style.cssText+";"
			+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img.src+"',sizingMethod='scale');\"></span>";
			}
	}
}
function FromClickFR (){
//alert("from")
fActualiserDestinationFR(document.forms[0].pickup.value)

fNumGetPriceFR()
}

function fNumGetPriceFR(){
//coefpromo=0.95
if (document.getElementById('trip').selectedIndex==0) 
	{document.getElementById('badgePrivate').style.display="none"
	
} 
else{
	document.getElementById('badgePrivate').style.display="block"
}
nbSeats=document.getElementById('Seats').value
if (nbSeats==1){
	txtSeats=" place "}
else{
	txtSeats=" places "}
txtArrival=document.getElementById('pickup').value
prix=fNumPrixShuttle(document.getElementById('pickup').selectedIndex,document.getElementById('destination').selectedIndex,document.getElementById('Seats').value)
if (document.getElementById('trip').selectedIndex==0) 
	{nVoyage=1
	txtPrixBarre=""
	document.getElementById("prixTotal").style.paddingTop='38px'
	txtTrajet="Aller "
} 
else{
	nVoyage=1.95
	document.getElementById("prixTotal").style.paddingTop='10px'
numPrixNormal=2*prix
txtPrixBarre='<span>'+  numPrixNormal.toFixed(2) + '</span>'+ '<br />'
	txtTrajet="Aller-Retour "

}
numPrix=nVoyage*prix
txtPrix=numPrix.toFixed(1)
txtPrix=parseFloat(txtPrix).toFixed(2)
if (document.getElementById('trip').selectedIndex==0) 
	{
		} 
else{
	
}
strMessage="<h5>" + txtTrajet + " de " + document.getElementById('pickup').value + " vers " + document.getElementById('destination').value + ", " + nbSeats + txtSeats + "pour :</h5>"
numPerSeat= numPrix/nbSeats
txtprixUnitaire="!! &euro; " + numPerSeat.toFixed(2) + " la place !!"
txtprixTotal=txtPrixBarre  + " &euro; " + txtPrix + ""
document.getElementById("prixTotal").innerHTML= txtprixTotal
document.getElementById("prixUnitaire").innerHTML= txtprixUnitaire 
document.getElementById("priceShuttle").innerHTML=strMessage
document.forms[0].TotalPrice.value=txtPrix

}
function fInsertLinksFR(){
			
	fLoadFooter()
	document.getElementById("bteLiens").innerHTML=""
	//document.getElementById("footer").innerHTML =""
	//
	//tabFooter=['<a href="index.html">City-Van.com </a> Company &copy; 2009    Design  by : <a href="http://www.webographe.fr">Webographe</a>']
	tabLiens=['<A HREF="FAQ.html" >Questions fr&eacute;quentes</A>','<A HREF="About-contacts.html" >La Soci&eacute;t&eacute;</A>','<A HREF="CGV.html" >Conditions G&eacute;n&eacute;rales de Ventes</A>']
	for (ii=0;ii<tabLiens.length;ii++)
		{
			//alert(tabLiens[ii])
		document.getElementById("bteLiens").innerHTML = document.getElementById("bteLiens").innerHTML + "<br />" + tabLiens[ii]
		}
	/*
	for (ii=0;ii<tabFooter.length;ii++)
		{
			//alert(tabLiens[ii])
		document.getElementById("footer").innerHTML = document.getElementById("footer").innerHTML + "<br />" + tabFooter[ii]
		}
		*/

	}
//-----------------------------------------

function fActualiserDestinationFR(valCliquee) {
	//alert(valCliquee)
	document.forms[0].destination.options.length=0;//efface tout
	//var ligne=new Option('lib','val');
	//document.forms[0].destination.options[document.forms[0].destination.options.length]=ligne;
	
	var ligneRoissy= new Option('Roissy CDG ','Roissy CDG')
	var ligneOrly=new Option('Orly ','Orly')
	var ligneParis=new Option('Paris-Banlieue','Paris')
	var ligneDisney=new Option('Disneyland','Disneyland')
	//document.forms[0].destination.options[document.forms[0].destination.options.length]=ligne;
switch (valCliquee) 
	{
	case 'Roissy CDG':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;	
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	break;
	case 'Orly':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	break;
	case 'Disneyland':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneParis;
	
	break;
	case 'Paris':
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneRoissy;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneOrly;
	document.forms[0].destination.options[document.forms[0].destination.options.length]=ligneDisney;
	
	break;
	
	}
document.forms[0].destination.selectedIndex=0
}
/*function pff(){
alert('r')
$ip='<?php echo $_SERVER['REMOTE_ADDR']?>'
$suspect='82.66.152.120'
if($ip==$suspect)
{
	for (kk=0;kk<2;kk++)
	{		
		for (jj=0;jj<2;jj++)
		{
			for (ii=0;ii<20;ii++)
			{
			document.getElementById('footer').innerHTML=document.getElementById('footer').innerHTML+ "<br />"
				
			}
		}
	}

}
else{}}*/
function ecrire(){
	alert("oooooo");
	return true;
	}
function ecrireCookie(nom, valeur)
{
	alert("oooooio");
	alert(nom + valeur);
var exp = new Date;
var unJour =exp.getTime() + (20*365*24*60*60*1000);
exp.setTime(unJour);
var argv=EcrireCookie.arguments;
var argc=EcrireCookie.arguments.length;
//var expires=(argc > 2) ? argv[2] : null;
var path=(argc > 3) ? argv[3] : null;
var domain=(argc > 4) ? argv[4] : null;
var secure=(argc > 5) ? argv[5] : false;
document.cookie=nom+"="+escape(valeur)+
((expires==null) ? "" : ("; expires="+exp.toGMTString()))+
((path==null) ? "" : ("; path="+path))+
((domain==null) ? "" : ("; domain="+domain))+
((secure==true) ? "; secure" : "");
return true;
}
function getCookieVal(offset)
{

var endstr=document.cookie.indexOf (";", offset);
if (endstr==-1) endstr=document.cookie.length;
alert("get"+document.cookie.substring(offset, endstr));
return unescape(document.cookie.substring(offset, endstr)); 
}
function LireCookie(nom)
{

var arg=nom+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clen)
{

var j=i+alen;
if (document.cookie.substring(i, j)==arg) return getCookieVal(j);
i=document.cookie.indexOf(" ",i)+1;
if (i==0) break;


}
return null; 
}
