﻿<!--
  // Conception Django (Oznog) Blais
  // Copyright © 2005 Trucsweb.com
  // http://www.trucsweb.com
  var aUnes=new Array();
  aUnes[0]='<p></p>';
  aUnes[1]='<p></p>';

  var aBannieres = new Array();
  aBannieres[0] = '<a href="/partenaires/go.asp?u=http://www.mcccf.gouv.qc.ca/" target="_blank"><img src="/documents/images/logos/l_mcccfQuebec180.gif" alt="Ministère de la Culture, des Communications et de la Condition féminine" /></a>';
  aBannieres[1] = '<a href="/partenaires/go.asp?u=http://www.calq.gouv.qc.ca/" target="_blank"><img src="/documents/images/logos/l_calqQuebec180.gif" alt="Conseil des arts et des lettres du Québec" /></a>';
  aBannieres[2] = '<a href="/partenaires/go.asp?u=http://placement.emploiquebec.net/" target="_blank"><img src="/documents/images/logos/l_emploiQuebec180.gif" alt="Emploi-Québec" /></a>';
  aBannieres[3] = '<a href="/partenaires/go.asp?u=http://crebsl.org/" target="_blank"><img src="/documents/images/logos/l_crebsl180.gif" alt="Conférence régionale des éluEs du Bas-Saint-Laurent" /></a>';
  aBannieres[4] = '<a href="/partenaires/go.asp?u=http://jeunessebsl.org/" target="_blank"><img src="/documents/images/logos/l_cjbsl180.gif" alt="Commission jeunesse du Bas-Saint-Laurent" /></a>';
  
  var nTourMax = 2000;

  var aBanMax=new Array();
  aBanMax[0] = aUnes.length;
  aBanMax[1] = aBannieres.length;
  
  var aTour=new Array();
  aTour[0] = 0;
  aTour[1] = 0;
  
  var aOtimer=new Array();
  aOtimer[0];
  aOtimer[1];
  
  var aDelais=new Array();
  aDelais[0] = 5000;
  aDelais[1] = 3000;
  
  var aOpacite=new Array();
  aOpacite[0] = 0;
  aOpacite[1] = 0;
  
  var aBanPos=new Array();
  aBanPos[0] = 0;
  aBanPos[1] = 0;
  
  //onload=function(){
    //setTimeout("twFade2009('ctrlUne',1,'aUnes',0)",80);
    setTimeout("twFade2009('ctrlPartenaire',1,'aBannieres',1)",80);
  //}

  function twFade2009(_div,nAjout,_tableau,_index){
    // **********************************************************
    // Script : twFade2009()
    // AUTEUR : Django Blais (Trucsweb.com)
  	// Veuillez laisser cette remarque si vous utilisé ce script original.
  	// **The Developer of the Code is Django Blais, Conception Oznog co. Multumédia - All Rights Reserved.
  	// twFade Copyright (C) 2007 Django Blais, Conception Oznog co. Multumédia - Tous droits réservés.
  	// Mofifier le 2009-05-17 10:28:20
  	// **********************************************************
    var obj = document.getElementById(_div);
    if(aOpacite[_index]==0){
    	aTour[_index]++;
      aBanPos[_index]=(aBanPos[_index]<aBanMax[_index]-1)?aBanPos[_index]+1:0;
      obj.innerHTML = eval(_tableau)[aBanPos[_index]];
    }
    aOpacite[_index] = aOpacite[_index] + nAjout;
    if(obj.style.MozOpacity != null){//Moz
      obj.style.MozOpacity=(aOpacite[_index]==10)?'1':'0.'+aOpacite[_index];
    } else if (obj.style.KhtmlOpacity != null){//KHTML
      obj.style.KhtmlOpacity=(aOpacite[_index]==10)?'1':'0.'+aOpacite[_index];
    } else {//IE
      obj.style.filter='alpha(opacity='+(aOpacite[_index]*10)+')';
    }
    if(aOpacite[_index]==10){
      clearTimeout(aOtimer[_index]);
      if (aTour[_index]<=nTourMax) {setTimeout("twFade2009('"+_div+"',-1,'"+_tableau+"',"+_index+")",aDelais[_index]);}
    } else {
      if(aOpacite[_index]==0){
        clearTimeout(aOtimer[_index]);
        setTimeout("twFade2009('"+_div+"',1,'"+_tableau+"',"+_index+")",80);
      } else {
        aOtimer[_index] = setTimeout("twFade2009('"+_div+"',"+nAjout+",'"+_tableau+"',"+_index+")",40)
      }
    }
  }
  
  function twDirect2009(_div,_tableau,nDirection,_index){
    var obj = document.getElementById(_div);
    aBanPos[_index] = aBanPos[_index] + nDirection;
    if (aBanPos[_index] < 0) aBanPos[_index] = aBanMax[_index]-1;
    if (aBanPos[_index] >= aBanMax[_index]) aBanPos[_index] = 0;
    obj.innerHTML = eval(_tableau)[aBanPos[_index]];
  }
  
  function twPubDirect(_div,_tableau,nPos,_index){
    var obj = document.getElementById(_div);
    if (nPos >= 0 && nPos <= aBanMax[_index]) {obj.innerHTML = eval(_tableau)[nPos];}
  }
  function twBanniere(_url,_src,_texte) {this.url=_url;this.src=_src;this.texte=_texte;}
// -->