
// fonction link pour les liens de l'entête
function link(_url,_nom,_larg,_haut,_defil)
{
	var op_scroll  = _defil;
	var op_wid  = _larg;
	var op_heigh = _haut;
	var op_tool  = 1;
	var op_loc_box  = 1;
	var op_dir  = 1;
	var op_stat  = 1;
	var op_menu  = 1;
	var op_resize  = 1;                
	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();}
}


<!-- PIEDS DE PAGE -->
<!-- FRENCH -->
function footer_fr_fr()
{
	document.write('<span class="QuickLinkTextWhite"><a href="index.php">		&lt;Accueil&gt;</a>');
	document.write('<a href="products.php">		&lt;Produits&gt;</a>');
	document.write('<a href="support.php">		&lt;Support&gt;</a>');
	document.write('<a href="downloads.php">	&lt;Téléchagement&gt;</a>');
	document.write('<a href="purchase.php">		&lt;Achat&gt;</a>');
	document.write('<a href="company.php" >		&lt;Société&gt;</a>');
	document.write('<a href="contact_us.php">	&lt;Contact&gt;</a>');
	document.write('<a href="mentions.php">		&lt;Mentions légales&gt;</a> </span><br/>');
	document.write("<span class='QuickLinkTextWhite'><strong>IGE+XAO </strong><a href='http://www.ige-xao.fr/editeur-logiciel/index.htm' target='_parent'>&eacute;diteur de logiciels</a>, Le Sp&eacute;cialiste de la   CAO d&eacute;di&eacute;e &agrave; l&rsquo;Electricit&eacute;, aux Syst&egrave;mes et aux Fluides  Industriels</span> ");
}
function footer_continent_fr_fr()
{
	document.write('<span class="QuickLinkTextWhite"><a href="../index.php">		&lt;Accueil&gt;</a>');
	document.write('<a href="../products.php">		&lt;Produits&gt;</a>');
	document.write('<a href="../support.php">		&lt;Support&gt;</a>');
	document.write('<a href="../downloads.php">		&lt;Téléchagement&gt;</a>');
	document.write('<a href="../purchase.php">		&lt;Achat&gt;</a>');
	document.write('<a href="../company.php" >		&lt;Société&gt;</a>');
	document.write('<a href="../contact_us.php">	&lt;Contact&gt;</a>');
	document.write('<a href="../mentions.php">		&lt;Mentions légales&gt;</a> </span><br/>');
	document.write("<span class='QuickLinkTextWhite'><strong>IGE+XAO </strong><a href='http://www.ige-xao.fr/editeur-logiciel/index.htm' target='_parent'> &eacute;diteur de logiciels</a>, Le Sp&eacute;cialiste de la   CAO d&eacute;di&eacute;e &agrave; l&rsquo;Electricit&eacute;, aux Syst&egrave;mes et aux Fluides  Industriels</span> ");
}
function footer_products_fr_fr()
{
	document.write('<span class="QuickLinkTextWhite"><a href="../../index.php">		&lt;Accueil&gt;</a>');
	document.write('<a href="../../products.php">		&lt;Produits&gt;</a>');
	document.write('<a href="../../support.php">		&lt;Support&gt;</a>');
	document.write('<a href="../../downloads.php">		&lt;Téléchagement&gt;</a>');
	document.write('<a href="../../purchase.php">		&lt;Achat&gt;</a>');
	document.write('<a href="../../company.php" >		&lt;Société&gt;</a>');
	document.write('<a href="../../contact_us.php">		&lt;Contact&gt;</a>');
	document.write('<a href="../../mentions.php">		&lt;Mentions légales&gt;</a> </span><br/>');
	document.write("<span class='QuickLinkTextWhite'><strong>IGE+XAO </strong><a href='http://www.ige-xao.fr/editeur-logiciel/index.htm' target='_parent'> &eacute;diteur de logiciels</a>, Le Sp&eacute;cialiste de la   CAO d&eacute;di&eacute;e &agrave; l&rsquo;Electricit&eacute;, aux Syst&egrave;mes et aux Fluides  Industriels</span> ");
}
<!-- END FRENCH -->

<!--FIN PIED DE PAGE !>




function changeColor(cellule,backGroundcolor,colorPolice)
{
	cellule.style.backgroundColor = backGroundcolor;
	cellule.style.color = colorPolice;
}


<!---******************************Fonctions pour le calque -->

function switchid(id){	
	hideallids();
	showdiv(id);

}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
	//	document.write (ids[i]);
		hidediv(ids[i]);
	}		  
}

function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}


<!-- *******************************************************Fin***-->
<!--*******************FONCTION POUR HELP DESK********************--->

function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  
  if (restore) selObj.selectedIndex=0;
}
<!--*******************************************************Fin*****-->

<!-- fonction pour contact_us animation de l'enveloppe-->
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_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];}
}
<!-- fin script contact_us -->


function redimImageHome(inImg)
{
  // Cette function recoit 3 parametres
  // inImg : Chemin relatif de l'image
  // inMW  : Largeur maximale
  // inMH   : Hauteur maximale
  var maxWidth = 194;
  var maxHeight = 194;
  // Declarations des variables "Nouvelle Taille"
  var dW = 0;
  var dH = 0;
  // Declaration d'un objet Image
  var oImg = new Image();
  // Affectation du chemin de l'image a l'objet
  oImg.src = inImg;
  // On recupere les tailles reelles
  var h = dH = oImg.height;
  var w = dW = oImg.width;
  // Si la largeur ou la hauteur depasse la taille maximale
  if ((h >= maxHeight) || (w >= maxWidth)) {
    // Si la largeur et la hauteur depasse la taille maximale
    if ((h >= maxHeight) && (w >= maxWidth)) {
      // On cherche la plus grande valeur
      if (h > w) {
        dH = maxHeight;
        // On recalcule la taille proportionnellement
        dW = parseInt((w * dH) / h, 10);
      } else {
        dW = maxWidth;
        // On recalcule la taille proportionnellement
        dH = parseInt((h * dW) / w, 10);
      }
    } else if ((h > maxHeight) && (w < maxWidth)) {
      dH = maxHeight;
        // On recalcule la taille proportionnellement
      dW = parseInt((w * dH) / h, 10);
    } else if ((h < maxHeight) && (w > maxWidth)) {
      dW = maxWidth;
        // On recalcule la taille proportionnellement
      dH = parseInt((h * dW) / w, 10);
    }
  }
  // On ecrit l'image dans le document
  document.writeln("<img src=\"" + inImg + "\" width=\"" + dW + "\" height=\"" + dH + "\" border=\"0\">");
};

function menu_fr_fr ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../fr/css/menu_fr_fr_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../fr/css/menu_fr_fr_ff.css'>");
		}
}
;

function menu_fr_fr_c ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../fr/css/menu_fr_fr_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../fr/css/menu_fr_fr_ff.css'>");
		}
}
;
function menu_fr_fr_p ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../fr/css/menu_fr_fr_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../fr/css/menu_fr_fr_ff.css'>");
		}
}
;

function menu_fr_corp ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../css/menu_fr_corp_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../css/menu_fr_corp_ff.css'>");
		}
}
;

function menu_fr_corp_c ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../css/menu_fr_corp_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../css/menu_fr_corp_ff.css'>");
		}
}
;

function menu_fr_corp_p ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../css/menu_fr_corp_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../css/menu_fr_corp_ff.css'>");
		}
}
;