//Magic Menu V2.1.1 - http://www.ToutJavaScript.com/magicmenu
var main=""; function CREERMAGIC() {
main=new CreerMain(0,18,12);
main.Add("Accueil",60,"","http://e-reve.com/base/index.htm");main.Add("Boutique",70,"","http://astore.amazon.fr/ereve-21");m1=new CreerMenu("m1",0,"");main.Add("Communiquer",90,"m1","");m1.add("Nous contacter","../base/question.htm","","");m1.add("Nos Coordonnées","../base/coordonnees.htm","","");m1.add("Le créateur du site","../base/lucbernier.htm","","");m2=new CreerMenu("m2",0,"");main.Add("Lire, Voir...",110,"m2","");m2.add("Revues","../base/revues.htm","","");m2.add("Liens internet","../base/liens.htm","","");m2.add("Livres « référence »","../base/livres.htm","","");m2.add("Partenaires","../base/partenaires.htm","","");m2.add("Vidéos, Cinéma...","../base/a_voir.htm","","");m2.add("Bibliographie du site","../base/bibliographie.htm","","");m2.add("Statistiques du site","../base/stat.htm","","");m3=new CreerMenu("m3",0,"");main.Add("À propos",70,"m3","");m3.add("Ça Fonctionne Comment?","../base/ca_fonctionne_comment.htm","","");m3.add("Sommeil et Rêve","../base/sommeil.htm","","");m4=new CreerMenu("m4",1,"");m3.add("Classement","",m4,"");m4.add("Classement","../base/classement.htm","","");m4.add("Rêve & Cauchemar","../base/revecauchemar.htm","","");m4.add("Rêve éveillé","../base/reveveille.htm","","");m4.add("Prémonition,vision","../base/premonitionvision.htm","","");m3.add("Intérêt du rêve","../base/interet.htm","","");m3.add("Précautions à prendre","../base/precautions.htm","","");m3.add("Quand rêve-t-on?","../base/quandreveton.htm","","");m3.add("Pourquoi rêve-t-on","../base/pourquoi.htm","","");m5=new CreerMenu("m5",0,"");main.Add("l'Être Humain",100,"m5","");m5.add("Fonctionnement","../base/fonctionnement.htm","","");m5.add("DUALITÉ HUMAINE","../_ab/dualite.htm","","");m5.add("Faire ou s'Accomplir?","../_ab/accomplir.htm","","");m5.add("Heureux ou Malheureux?","../_ab/heureux.htm","","");m5.add("Aimer, c'est quoi?","../_ab/aimer.htm","","");m5.add("l'état AMOUREUX","../_ab/amoureux.htm","","");m5.add("RELATION","../base/relation.htm","","");m5.add("EAU « ORIGINELLE »","../_ab/eau.htm","","");m5.add("Le MENTAL","../_ab/mental.htm","","");m5.add("LE CONDITIONNEMENT","../_ab/conditionnement.htm","","");m5.add("La FAMILLE","../_ab/famille.htm","","_blank");m5.add("COLÈRE","../_ab/colere.htm","","");m5.add("« POURQUOI »","../_ab/pourquoi.htm","","");m5.add("Le TEMPS","../_ab/temps.htm","","");m5.add("SEXUALITÉ","../_ab/sexualite.htm","","");m5.add("« JE_SUIS »","../jesuis/bateau.htm","","_blank");m5.add("le DÉSIR","../_ab/desir.htm","","");m5.add("Le CERVEAU","../base/cerveau.htm","","");m6=new CreerMenu("m6",0,"");main.Add("IMAGES du rêve",130,"m6","");m6.add("Ambiance & Phénomènes","../base/ambiancephenomenes.htm","","");m6.add("Animaux","../base/animaux.htm","","");m6.add("Argent-Richesse-Trésor","../base/argent-tresor.htm","","");m7=new CreerMenu("m7",1,"");m6.add("Corps Humain","",m7,"");m7.add("Généralités","../base/corpshumain.htm","","");m7.add("Peau","../base/peau.htm","","");m7.add("Tête, Visage & Cou","../base/tete.htm","","");m7.add("La Bouche","../base/bouche.htm","","");m7.add("Membre Supérieur","../base/bras.htm","","");m7.add("Membre Inférieur","../base/jambe_pied.htm","","");m7.add("Tronc","../base/tronc.htm","","");m7.add("Organes des sens","../base/en_cours.htm","","");m7.add("Sang & Lymphe","../base/sang_lymphe.htm","","");m6.add("Couple (vie en)","../base/couple.htm","","");m6.add("Divers","../base/divers.htm","","");m6.add("Maisons, Constructions...","../base/maisons.htm","","");m6.add("Moyens de transport","../base/moyens_transport.htm","","");m6.add("Personnnages","../base/personnages.htm","","");m6.add("Sites géographiques","../base/sites_geographiq.htm","","");m6.add("Végétation","../base/vegetation.htm","","");m8=new CreerMenu("m8",0,"");main.Add("MON RÊVE",90,"m8","");m9=new CreerMenu("m9",1,"");m8.add("aide à l'INTERPRÉTATION","",m9,"");m9.add("INTERPRÉTATION personnalisée","../base/envoi_reve.htm","","");m9.add("QUESTIONNEMENT et avis","../base/envoi_questionnement.htm","","");m8.add("Publier mon rêve (GRATUIT)","../base/envoi_publication.htm","","");m8.add("Lire les rêves des autres","../base/monreve_avertissement.htm","","");m8.add("Témoignages","","","");m10=new CreerMenu("m10",1,"");m8.add("Méthode d'Analyse","",m10,"");m10.add("Rappel aux utilisateurs","../base/rappel.htm","","");m10.add("Méthode PARSICA","../base/methode.htm","","");m10.add("Exemple rapide","../base/application.htm","","");m10.add("1° Exemple Complet","../base/exemple0.htm","","");m10.add("2° Exemple Complet","../base/exemple1.htm","","");m8.add("Déontologie","../base/deont.htm","","");m11=new CreerMenu("m11",1,"");m8.add("Tarif & Conditions Générales","",m11,"");m11.add("Tarif","../base/tarif.htm","","");m11.add("Conditions Générales","../base/conditions.htm","","");m12=new CreerMenu("m12",0,"");main.Add("Témoignages",100,"m12","");m12.add("France","../base/T_france.htm","","");m12.add("Belgique-Luxembourg","../base/T_belgique.htm","","");m12.add("Canada","../base/T_canada.htm","","");m12.add("Bravos","../base/bravos.htm","","");m12.add("Pas d'accord","../base/pas_daccord.htm","","");} CREERMAGIC();var font="ms sans serif";var colBarre="#FF0088";var colFond="#FF0088";var colContour="#8E088E";var colOver="#8E088E";var colTextOff="#FFFFFF"; var colTextOn="yellow";var cssTexte=";font-weight:bold;color:#FFFFFF;font-family:ms sans serif;font-size:10px";var hauteur=12;var nivmax=4;var delai=0;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:center' 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;}
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()-x+20);
	MoveCalque("fond",x-50,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);}
	}
}
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();
	}
}
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="http://www.e-reve.com/js/fleche.gif";var m=new Image; m.src="http://www.e-reve.com/js/vide.gif";	if ((document.all)||(window.sidebar)) {
var A="<DIV id='fond' style='position:absolute;top:10;left:100;width:500;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()'>&nbsp;</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-2;Y=this.parent.Y+(hauteur+4)*this.parent.ON}if ((document.all)||(window.sidebar)) {
var A=""
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:10px;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="http://www.e-reve.com/js/vide.gif";if (this[i].mnu!="") { img="http://www.e-reve.com/js/fleche.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>"
}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="http://www.e-reve.com/js/vide.gif";if (this[i].mnu!="") { img="http://www.e-reve.com/js/fleche.gif"}
A+="<TR><TD><TABLE border=0 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+"&nbsp;";document.all[niv].style.top=Y;document.all[niv].style.left=X;document.all[niv].style.visibility="visible";this.X=X;this.Y=Y;this.width=document.all[niv].clientWidth;}
if (window.sidebar) {document.getElementById(niv).innerHTML=A;document.getElementById(niv).style.top=Y;document.getElementById(niv).style.left=X;document.getElementById(niv).style.visibility="visible";this.X=X;this.Y=Y;this.width=document.getElementById(niv).offsetWidth;}
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;}
}
// VERSION
