for (var i=0;i<=9;i++) {
	var idxList = new Array('images_idx_fr/idx_accueil.gif','images_idx_fr/idx_accueil_on.gif',
'images_idx_fr/idx_qui.gif','images_idx_fr/idx_qui_on.gif',
'images_idx_fr/idx_services.gif','images_idx_fr/idx_services_on.gif',
'images_idx_fr/idx_nouveautes.gif','images_idx_fr/idx_nouveautes_on.gif',
'images_idx_fr/idx_contact.gif','images_idx_fr/idx_contact_on.gif')
	var idx = new Array()

	eval('idx['+i+'] = new Image()')
	eval('idx['+i+'].src = "'+idxList[i]+'"')
}

for (var i=0;i<=17;i++) {
	var btnList = new Array('images_site/btn_loupe.gif','images_site/btn_loupe_on.gif',
'images_site_fr/btn_ajouter.gif','images_site_fr/btn_ajouter_on.gif',
'images_site/btn_plus.gif','images_site/btn_plus_on.gif',
'images_site/btn_plus_01.gif','images_site/btn_plus_01_on.gif',
'images_site/btn_plus_02.gif','images_site/btn_plus_02_on.gif',
'images_site_fr/btn_recalculer.gif','images_site_fr/btn_recalculer_on.gif',
'images_site_fr/btn_etape_suivante.gif','images_site_fr/btn_etape_suivante_on.gif',
'images_site_fr/btn_etape_precedente.gif','images_site_fr/btn_etape_precedente_on.gif',
'images_site_fr/btn_envoyer.gif','images_site_fr/btn_envoyer_on.gif')
	var btn = new Array()

	eval('btn['+i+'] = new Image()')
	eval('btn['+i+'].src = "'+btnList[i]+'"')
}

function enlargePhotos(page, width, height) {
	windowWidth = width
	windowHeight = height
	var popUpWindow
	var url = page
	popUpWindow = openPopUp(url, "neu", (screen.height/2)-(windowHeight/2+20), (screen.width/2)-(windowWidth/2+10), windowWidth, windowHeight)
	// if (!popUpWindow) { alert("Vous avez un pop-up blocker, désactivé le pour pouvoir utiliser ce site Internet adéquatement!") }
	// else { alert('Shit!') }
	popUpWindow.focus()
	// btnOff(type,whichOne)
}

function openPopUp(url, name, top, left, width, height){
	return window.open(url, name, "top=" + top + ",left=" + left + ",width=" + width + ",height=" + height + ",menubar=no,location=no,status=no,toolbar=no,scrollbars=no");
}
