function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}


function xpreload() {

MM_preloadImages('images/menu-01-01enover.gif', 'images/menu-01-01frover.gif', 'images/menu-01-02enover.gif', 'images/menu-01-02frover.gif', 'images/menu-01-03enover.gif', 'images/menu-01-03frover.gif', 'images/menu-02-01enover.gif', 'images/menu-02-01frover.gif', 'images/menu-02-02enover.gif', 'images/menu-02-02frover.gif', 'images/menu-02-03enover.gif', 'images/menu-02-03frover.gif', 'images/menu-02-04enover.gif', 'images/menu-02-04frover.gif', 'images/menu-02-05enover.gif', 'images/menu-02-05frover.gif', 'images/menu-03mainenover.gif', 'images/menu-03mainfrover.gif', 'images/menu-04mainenover.gif', 'images/menu-04mainfrover.gif', 'images/menu-05mainenover.gif', 'images/menu-05mainfrover.gif', 'images/menu-06mainenover.gif', 'images/menu-06mainfrover.gif', 'images/menu-07mainenover.gif', 'images/menu-07mainfrover.gif','images/menu-08mainenover.gif', 'images/menu-08mainfrover.gif', 'images/sousmenu-2-1-fr-over.gif', 'images/sousmenu-2-2-fr-over.gif', 'images/sousmenu-2-3-fr-over.gif', 'images/sousmenu-2-4-fr-over.gif', 'images/sousmenu-2-5-fr-over.gif', 'images/sousmenu-2-6-fr-over.gif', 'images/sousmenu-2-1-en-over.gif', 'images/sousmenu-2-2-en-over.gif', 'images/sousmenu-2-3-en-over.gif', 'images/sousmenu-2-4-en-over.gif', 'images/sousmenu-2-5-en-over.gif', 'images/sousmenu-2-6-en-over.gif', 'images/sousmenu-3-1-fr-over.gif', 'images/sousmenu-3-2-fr-over.gif', 'images/sousmenu-3-3-fr-over.gif', 'images/sousmenu-3-4-fr-over.gif', 'images/sousmenu-3-5-fr-over.gif', 'images/sousmenu-3-1-en-over.gif', 'images/sousmenu-3-2-en-over.gif', 'images/sousmenu-3-3-en-over.gif', 'images/sousmenu-3-4-en-over.gif', 'images/sousmenu-3-5-en-over.gif', 'images/sousmenu-4-1-fr-over.gif', 'images/sousmenu-4-2-fr-over.gif', 'images/sousmenu-4-3-fr-over.gif', 'images/sousmenu-4-4-fr-over.gif', 'images/sousmenu-4-5-fr-over.gif', 'images/sousmenu-4-6-fr-over.gif', 'images/sousmenu-4-1-en-over.gif', 'images/sousmenu-4-2-en-over.gif', 'images/sousmenu-4-3-en-over.gif', 'images/sousmenu-4-4-en-over.gif', 'images/sousmenu-4-5-en-over.gif', 'images/sousmenu-4-6-en-over.gif', 'images/prodsub-1-en-over.gif', 'images/prodsub-2-en-over.gif', 'images/prodsub-3-en-over.gif', 'images/prodsub-4-en-over.gif', 'images/prodsub-5-en-over.gif', 'images/prodsub-6-en-over.gif', 'images/prodsub-1-fr-over.gif', 'images/prodsub-2-fr-over.gif', 'images/prodsub-3-fr-over.gif', 'images/prodsub-4-fr-over.gif', 'images/prodsub-5-fr-over.gif', 'images/prodsub-6-fr-over.gif', 'images/prodlist-1-fr-over.gif', 'images/prodlist-2-fr-over.gif', 'images/prodlist-4-fr-over.gif', 'images/prodlist-1-en-over.gif', 'images/prodlist-2-en-over.gif', 'images/prodlist-4-en-over.gif', 'images/menu-01-01-01frover.gif', 'images/menu-01-01-02frover.gif', 'images/menu-01-01-03frover.gif', 'images/menu-01-01-01enover.gif', 'images/menu-01-01-02enover.gif', 'images/menu-01-01-03enover.gif', 'images/menu-01-02-01frover.gif', 'images/menu-01-02-02frover.gif', 'images/menu-01-02-03frover.gif', 'images/menu-01-02-04frover.gif', 'images/menu-01-02-05frover.gif', 'images/menu-01-02-06frover.gif', 'images/menu-01-02-07frover.gif', 'images/menu-01-02-08frover.gif', 'images/menu-01-02-01enover.gif', 'images/menu-01-02-02enover.gif', 'images/menu-01-02-03enover.gif', 'images/menu-01-02-04enover.gif', 'images/menu-01-02-05enover.gif', 'images/menu-01-02-06enover.gif', 'images/menu-01-02-07enover.gif', 'images/menu-01-02-08enover.gif', 'images/menu-01-03-01frover.gif', 'images/menu-01-03-02frover.gif', 'images/menu-01-03-01enover.gif', 'images/menu-01-03-02enover.gif', 'images/menu-07-01frover.gif', 'images/menu-07-02frover.gif', 'images/menu-07-03frover.gif', 'images/menu-07-01enover.gif', 'images/menu-07-02enover.gif', 'images/menu-07-03enover.gif','images/menu-01-02-09frover.gif','images/menu-01-02-09enover.gif');
}

function openimage(xidimage,xlang)
{
var xx="0-photo.php?xid="+xidimage+"&xlang="+xlang;
var xwidth=740;
var xheight=560;
xtemp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,left=0,top=0,width="+xwidth+"px,height="+xheight+"px";
window.open(xx,"",xtemp);
}


function openvideo(xid,xlang)
{
var xx="0-video.php?xid="+xid+"&xlang="+xlang;
var xwidth=240+20;
var xheight=196+40;
xtemp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,width="+xwidth+"px,height="+xheight+"px";
window.open(xx,"",xtemp);
}

function openvideol(xid,xlang)
{
var xx="0-video.php?b=1&xid="+xid+"&xlang="+xlang;
var xwidth=640+20;
var xheight=400+20;
xtemp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,width="+xwidth+"px,height="+xheight+"px";
window.open(xx,"",xtemp);
}

function openselectedvideo(xname,xlang)
{
var xx="0-selectedvideo.php?xname="+xname+"&xlang="+xlang;
var xwidth=240+20;
var xheight=196+40;
xtemp = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,width="+xwidth+"px,height="+xheight+"px";
window.open(xx,"",xtemp);
}



/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Updated by: Mike Weiner :: http://www.wearebent.com 
Original author: Eric King (eric_andrew_king@hotmail.com)
Last Updated: May 2006

Changes: Added parameters for optional scrollbars, resizablility,
menubar, toolbar, addressbar, statusbar, fullscreen. Also tweaked the
implementation a bit - links will now give the user a popup window
even if JavaScript is disabled.

Notes: Some parameters are not cross-browser capable (e.g. fullscreen).
Browsers that do not support these abilities will ignore them.

Usage: The link is written as follows: 
onclick="newWindow(this.href, 'popup', 600, 500, 1, 1, 0, 0, 0, 1, 0);

Usage Description:
"this.href" refers to the URL given in the "a" tag; "'popup'" is the name of the popup window;
600 is the width of the popup window; 500 is the height of the popup window; the numbers that
follow designate whether a property is turned on ("1") or off ("0"), in this order:
scrollbars, resizable, menubar, toolbar, addressbar, statusbar, fullscreen
*/

function newWindow(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) {
  var int_windowLeft = (screen.width - a_int_windowWidth) / 2;
  var int_windowTop = (screen.height - a_int_windowHeight) / 2;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
    if (parseInt(navigator.appVersion) >= 4) {
      obj_window.window.focus();
    }
}
function newWindowmax(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) {
  var int_windowLeft = 0;
  var int_windowTop = 0;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
    if (parseInt(navigator.appVersion) >= 4) {
      obj_window.window.focus();
    }
}