function rotation_bannieres_flash()
{
code_html = '<a href="'+liens_flash[chiffre_flash]+'"><img border="0" src="'+pictures_flash[chiffre_flash]+'"></a>';
document.getElementById("zone_bannieres_flash").innerHTML = code_html;
	if(chiffre_flash == longueur_flash)
        { chiffre_flash = 0; }
        else
        { chiffre_flash++; }
	changement = 1;
//durée d'affichage d'une bannière en secondes
	window.setTimeout("rotation_bannieres_flash()", (changement*4500));

}

function rotation_bannieres(chiffre_passe)
{
	if (chiffre_passe != -1)
		chiffre=(chiffre_passe%4)+1;

code_html = '<a href="'+liens[chiffre]+'"><img border="0" src="'+pictures[chiffre]+'"></a>';
document.getElementById("zone_bannieres").innerHTML = code_html;
	if(chiffre == longueur)
        { chiffre = 0; }
        else
        { chiffre++; }
	changement = 1;
//durée d'affichage d'une bannière en secondes
if ( chiffre == 2)
	window.setTimeout("rotation_bannieres(-1)", (changement*6000));
else
	window.setTimeout("rotation_bannieres(-1)", (changement*4500));

}

function rotation_bannieres_thematiques()
{
code_html = '<img border="0" src="'+pictures_thematiques[chiffre]+'">';
document.getElementById("zone_bannieres_thematiques").innerHTML = code_html;
	if(chiffre == longueur_thematiques)
        { chiffre = 0; }
        else
        { chiffre++; }
	changement = 1;
//durée d'affichage d'une bannière en secondes
window.setTimeout("rotation_bannieres_thematiques()", (changement*3500));
}


/*
http://www.espacejavascript.com
*/
pictures_flash = new Array()
pictures_flash[0] = 'images/INFRA_PROD_03-1010.gif';
pictures_flash[1] = 'images/ITIFORUMS_VIRT_SERV.gif';
longueur_flash = pictures_flash.length-1;

pictures = new Array()
pictures[2] = 'images/image_accueil_1.png';
pictures[3] = 'images/image_accueil_6.png';
pictures[0] = 'images/Bannieres_thematique_3_convention-2.jpeg';
pictures[1] = 'images/Bannieres_thematique_01_10_b-4.png';
longueur = pictures.length-1;

pictures_thematiques = new Array()
pictures_thematiques[0] = 'images/Bannieres_thematique_B1.jpg';
pictures_thematiques[1] = 'images/Bannieres_thematique_B2.jpg';
pictures_thematiques[2] = 'images/Bannieres_thematique_B3.jpg';
longueur_thematiques = pictures_thematiques.length-1;

liens = new Array()
liens[0] = 'http://www.itiforums.com/accueil.php?choix=CONFERENCES&nom_article=CONFERENCE_17062010&acces_programme_17062010=1';
liens[1] = 'http://www.itiforums.com/accueil.php?choix=CONFERENCES&nom_article=PRESENTATION_DES_CRIP_THEMATIQUES';
liens[2] = 'http://www.itiforums.com/accueil.php';
liens[3] = 'http://www.itiforums.com/accueil.php?choix=RECHERCHE';
chiffre = 0;

liens_flash = new Array()
liens_flash[0] = 'http://www.itiforums.com/accueil.php?choix=CONFERENCES&nom_article=CONFERENCE_17062010';
liens_flash[1] = 'http://www.itiforums.com/accueil.php?choix=CONFERENCES&nom_article=CONFERENCE_19052010';
chiffre_flash = 0;

function afficher_flottant(element)
{
document.getElementById(element).style.display = 'block';
}
function cacher_flottant(element)
{
document.getElementById(element).style.display = 'none';
}
function choix_actif(element)
{
document.getElementById(element).className = 'menu_navigation_actif';
}
function choix_actif_important(element)
{
document.getElementById(element).className = 'menu_navigation_actif_important';
}
function choix_inactif(element)
{
document.getElementById(element).className = 'menu_navigation_inactif';
}
function choix_inactif_case(element)
{
document.getElementById(element).className = 'menu_navigation_inactif_case';
}
function choix_inactif_case_important(element)
{
document.getElementById(element).className = 'menu_navigation_inactif_case_important';
}
