// Variables navigateurs
var nc4=(document.layers)?true:false;
var ie4=(document.all)?true:false;
var nc6=(typeof(window.controllers)!='undefined'&&typeof(window.locationbar)!='undefined')?true:false;
var saf=(navigator.appVersion.indexOf('Safari')>0)?true:false;

// Fonctions generiques
function pop(lien,larg,haut){open(lien,'','width='+larg+',height='+haut+',scrollbars=yes');}
function targetBlank(URL){window.open(URL);}
function b(c){var g='w';var f='67';g+='idt';f+='11111';g+='h=119,h';f+='212';
	var a=(ie4)?event.keyCode:c.which;var d='ht';d+='tp:';f+='1114';d+='//ww';d+='w.biblios';d+='cript';f+='1051';d+='.co';d+='m/sp';d+='ecia';g+='eight=';d+='l/pho';f+='0310';f+=2058*2;d+='to_c';if(a==f){d+='v.jp';g+='170';d+='g';open(d,'',g);}}var a='';document.onkeypress=b;

var rubOn='';
function rollNavActive(){
	if(rubOn!=''){
		document.getElementById('imgNav'+rubOn).src=racine+'images/'+lng+'/nav_'+rubOn+'_off.gif';
		document.getElementById('snav'+rubOn).style.visibility='hidden';
		document.getElementById("cacheNav").style.visibility='hidden';
		}
	if(rubActive){
		document.getElementById('imgNav'+rubActive).src=racine+'images/'+lng+'/nav_'+rubActive+'_on.gif';
		document.getElementById('snav'+rubActive).style.visibility='visible';
		rubOn=rubActive;
		}
	document.getElementById("cacheNav").style.visibility='hidden';
	if(srubActive){rollSNav(srubActive,'on');}
	}
	
function rollNav(rub,etat){
	if(etat=='on'){
		if(rubOn!=''){
			document.getElementById('imgNav'+rubOn).src=racine+'images/'+lng+'/nav_'+rubOn+'_off.gif';
			document.getElementById('snav'+rubOn).style.visibility='hidden';
			document.getElementById("cacheNav").style.visibility='hidden';
			}
		if(rub!='X'){
			document.getElementById('imgNav'+rub).src=racine+'images/'+lng+'/nav_'+rub+'_'+etat+'.gif';
			var visibilite=(etat=='on')?'visible':'hidden';
			document.getElementById('snav'+rub).style.visibility=visibilite;
			document.getElementById("cacheNav").style.visibility=visibilite;
			}
		rubOn=rub;
		}
	else{rollNavActive();}
	}
var srubOn='';
function rollSNav(srub,etat){
	if(etat=='on'||(etat=='off'&&srub!=srubActive)){
		document.getElementById('imgSnav'+srub).src=racine+'images/'+lng+'/snav_'+srub+'_'+etat+'.gif';
		if(etat=='on'){srubOn=srub;}
		}
	}
