
// 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 -->
<!-- POLONAIS -->
function footer_pl_pl()
{
	document.write('<span class="QuickLinkTextWhite"><A HREF="support/symbole.php" target="_self">&lt;symbole&gt;</a>');
	document.write('<A HREF="download.php" 			target="_self">&lt;trial&gt;</a>');
	document.write('<A HREF="products.php" 		target="_self">&lt;oferta&gt;</a>');
	document.write('<A HREF="contact_us.php" 		target="_self">&lt;kontakt&gt;</a>');
	document.write('<A HREF="http://www.ige-xao.pl/?page=logowanie"			target="_blank">&lt;dla klient&oacute;w&gt;</a>');
	document.write('<A HREF="index.php"		target="_self">&lt;strona g&#322;&oacute;wna&gt;</a></span><br/><span class="QuickLinkTextWhite">');
	document.write('<A HREF="http://www.ige-xao.pl" target="_parent">IGE+XAO</a>, Polska. Wszystkie prawa zastrze&#380;one.</span>');
}
function footer_continent_pl_pl()
{
	document.write('<span class="QuickLinkTextWhite"><A HREF="../support/symbole.php" target="_self">&lt;symbole&gt;</a>');
	document.write('<A HREF="../download.php" 			target="_self">&lt;trial&gt;</a>');
	document.write('<A HREF="../products.php" 		target="_self">&lt;oferta&gt;</a>');
	document.write('<A HREF="../contact_us.php" 		target="_self">&lt;kontakt&gt;</a>');
	document.write('<A HREF="http://www.ige-xao.pl/?page=logowanie"			target="_blank">&lt;dla klient&oacute;w&gt;</a>');
	document.write('<A HREF="../index.php"		target="_self">&lt;strona g&#322;&oacute;wna&gt;</a></span><br/><span class="QuickLinkTextWhite">');
	document.write('<A HREF="http://www.ige-xao.pl" target="_parent">IGE+XAO</a>, Polska. Wszystkie prawa zastrze&#380;one.</span>');
}
function footer_products_pl_pl()
{
	document.write('<span class="QuickLinkTextWhite"><A HREF="../../support/symbole.php" target="_self">&lt;symbole&gt;</a>');
	document.write('<A HREF="../../downloads.php" 			target="_self">&lt;trial&gt;</a>');
	document.write('<A HREF="../../products.php" 		target="_self">&lt;oferta&gt;</a>');
	document.write('<A HREF="../../contact_us.php" 		target="_self">&lt;kontakt&gt;</a>');
	document.write('<A HREF="http://www.ige-xao.pl/?page=logowanie"			target="_blank">&lt;dla klient&oacute;w&gt;</a>');
	document.write('<A HREF="../../index.php"		target="_self">&lt;strona g&#322;&oacute;wna&gt;</a></span><br/><span class="QuickLinkTextWhite">');
	document.write('<A HREF="http://www.ige-xao.pl" target="_parent">IGE+XAO</a>, Polska. Wszystkie prawa zastrze&#380;one.</span>');
}
<!-- END POLONAIS -->

<!--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_pl_pl ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../pl/css/menu_pl_pl_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../pl/css/menu_pl_pl_ff.css'>");
		}
}
;

function menu_pl_pl_c ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../pl/css/menu_pl_pl_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../pl/css/menu_pl_pl_ff.css'>");
		}
}
;
function menu_pl_pl_p ()
{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../pl/css/menu_pl_pl_ie.css'>");
		}
		else
		{
			document.write("<LINK rel='stylesheet' type='text/css' href='../../../pl/css/menu_pl_pl_ff.css'>");
		}
}
;

