var repimg= "images/tris/";
var immoins= repimg+"moins.gif";
var implus= repimg+"plus.gif";

var sommaire = new creerSommaire("verdana,arial","2","#cccccc","#ffcc00",implus,immoins,"cadre1","auto");

function rubopt(s,e1,e2,e3,e4,e5,e6) {
s.addRub("<B>collège</B>",e2,"");
s.addOpt("programmes","respeda/college/programs/c1prgcol.htm","");
s.addOpt("activités doc.","respeda/college/actidoc/c1collad.htm","");
s.addOpt("trav.pratiques","respeda/college/tp/c1colltp.htm","");
s.addOpt("capaexp","respeda/college/ece/c1collece.htm","")
s.addOpt("exao","respeda/college/exao/c1collex.htm","");
s.addOpt("sujets d.n.b.","respeda/college/dnb/c1colldn.htm","");
s.addRub("<B>lycée</B>",e3,"");
s.addOpt("programmes","respeda/lyceegen/programs/c1prglyg.htm","");
s.addOpt("capaexp","respeda/lyceegen/capaexp/c1capexp.htm","");
s.addOpt("2<sup>nde</sup>","respeda/lyceegen/2nde/c1lycg2.htm","");
s.addOpt("1<sup>ère</sup> L","respeda/lyceegen/1ereL/c1lycg1l.htm","");
s.addOpt("1<sup>ère</sup> S","respeda/lyceegen/1ereS/c1lycg1s.htm","");
s.addOpt("term S","respeda/lyceegen/0terS/c1lycg0s.htm","");
s.addRub("<B>laboratoire</B>",e4,"");
s.addOpt("sécurité :","","");
s.addOpt(" - en chimie","laborato/secuchi/c1secc.htm","");
s.addOpt(" - en physique","laborato/secuphy/c1secp.htm","");
s.addOpt("fournisseurs","laborato/fournis/c1four.htm","");
s.addRub("<B>t.i.c.e.</B>",e5,"");
s.addOpt("lettre tic\'edu","outinfo/ticedu/c1tice.htm","");
s.addOpt("pratique","outinfo/pratique/c1prat.htm","");
s.addOpt("logiciels, plugins","outinfo/log/c1log.htm","");
s.addRub("<B>liens</B>",e6,"");
s.addOpt("éducnet","liens/educnet/c1educ.htm","");
s.addOpt("académies","liens/acad/c1acad.htm","");
s.addOpt("références","liens/gref/c1gref.htm","");
};

rubopt(sommaire,"N","N","N","N","N","N");

function creerSommaire(fonte,taille,ColFerme,ColOuvert,imgFerme,imgOuvert,target,mode) {
	this.nb_rub=0;
	this.fonte=fonte;
	this.taille=taille;
	this.colF=ColFerme;
	this.colO=ColOuvert;
	this.imgF=imgFerme;
	this.imgO=imgOuvert;
	this.target=target;
	this.mode=mode;
	this.addRub=addRubrique;
	this.addOpt=addOption;
};

function addRubrique(txt,aff,page) {
	var rub = new Object;
	rub.txt=txt;
	rub.aff=aff;
	rub.page=page;
	rub.nb_opt=0;
	this[this.nb_rub]=rub;
	this.nb_rub++;
};

function addOption(txt,page,target) {
	var no_rub = this.nb_rub-1;
	var no_opt= this[no_rub].nb_opt;
	var option = new Object;
		option.txt=txt;
		option.page=page;
		option.target="";
	   if ((target!=null)&&(target!="")) {
	     option.target=target;
	   }
	this[no_rub][no_opt]=option;
	this[no_rub].nb_opt++;
};

var page="";
