var main="";
function CREERMAGIC() {
main=new CreerMain(250,75,16);


m1=new CreerMenu("m1",0,"");
main.Add("<B> [Produits]</B>",115,"m1","#");

m2=new CreerMenu("m2",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0> Analyse / faisceau ","faisceau.htm",m2,"");
m2.add("Analyses Spectrales / Spatiales","faisceau.htm#spec","","");
m2.add("Caméras, Collimations, Polarisations","faisceau.htm#cam","","");
m2.add("Energie, Puissances, Durées d impulsions","faisceau.htm#ener","","");
m2.add("Modulations / Déflexions","faisceau.htm#mod","","");


m3=new CreerMenu("m3",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0> Composants optiques ","composant_optique.htm",m3,"");
m3.add("Cristaux","composant_optique.htm#cristaux","","");
m3.add("Filtres","composant_optique.htm#filtres","","");
m3.add("Lames Fenêtres","composant_optique.htm#haut","","");
m3.add("Lentilles","composant_optique.htm#lentilles","","");
m3.add("Miroirs","composant_optique.htm#miroirs","","");
m3.add("Nanomatériaux","composant_optique.htm#nano","","");
m3.add("Optiques Industrielles","composant_optique.htm#indus","","");
m3.add("Polariseurs","composant_optique.htm#pola","","");
m3.add("Prismes","composant_optique.htm#prisme","","");
m3.add("Protections laser","composant_optique.htm#protec","","");
m3.add("Réseaux de Diffraction","composant_optique.htm#reseaux","","");


m4=new CreerMenu("m4",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0> Détection / imagerie ","detection.htm",m4,"");
m4.add("Amplificateurs","detection.htm#ampli","","");
m4.add("Détecteurs radiométriques","detection.htm#radio","","");
m4.add("Détecteurs Visibles","detection.htm#haut","","");
m4.add("Détecteurs Visibles et IR","detection.htm#ir","","");
m4.add("Imageries Rapides / Instantanées","detection.htm#rapide","","");
m4.add("Imageries VIS-IR","detection.htm#vis","","");
m4.add("Images 3D","detection.htm#3d","","");
m4.add("Puissances et Energies laser","detection.htm#puissance","","");


m5=new CreerMenu("m5",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Electronique HT ","haute_tension.htm",m5,"");

m13=new CreerMenu("m13",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Environnement Laser Industriel ","marquage_laser.htm",m13,"");
m13.add("Composants et Accessoires","marquage_laser.htm#compo","","");
m13.add("Diodes laser","marquage_laser.htm#diodes","","");
m13.add("laser UV Q SWITCH","marquage_laser.htm#uv","","");
m13.add("Sources laser Industriels","marquage_laser.htm#haut","","");

m6=new CreerMenu("m6",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Instrumentation","instrumentation.htm",m6,"");
m6.add("Mesures Industrielles","instrumentation.htm#mesure","","");
m6.add("Métrologies Temporelles","instrumentation.htm#metro","","");
m6.add("Physico - Chimie","instrumentation.htm#physico","","");
m6.add("Traitements du Signal","instrumentation.htm#haut","","");
m6.add("Vide - Cryogènie","instrumentation.htm#vide","","");

m7=new CreerMenu("m7",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  laser / sources ","lasers.htm",m7,"");
m7.add("Diagnostics Femtosecondes","lasers.htm#diag","","");
m7.add("Diodes laser de Puissance","lasers.htm#dio","","");
m7.add("Diodes laser Sources pour Télécom","lasers.htm#tel","","");
m7.add("laser Continus DPSS","lasers.htm#dpss1","","");
m7.add("laser Continus DPSS - QSWITCH","lasers.htm#qswitch","","");
m7.add("laser CO2","lasers.htm#co2","","");
m7.add("laser fibré","http://www.optoprim.com/lasers.htm#fibre","","");
m7.add("laser Pulsés ns","lasers.htm#ns","","");
m7.add("laser Pulsés ps-fs","lasers.htm#ps","","");
m7.add("laser Ultra-stabilisés","lasers.htm#stab","","");
m7.add("laser UV - QSWITCH","lasers.htm#uv","","");
m7.add("Protections laser","lasers.htm#protec","","");
m7.add("Sources Industrielles","lasers.htm#source","","");
m7.add("Sources TeraHertz accordables","lasers.htm#sourceTHz","","");


m8=new CreerMenu("m8",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Logiciels de calcul","calcul_optique.htm",m8,"");
m8.add("Analyses de Faisceaux","calcul_optique.htm#anal","","");
m8.add("Logiciels de Simulations de Composants Opto ","calcul_optique.htm#opto","","");
m8.add("Simulation & Développement de Cavités laser","calcul_optique.htm#cavite","","");
m8.add("Simulation & Développement de Systèmes Optiques","calcul_optique.htm#haut","","");
m8.add("Simulation de Réseaux Télécom - Datacom","calcul_optique.htm#reseau","","");


m9=new CreerMenu("m9",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Mesure / contrôle ","mesure.htm",m9,"");
m9.add("Capteurs à Fibre Optiques","mesure.htm#capt","","");
m9.add("Colorimétrie / radiométrie / spectrométrie","mesure.htm#colori","","");
m9.add("Contrôles Optiques Dimensionnels","mesure.htm#controle","","");
m9.add("Contrôles d Instrumentations Optiques","mesure.htm#instru","","");
m9.add("Contrôles de Process Industriels","mesure.htm#process","","");
m9.add("Sources d Eclairages Industriels","mesure.htm#source","","");

m10=new CreerMenu("m10",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Optomécanique","opto_mecanique.htm",m10,"");
m10.add("Composants Mécaniques","opto_mecanique.htm#compo","","");
m10.add("Equipements Motorisés","opto_mecanique.htm#moto","","");
m10.add("Microdéplacements Manuels","opto_mecanique.htm#micro","","");
m10.add("Tables Optiques et Breadboards ","opto_mecanique.htm#haut","","");

m11=new CreerMenu("m11",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Spectroscopie","spectroscopie.htm",m11,"");
m11.add("Composants pour la spectroscopie optique, réseaux","spectroscopie.htm#monochroma","","");
m11.add("Filtres optiques pour la spectroscopie","spectroscopie.htm#filtres","","");
m11.add("Sources et détecteurs pour la spectroscopie","spectroscopie.htm#Sds","","");
m11.add("Spectromètres Compacts à Fibres Optiques","spectroscopie.htm#spec","","");
m11.add("Spectromètres à Echelles","spectroscopie.htm#echelle","","");
m11.add("Spectromètres et systèmes optiques 'Bench Top'","spectroscopie.htm#SSO","","");
m11.add("Spectromètrie TeraHertz","spectroscopie.htm#SThz","","");
m11.add("Systèmes Industriels","spectroscopie.htm#indus","","");
m11.add("Traitements de Signaux / Comptages","spectroscopie.htm#signal","","");


m12=new CreerMenu("m12",1,"");
m1.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Télécom / fibres","telecom_fibres.htm",m12,"");
m12.add("Alimentations & Embases de Diodes laser","telecom_fibres.htm#alim","","");
m12.add("Composants Actifs","telecom_fibres.htm#compo","","");
m12.add("Fibres Optiques, Connectiques, Composants Fibres","telecom_fibres.htm#fibre","","");
m12.add("Instrumentations Industrielles","telecom_fibres.htm#instru","","");
m12.add("Instrumentations Laboratoires","telecom_fibres.htm#labo","","");
m12.add("Micros Positionnements","telecom_fibres.htm#micro","","");


m14=new CreerMenu("m14",0,"");
main.Add("<B> [Actualités]</B>",115,"m14","actualites.htm");

m14.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0> Informations","actualites.htm","","");
m14.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>Catalogues","catalogues.htm","","");
m14.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0> Newsletter","newsletter.htm","","");


m15=new CreerMenu("m15",0,"");
main.Add("<B> [Partenaires]</B>",115,"m15","partenaires.htm");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Composants optiques passifs","partenaires.htm#passifs","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Composants actifs, photodiodes, HT","partenaires.htm#actifs","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Imagerie Détection","partenaires.htm#detec","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Industrie Laser / environnement laser industriel","partenaires.htm#indus","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  laser / Sources","partenaires.htm#sources","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Composants Mécaniques / optomécanique","partenaires.htm#opto","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Mesure, Capteurs, Instrumentation","partenaires.htm#instru","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Logiciels","partenaires.htm#logiciels","","");
m15.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Spectrométrie","partenaires.htm#spectro","","");


m0=new CreerMenu("m0",0,"");
main.Add("<B> [Corporate]</B>",115,"m0","#");
m0.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Optoprim Italie","http://www.optoprim.it","","");
m0.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Optoprim Allemagne","http://www.optoprim.de","","");
m0.add("<IMG src='images-optoprim/fleche2_2.gif' width=7 height=7 align=center vspace=0 border=0>  Company Profile","societe.htm","","");

m16=new CreerMenu("m16",0,"");
main.Add("<B> [Contact]</B>",80,"m16","contact.htm");

m17=new CreerMenu("m17",0,"");
main.Add("<B>[Accueil]</B>",80,"m17","http://www.optoprim.com/accueil_fr.htm");
} 


CREERMAGIC();
var font="arial";var colBarre="#ffffff";var colFond="#ffffff";var colContour="#e6e6e6";var colOver="#ffffff";var colTextOff="#111184";var colTextOn="#cccccc";var cssTexte=";font-weight:10px;color:#111184;font-family:ms sans serif;font-size:10px";var hauteur=16;var nivmax=4;var delai=100;var isout=0;
function CreerMain(X,Y,haut,colFOn,colFOff,colTOn,colTOff) {this.nb=0;this.X=X;this.Y=Y;this.haut=haut;this.Add=AddMain;this.Print=PrintMain;}
function AddMain(txt,larg,mnu,url,target) {var m=new Object; m.txt=txt;m.larg=larg,m.mnu=mnu,m.url=url;m.target=target;this.nb++;this[this.nb]=m;if(mnu!=''){eval(mnu+'.parent="'+txt+'"')};}
function PrintMain() {
	X=this.X; Y=this.Y; A="";
	for (var i=1;i<=this.nb;i++) {
 if (this[i].mnu==""){this[i].mnu='0';}
		if ((document.all)||(window.sidebar)) {
         var clic=""; var style=""; if(this[i].url!="") {style="cursor:hand;"; clic=" onclick='window.location=\""+this[i].url+"\"'";}
			A+="<DIV id='main"+i+"' style='position:absolute;left:"+X+";top:"+Y+";"+style+"width:"+this[i].larg+";height:"+this.haut+";background-color:"+colBarre+";"+cssTexte+";text-align:left' onmouseover='start("+i+","+this[i].mnu+","+X+","+(Y+this.haut+1)+")'"+clic+">"+this[i].txt+"</DIV>";
		}
		if (document.layers) {
	var txt=this[i].txt;if(this[i].url!="") {txt="<A href='"+this[i].url+"'>"+txt+"</A>";}
       A+="<LAYER name='main"+i+"' left="+X+" top="+Y+" width="+this[i].larg+" height="+this.haut+" bgcolor="+colBarre+"  onmouseover='start("+i+","+this[i].mnu+","+X+","+(Y+this.haut+1)+")'><CENTER><SPAN style='background-color:"+colBarre+cssTexte+"'>"+txt+"</SPAN></CENTER></LAYER>";
		}
		X+=this[i].larg+1;
	}
	document.write(A);
}
function CreerMenu(nom,niv,target) {this.nb=0; this.X=0;this.Y=0; this.width=1; this.niv=niv; this.parent=""; this.ON=-1;this.nom=nom;this.target=""; if ((target!="")&&(target!=null)) this.target=target;this.add=Add;this.aff=Aff;this.addFavoris=AddListeFavoris;}
function Add(lib,lnk,mnu,target) {var rub = new Object;	rub.lib=lib; rub.target=target;	rub.lnk=""; if ((lnk!="")&&(lnk!=null)) rub.lnk=lnk; rub.mnu=""; if ((mnu!="")&&(mnu!=null)) {rub.mnu=mnu; mnu.parent=this}	this[this.nb]=rub;	this.nb++;}
function start(i,mnu,x,y) {
	isout=1;hideall(i);isout=0
	if (mnu!=0){mnu.aff(x,y)};
	BGCalque("main"+i,colOver); FontCalque("main"+i,colTextOn); SizeCalque("fond",mmgetlarg()-50);
	MoveCalque("fond",5,y+1);
	ShowCalque("fond");
	return false;
}
function onfond() {
	isout=1;
	setTimeout("hideall()",delai);
}
function hideall(i) {
	if (isout==1) {
		for (var i=0;i<nivmax;i++) {HideCalque("niv"+i); HideCalque("fond");}
		for (var i=1;i<=main.nb;i++) {BGCalque("main"+i,colBarre); FontCalque("main"+i,colTextOff);}
	window.status="";MoveCalque("fond",1,1);
	}
}
function hide(mnu) {
	if (mnu.ON>-1) {
		if (mnu[mnu.ON].mnu!="") {
			var nom="niv"+mnu[mnu.ON].mnu.niv;
			HideCalque(nom);
			hide(mnu[mnu.ON].mnu);
		}
	}
	mnu.ON=-1;
}
function over(mnu,i) {
	var nom="niv"+mnu.niv+"n"+i;
	var nomtd=nom+"td";
	isout=0;
	BGCalque(nom,colOver);
	FontCalque(nomtd,colTextOn);
}
function out(mnu,i) {
	var nom="niv"+mnu.niv+"n"+i; 	var nomtd=nom+"td";
	if (mnu[i].lib!="-") {
		BGCalque(nom,colFond);
		FontCalque(nomtd,colTextOff)
	}
}
function clear(mnu) {
	  for (var j=0;j<mnu.nb;j++) {
	   out(mnu,j);
	   hide(mnu);
	}
}
function mmover(mnu,i) {
	clear(mnu);
	over(mnu,i);
	mnu.ON=i;
	if (mnu[i].mnu!="") {
		mnu[i].mnu.aff();
	}
var ok=1; var Y=""; var Z=mnu[i].lib; var u=mnu; while (u.niv>0) {Z=u.parent[u.parent.ON].lib+" > "+Z;u=u.parent;} Z=u.parent+" > "+Z;
for (var j=0;j<Z.length ;j++ ){
	if (Z.charAt(j)=="<") {ok=0;}
	if (ok==1) {Y+=Z.charAt(j) }
	if (Z.charAt(j)==">") {ok=1;}
}window.status=Y;
}
function mmclick(mnu) {
	lnk=mnu[mnu.ON].lnk;
	if (lnk!="") {
			if (mnu[mnu.ON].target=="_blank") {window.open(lnk)}
			else {
				if   (mnu[mnu.ON].target=="")	{window.location=lnk;}
				else {parent.frames[mnu[mnu.ON].target].location.href=lnk;}
			}
	}
}
function mmgetlarg() {if (document.layers){return parseInt(document.width)} else {return parseInt(document.body.offsetWidth)}}
function AFF() {
var n=new Image; n.src="images-optoprim/fleche1_2.gif";var m=new Image; m.src="images-optoprim/vide.gif";	if ((document.all)||(window.sidebar)) {
var A="<DIV id='fond' style='position:absolute;top:10;left:10;width:50;height:400;visibility:hidden;font-family:"+font+"' onmouseover='onfond()'></DIV>";A+="<DIV id='niv0' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv1' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv2' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv3' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";} else {var A="<LAYER name='fond' width=500 height=600 visibility=hide top=100 left=100 onmouseover='onfond()'> </LAYER>";A+="<LAYER name='niv0' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv1' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv2' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv3' top=200 left=200 visibility=show></LAYER>";}	document.write(A);main.Print();
}
function Aff(x,y) {
var nom=this.nom;	var niv="niv"+this.niv;
if (this.niv==0) {X=x;Y=y;}
else {X=this.parent.X+this.parent.width-7;Y=this.parent.Y+(hauteur+4)*this.parent.ON}if ((document.all)||(window.sidebar)) {
var A=""
A+="<TABLE border=0 cellpadding=0 cellspacing=0><TR><TD>"
A+="<TABLE border=0 cellpadding=0 cellspacing=0 style='border-color:"+colContour+";border-style:solid;border-width:1px'>";
for (var i=0;i<this.nb;i++) {
if (this[i].lib=="-") {
A+="<TR><TD style='background-color:"+colFond+";font-size:8px;border-style:none;margin:0px;height:"+(hauteur-2)+"px' colspan=2><DIV  style='background-color:"+colFond+";height:"+(hauteur+2)+"px'><HR noshade style='color:"+colContour+";height:1px'></DIV></TD></TR>"; 
} else {
var img="images-optoprim/vide.gif";if (this[i].mnu!="") { img="images-optoprim/fleche1_2.gif"}
A+="<TR><TD style='cssTexte;border-style:none;margin:0px'><DIV id='"+niv+"n"+i+"' style='cursor:hand;background-color:"+colFond+cssTexte+"'  onmouseover='mmover("+this.nom+","+i+")' onClick='mmclick("+this.nom+")'><TABLE border=0 width=100% cellspacing=0><TR><TD style='font-size:12px;padding-top:3px;padding-bottom:3px;padding-left:3px;'><DIV id='"+niv+"n"+i+"td' style='"+cssTexte+"'>"+this[i].lib+"</DIV></TD><TD width=10 align=right><IMG src='"+img+"' height='"+hauteur+"' width='"+hauteur+"'></TD></TR></TABLE></DIV></TD></TR>";
}
}
A+="</TABLE>"
A+="</TD><TD width=5 bgcolor=#cccccc style='filter:alpha(opacity=30)'><IMG src='images-optoprim/fleche2_2.gif' width=2></TD><TD width=0 bgcolor=#cccccc style='filter:alpha(opacity=15)'><IMG src='fleche1_2.gif' width=2></TD></TR>";
A+="<TR><TD height=0 colspan=1 bgcolor=#cccccc style='filter:alpha(opacity=30)'><IMG src='fleche1_2.gif' height=3></TD></TR><TR><TD height=1 colspan=2 bgcolor=#cccccc style='filter:alpha(opacity=15)'><IMG src='fleche1_2.gif' height=2></TD></TR></TABLE>";
}else{
var A="<table border=0 cellspacing=0 cellpadding=1><tr><td bgcolor="+colContour+">";
A+="<TABLE border=0 cellpadding=0 cellspacing=0 bgcolor="+colFond+" width=100%>";
for (var i=0;i<this.nb;i++) {
if (this[i].lib=="-") {
A+="<TR><TD><HR width=99% height=1%></TD></TR>";
} else {
var img="images-optoprim/vide.gif";if (this[i].mnu!="") { img="images-optoprim/fleche1_2.gif"}
A+="<TR><TD><TABLE border=2 width=100% cellspacing=0><TR><TD><A href='javascript:mmclick("+this.nom+")' onmouseover='mmover("+this.nom+","+i+")'><SPAN style='background-color:"+colFond+cssTexte+"'>"+this[i].lib+"</SPAN></A></TD><TD width=10 align=right><IMG src='"+img+"' height="+hauteur+" width="+hauteur+"></TD></TR></TABLE></TD></TR>";
}
}
A+="</TABLE></TD></TR></TABLE>"
}
if (document.all) {document.all[niv].innerHTML=A+" ";document.all[niv].style.top = 10;document.all[niv].style.left = 10;if (!document.getElementById) {this.width=100;} else {this.width = document.getElementById(niv).offsetWidth; if ( (X+this.width+50)>mmgetlarg()) {if (this.niv==0) {X= X - ((X+this.width) - mmgetlarg() + 50)} else {X= this.parent.X - (this.width - 10 )}}}document.all[niv].style.top=Y;document.all[niv].style.left=X;document.all[niv].style.visibility="visible";this.X=X;this.Y=Y;}
if (window.sidebar) {document.getElementById(niv).innerHTML=A;document.getElementById(niv).style.top = 0;document.getElementById(niv).style.left = 0;this.width=document.getElementById(niv).offsetWidth;window.status="";if ( (X+this.width+50)>mmgetlarg()) {if (this.niv==0) {X= X - ((X+this.width) - mmgetlarg() + 50)} else {X= this.parent.X - (this.width - 10 )}}document.getElementById(niv).style.top=Y;document.getElementById(niv).style.left=X;document.getElementById(niv).style.visibility="visible";this.X=X;this.Y=Y;}
if (document.layers) {document.layers[niv].left=X;document.layers[niv].top=Y;document.layers[niv].document.write(A);document.layers[niv].document.close();document.layers[niv].visibility="show";this.X=X;this.Y=Y;this.width=document.layers[niv].clip.width;}}
function HideCalque(nom) {
if (document.all) {document.all[nom].style.visibility="hidden";}
if (window.sidebar) {document.getElementById(nom).style.visibility="hidden";}
if (document.layers) {document.layers[nom].visibility="hide";}
}
function ShowCalque(nom) {
if (document.all) {document.all[nom].style.visibility="visible";}
if (window.sidebar) {document.getElementById(nom).style.visibility="visible";}
if (document.layers) {document.layers[nom].visibility="show";}
}
function BGCalque(nom,BG) {
if (document.all) {document.all[nom].style.backgroundColor=BG;}
if (window.sidebar) {document.getElementById(nom).style.backgroundColor=BG;}
}
function FontCalque(nom,Font) {
if (document.all) {document.all[nom].style.color=Font;}
if (window.sidebar) {document.getElementById(nom).style.color=Font;}
}
function MoveCalque(nom,X,Y) {
if (document.all) {document.all[nom].style.top=Y;document.all[nom].style.left=X;}
if (window.sidebar) {document.getElementById(nom).style.top=Y;document.getElementById(nom).style.left=X;}
if (document.layers) {document.layers[nom].top=Y;document.layers[nom].left=X;}
}
function GetLeft(nom) {
if (document.all) {return document.all[nom].style.left;}
if (window.sidebar) {return document.getElementById(nom).style.left}
if (document.layers) {return document.layers[nom].left;}
}
function SizeCalque(nom,larg) {
if (document.all) {document.all[nom].style.width=larg;}
if (window.sidebar) {document.getElementById(nom).style.width=larg;}
if (document.layers) {document.layers[nom].width=larg;}
}
function AddListeFavoris() {
	var tab=GetMesFavoris();var a=-1;var i=0;var b=""
	if (tab!=null)	{
		for (i=0;i<tab.length;i++){
			if (window.location.href==tab[i].url){a=i; b=" <<"} else {b=""}
			this.add((i+1)+" : "+tab[i].titre+b,tab[i].url,"","");
		}
		this.add("-","","","");
	}
	if (a==-1){if (i<9){this.add("Ajouter cette page dans ce menu","javascript:AddMonFavori()","","");}}
	else {this.add("Supprimer cette page de ce menu","javascript:DelMonFavori("+a+")","","");}
	if (tab!=null){this.add("Gérer mes favoris...","javascript:GererFavoris()","","");}
}


// VERSION 2005// JavaScript Document
