<!-- Begin VIEWER AND POP-UP OPTIONS CODE

// ONLY USE lowercase FOR ALL OPTIONS




// GALLERY VIEWER OPTIONS

var viewer 		= "popup"	// OPTIONS: | new | popup | same | New browser or a popup
var width 		= "800"		// WIDTH OF THE POPUP
var height 		= "625"		// HEIGHT OF THE POPUP
var scrollbars		= "yes"		// SHOW SCROLLBARS IN POPUP - yes OR no
var menu		= "no"		// SHOW MENU IN POPUP - yes OR no
var tool		= "no"		// SHOW TOOLBAR IN POPUP - yes OR no



// FAQ POPUP OPTIONS

var FAQ_width 		= 500		// FAQ POPUP HEIGHT
var FAQ_height 		= 500		// FAQ POPUP HEIGHT
var faqscrollbarS 	= "0"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF
var FAQviewer	 	= "no"		// yes/ FAQ FULL SCREEN OR no/POPUP MODE



//  use for representative page - Assistance



var viewerRep 		= "popup"	// OPTIONS: | new | popup | same | New browser or a popup
var widthRep 		= "800"		// WIDTH OF THE POPUP
var heightRep 		= "540"		// HEIGHT OF THE POPUP
var scrollbarsRep	= "yes"		// SHOW SCROLLBARS IN POPUP - yes OR no
var menuRep		= "no"		// SHOW MENU IN POPUP - yes OR no
var toolRep		= "no"		// SHOW TOOLBAR IN POPUP - yes OR no




// START IMAGE VIEW CODE

function ViewScreen(data) {
   if (viewerRep == "popup") {
    windowHandle = window.open('imageG.htm' + '?' + data,'windowName',',scrollbars='+scrollbarsRep+',resizable=no,toolbar='+toolRep+',menubar='+menuRep+',width='+widthRep+',height='+heightRep+'');

}
else if (viewerRep == "new") {
    windowHandle = window.open('image-viewer.htm' + '?' + data,'windowName');
}
else if (viewerRep == "same") {
    window.location = ('image-viewer.htm' + '?' + data);
}
}

// END IMAGE VIEW CODE




// COPYRIGHT 2008 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE






// 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










// START FAQ POPUP

function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
   if (FAQviewer == "no") {
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+'');");
}
else 
if (FAQviewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}









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);



// pour popup petite fenêtre 12 etapes et impact...


function etapes_impact(url) {
var organisation = window.open(url,'myWin','width=480, height=540, top=100, left=20, toolbar=0, menubar=0, location=0, status=0, scrollbars=0, resizable=0');
}


function open_modele(url) {
var organisation = window.open(url,'myWin','width=900, height=400, top=100, left=200, toolbar=0, menubar=0, location=0, status=0, scrollbars=1, resizable=1');
}




// End -->