function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function JL_markCurrent() {
	var i ;
	for (i=0 ; i<document.links.length ; i++) {
		if (document.links[i].href == window.location) document.links[i].className = "current" ;
	}
}



function JL_redirectAVQS(langue) {
	var s = window.location.pathname ;
	var ext = s.substring(s.length-4, s.length) ;
	if (langue == "fr") {
		s = s.substring(0, s.length-6) ;
		location = s + langue + ext ;
	} else {
		s = s.substring(0, s.length-6) ;
		location = s + langue + ext ;
	}
}

function JL_redirect(langue) {
	var s = window.location.pathname + window.location.search ;
	re = /\.fr|\.en/ ;
	s = s.replace(re, "." + langue) ;
	location = s ;
}
