<!-- DEBUT GRANDEUR POP-UP ET OPTIONS

// NOTE: Si vous utilisez un ' ajouter \' avant

// ECRIRE EN minuscules POUR TOUTES LES OPTIONS

// CHANGER LES VARIABLES A "no" OU "yes" POUR CHANGER UNE OPTION

var close_button 	= "yes"		// BOUTON ON/OFF POP-UP
right_click_on		= "yes"		// PROTECTION CLICK DROIT


// AUTRES OPTIONS


border_color		= "FFFFFF"	// COULEUR CONTOUR IMAGE
var background_colors	= "292929"	// COULEUR ARRIERE PLAN POP-UP

var view_width 		= 650		// LARGEUR POP-UP
var view_height 	= 475		// HAUTEUR POP-UP

var FAQ_width 		= 500		// LARGEUR POP-UP FAQ
var FAQ_height 		= 450		// HAUTEUR POP-UP FAQ 

var scrollbarS 		= "0"		// ALLUMER BARRE DEROULANTE POP-UP "1" POUR ON "0" POUR OFF
var faqscrollbarS 	= "0"		// ALLUMER BARRE DEROULANTE POP-UP FAQ "1" POUR ON "0" POUR OFF



// NE PAS CHANGER LES LIGNES CI-DESSOUS

// DEBUT POP-UP

function popUp(URL) {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>Fermer</title>')
popwin.document.write('<link rel=StyleSheet href="customstyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'click droit non disponible.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
   if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Fermer" onClick=\'self.close()\' onmouseover="this.className=\'boutonon-pop\'" onmouseout="this.className=\'bouton-pop\'" class="bouton-pop"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}




// DEBUT POP-UP FAQ



function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}


// START IMAGE VIEW CODE

function ViewImage(data) {
   if (viewer == "popup") {
    windowHandle = window.open('image-viewer.htm' + '?' + data,'windowName',',scrollbars='+scrollbars+',resizable=yes,toolbar='+tool+',menubar='+menu+',width='+width+',height='+height+'');

}
else if (viewer == "new") {
    windowHandle = window.open('image-viewer.htm' + '?' + data,'windowName');
}
else if (viewer == "same") {
    window.location = ('image-viewer.htm' + '?' + data);
}
}

// END IMAGE VIEW CODE



IEMhover = function() {
	var IEMh = document.getElementById("menunav").getElementsByTagName("LI");
	for (var i=0; i<IEMh.length; i++) {
		IEMh[i].onmouseover=function() {
			this.className+=" IEMhover";
		}
		IEMh[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" IEMhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", IEMhover);






//  FIN -->