/*
Scripts pages magazine
*/

/*
Textual Tooltip Script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}

//Envoi formulaire de recherche d'article - Algodia
function CherchArt()
{ RechArt.submit(); }

/*--------------------------
   Scripts (c)a2sc - 2001
      amaury@a2sc.com
----------------------------*/

// Proprietes et objets
function ascActiver(){
window.document[this.nom].src = this.srcActif;
}
function ascReposer(){
window.document[this.nom].src = this.srcRepos;
}
function ascPrecharge(){
this.imgActif.src = this.srcActif;
this.imgRepos.src = this.srcRepos;
}
function ascCibler(){
window.document[this.lacible].src = this.srcCible;
}
function ascDecibler(){
window.document[this.lacible].src = this.srcDecible;
}
function ascPrecible(){
this.imgCible.src = this.srcCible;
}
function ascRollover(nom,srcActif,srcRepos){
this.nom = nom;
this.imgActif = new Image();
this.imgRepos = new Image();
this.srcActif = srcActif;
this.srcRepos = srcRepos;
this.ascActiver = ascActiver;
this.ascReposer = ascReposer;
this.ascPrecharge = ascPrecharge;
}
function ascRolloverCible(nom,srcActif,srcRepos,lacible,srcCible,srcDecible){
this.nom = nom;
this.imgActif = new Image();
this.imgRepos = new Image();
this.srcActif = srcActif;
this.srcRepos = srcRepos;
this.ascActiver = ascActiver;
this.ascReposer = ascReposer;
this.ascPrecharge = ascPrecharge;
this.lacible = lacible;
this.imgCible = new Image();
this.imgDecible = new Image();
this.srcCible = srcCible;
this.srcDecible = srcDecible;
this.ascCibler = ascCibler;
this.ascDecibler = ascDecibler;
this.ascPrecible = ascPrecible;
}
// Prechargements et definitions
cheminboutonMenu = new String("medias_com/btn_sm_nav/btn_sm_nav_mag");
cheminboutonOutil = new String("medias_com/btn_sm_nav/btn_sm_nav_mag");
cheminOnglet = new String("medias_com/onglet/onglet_");
cheminCible = new String("medias_com/bandeau/bandeau_mag_txt");
boutonMenu = new Array(15);
for (i=0; i<15; i++){
boutonMenu[i] = new ascRollover("btn_"+i,cheminboutonMenu + "_dr.gif",cheminboutonMenu + "_vid.gif");
boutonMenu[i].ascPrecharge();
}
boutonOutil = new Array(6);
for (i=0; i<6; i++){
boutonOutil[i] = new ascRollover("outil_"+i,cheminboutonMenu + "_dr.gif",cheminboutonMenu + "_fldr.gif");
boutonOutil[i].ascPrecharge();
}
boutonOnglet = new Array(2);
boutonOnglet[0] = new ascRolloverCible("onglet_0",cheminOnglet + "doc_ov.gif",cheminOnglet + "doc.gif","bandeau_txt",cheminCible + "_doc.jpg",cheminCible + ".jpg");
boutonOnglet[0].ascPrecharge();
boutonOnglet[0].ascPrecible();
boutonOnglet[1] = new ascRolloverCible("onglet_1",cheminOnglet + "pro_ov.gif",cheminOnglet + "pro.gif","bandeau_txt",cheminCible + "_pro.jpg",cheminCible + ".jpg");
boutonOnglet[1].ascPrecharge();
boutonOnglet[1].ascPrecible();

/*--------------------------
      fin scripts a2sc
----------------------------*/