function verif_number(o_key, element)
{
   var N = new RegExp("^[0-9]");
   o_key.returnValue = N.test(String.fromCharCode(o_key.keyCode));
   return(true);
}

// Ouvre une nouvelle fenetre avec les autre dates pour la croisiere selectionnee
/*function ouvreDates(ident){	
	fenDates = window.open("../croisiere/fenetres/datesDepart.aspx?id="+ident,'fenetre','height=300,width=520,scrollbars=yes,resizeable=yes,top=100,left=10');
	fenDates.focus();

}*/

// Ouvre la page d'info pour se faire appeler
function ouvreInfo()
{	
	fen= window.open("../vignette1/info1.html",'fenetre','height=300,width=520,scrollbars=yes,resizeable=yes,top=100,left=10');
	fen.focus();
}

// Ouvre une nouvelle fenetre pour présentation de l'itinéraire pour la croisiere selectionnee
function ouvreItin(){
	fen = window.open("../croisiere/itin.html",'fenetre1','height=300,width=640,scrollbars=yes,resizeable=yes,top=100,left=10');
	fen.focus();
}

// Ouvre une nouvelle fenetre pour présentation du navire
function ouvreNavire(){
	fen = window.open("../croisiere/navire.html",'fenetre3','height=300,width=640,scrollbars=yes,resizeable=yes,top=100,left=10');
	fen.focus();
}

// Ouvre une nouvelle fenetre avec les autre dates pour la croisiere selectionnee
function ouvreDates(ident,src){	
	fen = window.open("../croisiere/fenetres/datesDepart.aspx?id="+ident+"&src="+src,'fenetre','height=300,width=520,scrollbars=yes,resizeable=yes,top=100,left=10');
	fen.focus();
}

function ouvrePrima()
{	
	fenPrima = window.open("../informations/prima.htm",'InfosPrima','height=380,width=750,scrollbars=no,resizeable=no,top=100,left=10');
	fenPrima.focus();
}

function Comprend_comprendpas(thingId, TexteId)
{
	var targetElement;
	targetElement = document.getElementById(thingId) ;
	var launchElement;
	launchElement= document.getElementById(TexteId) ;

	if (targetElement.style.display == "none")
	{
		targetElement.style.display = "" ;
		launchElement.innerHTML = "<a href=\"#\" onclick=\"javascript:Comprend_comprendpas('comprendoupas','TextComprendoupas')\" style=\"color:blue;text-decoration:underline;font-family:Arial;font-size:8pt;\"><b>Masquer ce que le tarif comprend / ne comprend pas</b></a>";
		//launchElement.innerHTML = "<b>Masquer ce que le tarif comprend / ne comprend pas</b>";
	}
	else 
	{
		targetElement.style.display = "none" ;
		launchElement.innerHTML = "<a href=\"#\" onclick=\"javascript:Comprend_comprendpas('comprendoupas','TextComprendoupas')\" style=\"color:blue;text-decoration:underline;font-family:Arial;font-size:8pt;\"><b>Voir ce que le tarif comprend / ne comprend pas</b></a>";
		//launchElement.innerHTML = "<b>Voir ce que le tarif comprend / ne comprend pas</b>";
	}
}