// Fait par FGI enr. - www.fgi.ca // 

// préchargement //
if (document.images) {
  fond = new Image();
  fond.src = "http://www.fgi.ca/externe/fgifnd.gif";
}

// Pop-up //
function navi(form) {
  var url=form.page.selectedIndex
  window.location=(form.page.options[url].value);
}

function aller(police) {
  if (police != "") {
    window.top.location=police
  } 
}

function ouvrir_page(lien) {
  tableau=window.open(lien,"tableau","width=400, height=400, toolbar=no, resizable=yes, scrollbars=yes, left=0, top=0");
  tableau.focus();
}

function ouvrir_glo(lien) {
  info=window.open(lien,"info","width=350, height=400, toolbar=no, resizable=yes, scrollbars=yes, left=0, top=0");
  info.focus();
}

function glossaire(fenetre) {
  var larg=350;
  var haut=(screen.height*2)/3;
  var fenetre=window.open('http://www.fgi.ca/notes/glossaire.php','glossaire','width='+larg+',height='+haut+',toolbar=no, scrollbars=yes');
  fenetre.focus();
  fenetre.moveTo((screen.width-larg)-(screen.width-larg)/20, screen.height/20);
}

// Boutons actifs //
{
aideOn=new Image(41,20); aideOn.src="../externe/btaide1.gif"; aideOff=new Image(41,20); aideOff.src="../externe/btaide.gif";
}
{
planOn=new Image(74,20); planOn.src="../externe/btplan1.gif"; planOff=new Image(74,20); planOff.src="../externe/btplan.gif";
}
{
glosOn=new Image(65,20); glosOn.src="../externe/btglos1.gif"; glosOff=new Image(65,20); glosOff.src="../externe/btglos.gif";
}
{
wcagOn=new Image(120,20); wcagOn.src="../externe/btwcag1.gif"; wcagOff=new Image(120,20); wcagOff.src="../externe/btwcag.gif";
}
{
engOn=new Image(64,20); engOn.src="../externe/bteng1.gif"; engOff=new Image(64,20); engOff.src="../externe/bteng.gif";
}
{
rechOn=new Image(72,20); rechOn.src="../externe/btrech1.gif"; rechOff=new Image(72,20); rechOff.src="../externe/btrech.gif";
}
 
function ouvrir(imgName) {
  imgOn=eval(imgName + "On.src"); document[imgName].src= imgOn;
} 
function fermer(imgName) {
  imgOff=eval(imgName + "Off.src"); document[imgName].src= imgOff;
} 

// (c) 2004  FGI enr. - Tous droits réservés //