//----------------------------------------------------------------
// photos grand format sur page "window1_fr_left" idem pour "nl" et "en".
imag1 = new Image()
imag2 = new Image()
imag3 = new Image()
imag4 = new Image()
imag5 = new Image()
imag6 = new Image()
imag7 = new Image()
imag8 = new Image()

imag1.src="images/F1000015.jpg"
imag2.src="images/F1000019.jpg"
imag3.src="images/F1000026.jpg"
imag4.src="images/F1000036.jpg"
imag5.src="images/F1010014.jpg"
imag6.src="images/F1010019.jpg"
imag7.src="images/F1010025.jpg"
imag8.src="images/F1010033.jpg"

tab_img = new Array(imag1,imag2,imag3,imag4,imag5,imag6,imag7,imag8)
//----------------------------------------------------------------
//Elle teste la version du navigateur : Netscape > ou = 3.0 et Explorer > ou = 4.0
//Si c'est le cas la fonction retourne "true".

function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
	else
	return false;
}
//----------------------------------------------------------------
//Fonction testant le nom du navigateur.
//Si c'est "Netscape" la fonction retourne "true"

function NomNavigateur() {
  if (navigator.appName == 'Netscape')     
    return true;
	else
	return false;
}
//----------------------------------------------------------------
/* version sans déplacement vertical paramètré
function voirphoto(i,x){
	switch(x){
		case 1:
		document.photo_base_v.src=tab_img[i].src
		document.photo_base_v.style.display=""
		break
		case 2:
		document.photo_base_h.src=tab_img[i].src
		document.photo_base_h.style.display=""
		break
		}
	}
*/	
// version avec déplacement vertical paramètré
function voirphoto_n(i,x,dv){
	switch(x){
		case 1:
		document.photo_base_v.src=tab_img[i].src
		document.photo_base_v.style.display=""
		document.photo_base_v.style.top=dv
		break
		case 2:
		document.photo_base_h.src=tab_img[i].src
		document.photo_base_h.style.display=""
		document.photo_base_h.style.top=dv
		break
		}
	}
function cachephoto(x){
	switch(x){
		case 1:
		document.photo_base_v.style.display="none"
		case 2:
		document.photo_base_h.style.display="none"
		}
	}
//----------------------------------------------------------------
//----------------------------------------------------------------
// Ouverture d'une nouvelle fenêtre 
function open_window_prix(nom_window,haut,larg,posih,posiv,scroll){
		window.open(nom_window,"window_prix","height="+haut+",width="+larg+",top="+posiv+",left="+posih+",scrollbars="+scroll+"")
}
