function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function refreshFrames(page_main) {
	window.top.location.href="index_fr_left.asp?contentValue="+page_main+"&tagContent=1&menuValue=1&valueScroll=1";
	//window.top.menu.location="menu_left.htm";
	//window.top.content.location=page_main;
}

function left_popup(theURL,winName,features) {
 	facom_left_popup= window.open(theURL,winName,features+',left=20,top=20');
}


function refreshFrames2(page_main) {
	window.top.menu.location="menu_left.htm";
	window.top.content.location=page_main;
}



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 displayPopup(url, winName, winWidth, winHeight, features) {
	var winTop = (screen.height - winHeight) / 2;
	var winLeft = (screen.width - winWidth) / 2;

	window.open(url, winName, features + ',width=' + winWidth + ',height=' + winHeight + ',top=' + winTop + ', left=' + winLeft);
}




function twAller(_url,_cadre,_target) {
  if (_cadre) {
    parent._cadre.location.href = _url;
  } else if (_target) {
    _target = window.open(_url,_target);
  } else {
    window.location.href = _url;
  }
}


function twPopUp(_url,_nom,_larg,_haut,_defil) {
var op_scroll = _defil;
var op_wid = _larg;
var op_heigh = _haut;
var op_tool = 0;
var op_loc_box = 0
var op_dir = 0;
var op_stat = 0;
var op_menu = 0;
var op_resize = 0;
var options = "toolbar="+ op_tool +",location="+ op_loc_box +",directories="
+ op_dir +",status="+ op_stat +",menubar="+ op_menu +",scrollbars="
+ op_scroll +",resizable=" + op_resize +",width=" + op_wid +",height="+ op_heigh;
var wNom = window.open(_url, _nom, options);
if(_nom.focus){_nom.focus();}
}


function refreshFrames(page_main) {
	window.top.location.href="index_fr_left.asp?contentValue="+page_main+"&tagContent=1&menuValue=1&valueScroll=1";
	//window.top.menu.location="menu_left.htm";
	//window.top.content.location=page_main;
}

function left_popup(theURL,winName,features) {
 	facom_left_popup= window.open(theURL,winName,features+',left=20,top=20');
}

function refreshFrames2(page_main) {
	window.top.menu.location="menu_left.htm";
	window.top.content.location=page_main;
}



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 displayPopup(url, winName, winWidth, winHeight, features) {
	var winTop = (screen.height - winHeight) / 2;
	var winLeft = (screen.width - winWidth) / 2;

	window.open(url, winName, features + ',width=' + winWidth + ',height=' + winHeight + ',top=' + winTop + ', left=' + winLeft);
}



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);




function popup() {
        popwindow = window.open(popwindowURL, "FFFFFFFFFF", tools);


}

function movewindow() {

popwindow.moveTo(popwindowright,popwindowtop)

}
function windopen(page,taille)
{
	fenetre=window.open(page,"image",taille)

}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function refreshFrames(page_main) {
	window.top.location.href="index_fr_left.asp?contentValue="+page_main+"&tagContent=1&menuValue=1&valueScroll=1";
	//window.top.menu.location="menu_left.htm";
	//window.top.content.location=page_main;
}

//Contents for menu 1
var menu1=new Array()
menu1[0]='<table bgcolor="#FFFFFF" width="120" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="http://www.team-facom.com"  class="menu" >Team FACOM</a></td></tr>'
menu1[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="http://www.pro.facom.fr/cataloguegeneral/" target="_blank" class="menu" >Catalogue Produits</a></td></tr></table>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<table bgcolor="#FFFFFF" width="120" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/societe/concepteur_fabricant/concept.php"  class="menu">Concepteur fabricant</a></td></tr>'
menu2[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/societe/service_clients/prox_com.php"  class="menu">Le service clients</a></td></tr>'
menu2[2]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/societe/valeurs/qualite.php"  class="menu">Valeur FACOM</a></td></tr>'
menu2[3]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/societe/historique/historique.php"  class="menu">90 ans d\'innovations</a></td></tr>'
menu2[4]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/visite/visite_camion.php"  class="menu">Visite Virtuelle</a></td></tr></table>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<table bgcolor="#FFFFFF" width="120" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/filiales/index.php"  class="menu">Nos distributeurs</a></td></tr>'
menu3[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/filiales/trouver.php"  class="menu">Nos bureaux</a></td></tr></table>'
//Contents for menu 4
var menu4=new Array()

//Contents for menu 5
var menu5=new Array()
menu5[0]='<table bgcolor="#FFFFFF" width="150" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/automobile/automobile.php" class="menu">Automotive</a></td></tr>'
menu5[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/aeronautique/aeronautique.php" class="menu">Aéronautique</a></td></tr>'
menu5[2]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/electricite/electricite.php" class="menu">Electricité</a></td></tr>'
menu5[3]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/electronique/electronique.php" class="menu">Electronique</a></td></tr>'
menu5[4]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/off_shore/off_shore.php" class="menu">Off Shore & Heavy Duty</a></td></tr>'
menu5[5]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/metiers/maint_indus/maint_industr.php" class="menu">Maintenance Industrielle</a></td></tr></table>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<table bgcolor="#FFFFFF" width="190" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/bibliotheque3D/bibliotheque3D.php"  class="menu">Bibliothèque 3D - CAO</a></td></tr>'
menu6[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/garantie/garantie.php"  class="menu">La Garantie FACOM</a></td></tr>'
menu6[2]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/normalisation/norme1.php"  class="menu">Normalisation guide de choix</a></td></tr>'
menu6[3]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/serrage/guide.php"  class="menu">Guide de serrage contrôlé</a></td></tr>'
menu6[4]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/securite/securite.php"  class="menu" >Consignes de sécurité</a></td></tr>'
menu6[5]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/guide_affectation/index.php"  class="menu" >Guide d\'affectation pour l\'automobile</a></td></tr>'
menu6[6]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/services/deee/traitement_dechet_01.php"  class="menu" >Traitement des déchets</a></td></tr>'
menu6[7]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/telechargement/catalogue.php"  class="menu" >Téléchargement</a></td></tr></table>'


//Contents for menu 6
var menu7=new Array()
menu7[0]='<table bgcolor="#FFFFFF" width="120" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/news/news_center.php"  class="menu" >Actualités</a></td></tr>'
menu7[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/news/miseAjour.php"  class="menu" >Mise à jour</a></td></tr>'
menu7[2]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/news/alerteActus.php"  class="menu" >Alertes actus</a></td></tr>'
menu7[3]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/competition/auto.php"  class="menu" >Sports mécaniques</a></td></tr>'
menu7[4]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/goodies/fond_ecran.php"  class="menu" >Goodies</a></td></tr></table>'


//Contents for menu 8
var menu8=new Array()
menu8[0]='<table bgcolor="#FFFFFF" width="85" cellpadding="1" cellspacing="1"><tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/espace_presse/index.php"  class="menu" >Espace Presse</a></td></tr>'
menu8[1]='<tr><td bgcolor="#5F6979" class="menu" onMouseover="this.style.backgroundColor=\'#DF0029\';" onMouseout="this.style.backgroundColor=\'#5F6979\';"> <a href="/fr/contact/intro.php"  class="menu" >Service Client</a></td></tr></table>'





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 MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function windopen(page,taille)
{
	fenetre=window.open(page,"image",taille)

}


