/* lien random et lienrendom2 pour les pages situŽes au premier niveau
lien random3 et lienrendom4 pour les pages situŽes au deuxiŹme niveau
pour les niveaux suivants, en page sujet.apercu l'adresse lienrendom5 et lienrendom6 est absolue. */

function lienrandom()
{
    Url = new Array;
    Url[0] = "images001.html";
    Url[1] = "images002.html";
    Url[2] = "images003.html";
    Url[3] = "images004.html";
    Url[4] = "images005.html";
    Url[5] = "images006.html";
    Url[6] = "images007.html";
    Url[7] = "images008.html";

    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}


function lienrandom2()
{
    Url = new Array;
    Url[0] = "vitrine01.html";
    Url[1] = "vitrine02.html";
    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}


function lienrandom3()
{
    Url = new Array;
    Url[0] = "../images001.html";
    Url[1] = "../images002.html";
    Url[2] = "../images003.html";
    Url[3] = "../images004.html";
    Url[4] = "../images005.html";
    Url[5] = "../images006.html";
    Url[6] = "../images007.html";
    Url[7] = "../images008.html";

    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}


function lienrandom4()
{
    Url = new Array;
    Url[0] = "../vitrine01.html";
    Url[1] = "../vitrine02.html";
    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}


function lienrandom5()
{
    Url = new Array;
    Url[0] = "http://www.photovisualbank.com/images001.html";
    Url[1] = "http://www.photovisualbank.com/images002.html";
    Url[2] = "http://www.photovisualbank.com/images003.html";
    Url[3] = "http://www.photovisualbank.com/images004.html";
    Url[4] = "http://www.photovisualbank.com/images005.html";
    Url[5] = "http://www.photovisualbank.com/images006.html";
    Url[6] = "http://www.photovisualbank.com/images007.html";
    Url[7] = "http://www.photovisualbank.com/images008.html";

    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}


function lienrandom6()
{
    Url = new Array;
    Url[0] = "http://www.photovisualbank.com/vitrine01.html";
    Url[1] = "http://www.photovisualbank.com/vitrine02.html";
    ChoixLien = Math.floor((Url.length)*Math.random());
    window.open(Url[ChoixLien],'_self');
}