var i;

page = new makeArray(5);
page[1]="info.html";
page[2]="info2.html";
page[3]="info3.html";
page[4]="info4.html";
page[5]="info5.html";
page[6]="info6.html";

function makeArray(n) {
this.length = n;
for (var i=1; i<=n; i++) {
this[i] = ""; 
}
return this;
}

function pagealeatoire() {
i = Math.floor(6 * Math.random() + 1);
return page[i];
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function locator_fenster(url) {
        pict1=window.open(url,"locator","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,WIDTH=200,HEIGHT=440")
}


function ouvrir(machaine)
		{
        inter= machaine;
        if((navigator.appVersion.charAt(0)=='2')&&(!(navigator.userAgent.indexOf("MSIE")!=-1)))
        {
                mafenetre = window.open("","","toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=yes,width=150,height=250,screenX=0,screenY=90");
                mafenetre = window.open(inter,"");
        }
        else mafenetre = window.open(inter,'detail','toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=yes,width=150,height=250,screenX=0,screenY=90');
        }
        
function retour(){
        if(history[0].indexOf("#")!=-1)
                {history.go(-3);}
        else{history.go(-2);}
        }
        
