firefox = 0;
ie6 = 0;
var agt=navigator.userAgent.toLowerCase();
if(agt.indexOf('firefox')!=-1){firefox=1;}
if(agt.indexOf('msie 6')!=-1){ie6=1;}
//alert ('agt: ' + agt);
//alert ('firefox: ' + firefox);
//alert ('ie6: ' + ie6);

var letext = new Array()
letext[1] = "Cliquez ici pour retourner\nà la page d'accueil"
letext[2] = "Cliquez sur une photo pour l'agrandir"
letext[3] = "Cliquez ici pour\nenvoyer un courriel"
letext[4] = "Cliquez ici pour rechercher sur le site"
letext[5] = "Cliquez ici pour voir la FAQ"
letext[6] = "Eurostation - Le site de référence pour\nle voyage à petit prix en Europe"
letext[7] = "Cliquez ici pour voir nos\nphotos personnelles"
letext[8] = "Cliquez ici pour voir nos\nitinéraires"
letext[9] = "Cliquez ici pour voir les\nsites des principales compagnies\naériennes européennes"
letext[10] = "Cliquez ici pour voir les\nsites des principales compagnies\nferroviaires européennes"
letext[11] = "Le moins de bagages possible\npour la liberté de mouvement"
letext[12] = "Claudie Morneau"
letext[13] = "Jacques Noël"
letext[14] = "D'autres photos sont disponibles\nVoir option photos dans le menu haut de l'écran"
letext[15] = "Le MBA en affaires électroniques\nAujourd'hui pour demain"
letext[16] = "Des centaines de liens par capitale"
letext[17] = "Ici, on propose des itinéraires précis\ncomme les trains suisses"
letext[18] = "Avec l'euro, une seule monnaie,\nmais comment cela coûte?"
letext[19] = "Les meilleurs livres pour préparer\nvotre périple"
letext[20] = "Le moins de bagages possible,\nseulement l'essentiel"
letext[21] = "Eurailpass, Europass\nVous êtes mêlé?\nOn vous aide ici"
letext[22] = "Ici, on répond à la question:\nPeut-on travailler en Europe?"
letext[23] = "Des liens vers les principales\ncompagnies aériennes"
letext[24] = "Des liens vers les principales\ncompagnies ferroviaires"
letext[25] = "Les auberges de jeunesse ne sont\npas seulement pour les jeunes!"


function getObj(n, d) {
  var p,i,x;  
  if(!d) d=document; 
  if(!(x=d[n])&&d.all) x=d.all[n];
  else if (d.layers)
	  for(i=0;!x&&i<d.layers.length;i++) x=getObj(n,d.layers[i].document); 
  return x;
}

function swap() {
  var i,j=0,x,a=swap.arguments; document.s=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=getObj(a[i]))!=null){document.s[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function swapBack() {
  var i,x,a=document.s; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function preload() {
	var d=document; 
	if(d.images){ 
		if(!d.p) 
			d.p=new Array();
		var j=d.p.length;
		var a=preload.arguments; 
		for(var i=0; i<a.length; i++) {
			d.p[j]=new Image; 
//			d.p[j++].src='http://www.whatsonwhen.com/img/btn/' + a[i];
			d.p[j++].src='' + a[i];
		}
	}
}

function doPreload() {
	preload('images/go_off1.gif', 'images/go_on1.gif');
}
// stop hiding -->

function goLoco(s){
	p = s.options[s.selectedIndex].value;
	if (p.length > 0) {

		p = 'http://whatsonwhen.com/pages/'+ p +'.jml';

		document.location.href = p;

		return true;
	}
	return false;
}

var newWindow = null;
function picture(lieu,target,picdesc,w,h) {
	var adresse = 'jac.htm?'+lieu+'+'+picdesc
	LeftPosition = 1
	TopPosition = 1
	settings = 'status=0,scrollbars=0,resizable=1,width='+w+',height='+h+',screenX='+LeftPosition+',screenY='+TopPosition+',top='+TopPosition+',left='+LeftPosition+"'";
	newWindow=window.open(adresse,target,settings);
		if (newWindow != null) {
		newWindow.document.close();
		newWindow.focus();
	}
}


function myvoid() { ; } // do nothing

//specify interval between slide (in mili seconds)
var slidespeed=3000

var slideimages = new Array ("voyages/amsterdam/small/amsterdam06.jpg","voyages/anvers/small/anvers15.jpg","voyages/athenes/small/athenes02.jpg","voyages/barcelone/small/barcelone06.jpg","voyages/basel/small/basel10.jpg","voyages/bath/small/bath07.jpg","voyages/berne/small/berne04.jpg","voyages/bruxelles/small/bruxelles01.jpg","voyages/cambridge/small/cambridge03.jpg","voyages/delphes/small/delphes01.jpg","voyages/florence/small/florence06.jpg","voyages/londres/small/londres02.jpg","voyages/meteores/small/meteores07.jpg","voyages/monaco/small/monaco06.jpg","voyages/olympie/small/olympie02.jpg","voyages/paris/small/paris24.jpg","voyages/paros/small/paros10.jpg","voyages/rome/small/rome01.jpg","voyages/vatican/small/vatican16.jpg","voyages/venise/small/venise32.jpg","voyages/versailles/small/versailles04.jpg")

var slidelinks = new Array("photos_amsterdam.htm","photos_anvers.htm","photos_athenes.htm","photos_barcelone.htm","photos_basel.htm","photos_bath.htm","photos_berne.htm","photos_bruxelles.htm","photos_cambridge.htm","photos_delphes.htm","photos_florence.htm","photos_londres.htm","photos_meteores.htm","photos_monaco.htm","photos_olympie.htm","photos_paris.htm","photos_paros.htm","photos_rome.htm","photos_vatican.htm","photos_venise.htm","photos_versailles.htm")

var slidetextes= new Array("voyages/tt_amsterdam.gif","voyages/tt_anvers.gif","voyages/tt_athenes.gif","voyages/tt_barcelone.gif","voyages/tt_bale.gif","voyages/tt_bath.gif","voyages/tt_berne.gif","voyages/tt_bruxelles.gif","voyages/tt_cambridge.gif","voyages/tt_delphes.gif","voyages/tt_florence.gif","voyages/tt_londres.gif","voyages/tt_meteores.gif","voyages/tt_monaco.gif","voyages/tt_olympie.gif","voyages/tt_paris.gif","voyages/tt_paros.gif","voyages/tt_rome.gif","voyages/tt_vatican.gif", "voyages/tt_venise.gif","voyages/tt_versailles.gif")

var imageholder=new Array()
var imagett = new Array()
var ie55=window.createPopup

for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

for (i=0;i<slidetextes.length;i++){
imagett[i]=new Image()
imagett[i].src=slidetextes[i]
}



function depart() {
slideit();
}


function slideit(){

if (!document.images) return
if (ie55) {
	document.images.slide.filters[0].apply()
	}
document.images.slide.src=imageholder[whichimage].src
document.images.texte.src=imagett[whichimage].src

if (ie55) {
	document.images.slide.filters[0].play()
	}
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+pixeldelay)
}



function gotoshow(){
if (!window.winslide||winslide.closed)
//winslide=window.open(slidelinks[whichlink],"new")
winslide=window.open(slidelinks[whichlink],"_top")
else
{
winslide.location=slidelinks[whichlink]
winslide.focus()
}
}

document.write('<script language="JavaScript" src="tooltip1.js"></script>');
document.write('<div id="tooltip" style="position:absolute;visibility:hidden"></div>');

document.write('</head><style>A:hover {color: red;}td {font-family:Tahoma;font-size:12px;color:"black"} td.b {font-family:Tahoma;font-size: 9px;color:"black"} input {font-family:Tahoma;font-size:12px;color:"black"} select {font-family:Tahoma;font-size:12px;color:"black"}</style><body onload="if (firefox == 1) {depart();}" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>');

document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td height="20" colspan="3">&nbsp;</td></tr><tr><td width="48%" valign="top">&nbsp;</td><td width=4% valign=top>');
document.write('<img src="images/cleardot.gif" width="700" height="1" border="0" alt="">');


document.write('<table width=100% border=0><tr><td width="25%" valign="top"><a href="index.htm" target="_top"><img src="images/logo_animated.gif" width="154" height="38" border="0" alt="" onmouseover="showtip(this,event, letext[1])" onMouseout="hidetip()"></a><br><a href="index.htm" target="_top"><img src="images/maison.gif" width="32" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[1])" onMouseout="hidetip()"></a><a href="mailto:eurostation@hotmail.com"><img src="images/mail.gif" width="32" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[3])" onMouseout="hidetip()"></a><a href="recherche.htm"><img src="images/recherche.gif" width="32" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[4])" onMouseout="hidetip()"></a><a href="faq.htm"><img src="images/question.gif" width="32" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[5])" onMouseout="hidetip()"></a></td><td width="50%" nowrap align=center valign="top" onmouseover="showtip(this,event, letext[6])" onMouseout="hidetip();return false"><span style="font-size:28px;color:blue; font-style: italic;"><b>Eurostation</b></span><br><span style="font-size:18px; color:blue; font-style: normal;">Votre guide gratuit pour voyager en Europe</span><br><span style="font-size:18px; color:blue; font-style: normal;">Les meilleurs conseils pour petits budgets</span></td><td width="25%" valign="top"><table border=0 cellspacing=0 cellpadding=1 width=100%><tr valign=top><td valign="middle" bgcolor="#668811"><font color=white><b>Cherchez sur ce site</b></font></td></tr><tr><form name="frmSearch" method="GET" action="recherche.htm" target="_top"><td align="center"><font color="BLACK"><input name="terms" type="TEXT" size="13" title="Ecrivez les mots à chercher"></font><input type="SUBMIT" value="Go!"></font><br><a href="photos_amsterdam.htm"><img src="images/camera.gif" width="32" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[7])" onMouseout="hidetip()"></a><a href="itineraires.htm"><img src="images/backpack.gif" width="26" height="31" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[8])" onMouseout="hidetip()"></a><a href="cies_avions.htm"><img src="images/plane.gif" width="32" height="29" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[9])" onMouseout="hidetip()"></a><a href="cies_trains.htm"><img src="images/train.gif" width="30" height="32" border="0" alt="" hspace="2" vspace="4" onmouseover="showtip(this,event, letext[10])" onMouseout="hidetip()"></a></td></tr></form></table></td></tr></table><table width=100% border=0><tr valign="top"><td width="25%" valign="top" style="border-right-color: Blue;border-right-style: solid;border-right-width: thin;"><table border=0 cellspacing=0 cellpadding=2 width=100%><tr valign=top><td bgcolor=#668811 nowrap><font color=white><b>Préparation au  voyage</b></font></td></tr></table><table border=0 cellspacing=0 cellpadding=0 width=100%><tr valign=top><td nowrap><br><img src="images/backpack.gif" width="26" height="31" border="0" alt="" align=right><a href="apporter.htm" target="_top" onMouseOver="imgg1.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[11])" onMouseOut="imgg1.src=\'images/cleardot.gif\';hidetip()"><img name="imgg1" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Quoi à  apporter</b></a><br><a href="destinations.htm" target="_top" onMouseOver="imgg2.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[16])" onMouseOut="imgg2.src=\'images/cleardot.gif\';hidetip()"><img name="imgg2" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Endroits à visiter</b></a><br><a href="itineraires.htm" target="_top" onMouseOver="imgg3.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[17])" onMouseOut="imgg3.src=\'images/cleardot.gif\';hidetip()"><img name="imgg3" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Nos itinéraires</b></a><br><a href="couts.htm" target="_top" onMouseOver="imgg4.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[18])" onMouseOut="imgg4.src=\'images/cleardot.gif\';hidetip()"><img name="imgg4" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Coûts à prévoir</b></a><br><a href="livres.htm" target="_top" onMouseOver="imgg5.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[19])" onMouseOut="imgg5.src=\'images/cleardot.gif\';hidetip()"><img name="imgg5" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Livres et références</b></a><br><br></td></tr></table><table border=0 cellspacing=0 cellpadding=2 width=100%><tr valign=top><td bgcolor=#668811 nowrap><font  color=white><b>Voyager à petit budget</b></font><br></td></tr></table><table border=0 cellspacing=0 cellpadding=2 width=100%><tr valign=top><td nowrap><br><img src="images/pauvre.gif" width="32" height="32" border="0" alt="" align=right><a href="conseils.htm" target="_top" onMouseOver="imgg6.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[20])" onMouseOut="imgg6.src=\'images/cleardot.gif\';hidetip()"><img name="imgg6" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Conseils et trucs</b></a><br><a href="passes_trains.htm" target="_top" onMouseOver="imgg7.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[21])" onMouseOut="imgg7.src=\'images/cleardot.gif\';hidetip()"><img name="imgg7" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Passes de trains</b></a><br><a href="travail_etranger.htm" target="_top" onMouseOver="imgg8.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[22])" onMouseOut="imgg8.src=\'images/cleardot.gif\';hidetip()"><img name="imgg8" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Travail à l&#39;étranger</b></a><br><a href="cies_avions.htm" target="_top" onMouseOver="imgg9.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[23])" onMouseOut="imgg9.src=\'images/cleardot.gif\';hidetip()"><img name="imgg9" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Compagnies aériennes</b></a><br><a href="cies_trains.htm" target="_top" onMouseOver="imgg10.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[24])" onMouseOut="imgg10.src=\'images/cleardot.gif\';hidetip()"><img name="imgg10" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Compagnies ferroviaires</b></a><br><a href="auberges_jeunesse.htm" target="_top" onMouseOver="imgg11.src=\'images/fleche_droite_rouge.gif\';showtip(this,event, letext[25])" onMouseOut="imgg11.src=\'images/cleardot.gif\';hidetip()"><img name="imgg11" width="10" height="11" border="0" src="images/cleardot.gif" alt=""><b>Auberges de jeunesse</b></a><br><br></td></tr></table><hr width="100%" size="3" color="#668811"><table width="100%" align="center"><tr><td colspan=3 align="center"><b>Les plus belles photos de nos voyages</b><hr width="100%" size="3" color="#668811"></td></td><tr><td width=48%>&nbsp;</td><td width="100" valign="top" align="center">');

document.write('<a href="javascript:gotoshow()" onmouseover="showtip(this,event, letext[14])" onMouseout="hidetip()"><img src="voyages/amsterdam/small/amsterdam06.jpg" name="slide" border=0 style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)"><img src="voyages/tt_amsterdam.gif" name="texte" border=0 width=100 height=10 alt=""></a>');

var whichlink=0;
var whichimage=0;
var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0;

if (ie6 == 1) {
	slideit();
	}


document.write('<br><br></td><td width=48%>&nbsp;</td></tr></table><table border=0 cellspacing=0 cellpadding=2 width=100%><tr valign=top><td bgcolor=#668811><font color=white><b>A propos de ce site</b></font><br></td></tr></table><table border=0 cellspacing=0 cellpadding=2 width=100%><tr valign=top><td align=center colspan=2><br><span style="font-size:11px;">Ce site fut créé dans le cadre du cours <a href="http://www.fsa.ulaval.ca/iae/Formation/2cycle/sio-65288/index.html" target="_top" onmouseover="showtip(this,event, letext[15])" onMouseout="hidetip()">SIO-65288 Design des interfaces en affaires électroniques</a></span><br></td></tr></table><br><table border=0  cellspacing=0 cellpadding=2 width=100%><tr valign=top><td bgcolor=#668811><font color=white><b>Les auteurs</b></font><br></td></tr></table><br><table width=100% border=0><tr><td width=98% valign=top><a href="mailto:claudiecanada@web.de"><b>Claudie Morneau</b></a><br><span style="font-size:11px;font-style:italic;">"Voyager en Europe, c&#39;est comme un retour dans le passé, les châteaux, l&#39;histoire..."</span></td><td width=2%><img src="images/claudie_45.jpg" width=45 height=59 alt="" border=0 onmouseover="showtip(this,event, letext[12])" onMouseout="hidetip()"></a></td></tr></table><table width=100% border=0><tr><td width="2%" valign="top"><img src="images/jac_45.jpg" width=45 height=57 alt="" border=0 onmouseover="showtip(this,event, letext[13])" onMouseout="hidetip()"></a></td><td width=98% valign=top><a href="mailto:eurostation@hotmail.com"><b>Jacques Noël</b></a><br><span style="font-size:11px;font-style:italic;">"L&#39;Europe pour moi, c&#39;est les musées, les arts, l&#39;atmosphère.  J&#39;y retournerais  tous les ans ..."</span></td></tr></table><br><table border=0  cellspacing=0 cellpadding=2 width=100%><tr valign=top>	<td bgcolor=#668811><font  color=white><b>Besoin d&#39;aide?</b></font><br></td></tr><tr><td align="center"><br><span style="font-size:11"><b>Problèmes techniques ou tout autre question?</b></span><br><br><b>Contactez le webmestre</b><br><a href ="mailto:eurostation@hotmail.com"><span style="font-size:11"><b>eurostation@hotmail.com</b></span></a><br></tr><tr><td colspan=2><hr size=3 width=100% color=#668811></td></tr></table></td><td width="50%" valign="top" style="border-top-style: solid; border-bottom-color:blue; border-bottom-style: solid; border-top-color: blue;border-top-width: thin;border-bottom-width: thin;">');

