
var menu0=new Array()
menu0[0]='<a href="calendari.htm">Calendario</a>'

var menu1=new Array()
menu1[0]='<a href="prog31.htm">Taller Meditación Bioenergética</a>'
menu1[1]='<a href="prog32.htm">Círculo meditación vipassana </a>'
menu1[2]='<a href="prog33prac.htm">Prácticas de Reiki</a>'
menu1[3]='<a href="prog33.htm">Taller de Reiki: Nivel 1</a>'
menu1[4]='<a href="prog332.htm">Taller de Reiki: Nivel 2</a>'
menu1[5]='<a href="prog333.htm">Taller de Reiki: Nivel 3</a>'
menu1[6]='<a href="prog333maest.htm">Taller de Reiki: Maestría</a>'
menu1[7]='<a href="prog34.htm">Chakras: cómo potenciar tu energía</a>'
menu1[8]='<a href="calendari.htm#femCM">Soporte a mujeres con cáncer de mama</a>' 
menu1[9]='<a href="prog37.htm">Relajación y visualización</a>' 
menu1[10]='<a href="prog38.htm">Chakra massage</a>'
menu1[11]='<a href="prog39.htm">Tratamientos de Reiki</a>'
//menu1[4]='<a href="prog35.htm">El grupo del té</a>'
//menu1[5]='<a href="prog36.htm">El grupo las Pléyades</a>'

var menu2=new Array()
menu2[0]='<a href="txt_medit.htm#81a">El poder sanador</a>'
menu2[1]='<a href="txt_medit.htm#81b">Nuestro método</a>'
menu2[2]='<a href="txt_medit.htm#81c">Cómo acallar la mente y las posiciones incómodas</a>'
menu2[3]='<a href="txt_medit.htm#81d">Qué aporta la meditación en el día a día</a>'
menu2[4]='<a href="txt_medit.htm#81e">Meditar en casa</a>'
menu2[5]='<a href="prog31.htm">Taller de meditación bioenergética </a>'
menu2[6]='<a href="prog32.htm">El círculo de meditación </a>'
menu2[7]='<a href="doc_medit.htm">Documentos</a>'
menu2[8]='<a href="calendari.htm">Actividades</a>'

var menu3=new Array()
menu3[0]='<a href="txt_reiki.htm#r1">El arte de curar con las manos</a>'
menu3[1]='<a href="txt_reiki.htm#r2">Beneficios del Reiki</a>'
menu3[2]='<a href="txt_reiki.htm#r3">Cómo es una sesión</a>'
menu3[3]='<a href="txt_reiki.htm#r4">Ser terapeuta de Reiki</a>'
menu3[4]='<a href="txt_reiki.htm#r5">Las iniciaciones</a>'
menu3[5]='<a href="prog33.htm">Taller de iniciacion de Reiki</a>'
menu3[6]='<a href="prog34.htm">Prácticas en grupo</a>'
menu3[7]='<a href="txt_reiki.htm#r6">Seminarios de ampliación</a>'
menu3[8]='<a href="doc_reiki.htm">Documentos</a>'
menu3[9]='<a href="calendari.htm#reiki">Actividades</a>'

var menu4=new Array()
menu4[0]='<a href="txt_femCM.htm#71a">Que es tu  pecho?</a>'
menu4[1]='<a href="txt_femCM.htm#71b">La libreta de trabajo</a>'
menu4[2]='<a href="txt_femCM.htm#71c">Información y soporte para las parejas</a>'
menu4[3]='<a href="prog37.htm">Relajación y visualización</a>'
menu4[4]='<a href="doc_femCM.htm">Documentos</a>'
menu4[5]='<a href="calendari.htm#femCM">Actividades</a>'
//menu4[3]='<a href="prog35.htm">El Grupo del Té</a>'
//menu4[4]='<a href="txt_femCM.htm#71e">Los GAM: Grupos de Ayuda Mutua</a>'
//menu4[5]='<a href="prog36.htm">El grupo las pléyades</a>'
//menu4[6]='<a href="txt_femCM.htm#71g">El cúmulo estelar</a>'		

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
















/*var defaultMenuWidth="150px" //set default menu width.
// veure simpletreemenu.js
var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="calendari.htm">Calendario</a>'
linkset[0]+='<hr>' //Optional Separator
linkset[0]+='<a href="#">Programa de meditación</a>'
linkset[0]+='<a href="#">Programa de reiki</a>'
linkset[0]+='<a href="#">Programa de Feminidad y Cancer de mama</a>'
linkset[0]+='<a href="#">Programa de tratamientos Individuales</a>'

linkset[1]='<a href="#">Meditación</a>'
linkset[1]+='<a href="#">Círculo de meditación vipassana </a>'
linkset[1]+='<a href="#">Taller de Reiki: nivel 1</a>'
linkset[1]+='<a href="#">Grupo de prácticas de Reiki </a>'
linkset[1]+='<a href="#">El grupo del té</a>'
linkset[1]+='<a href="#"><El grupo las Pléyades/a>'
linkset[1]+='<a href="#">Chakra massage</a>'
linkset[1]+='<a href="#">Tratamientos de Reiki</a>'

linkset[2]='<a href="txt_meditacion.htm#81a">El Poder Sanador</a>'
linkset[2]+='<a href="txt_meditacion.htm#81b">Nuestro método</a>'
linkset[2]+='<a href="txt_meditacion.htm#81c">Meditación en Casa</a>'
linkset[2]+='<a href="txt_meditacion.htm#81d">Meditación en Grupo</a>'
linkset[2]+='<a href="txt_meditacion.htm#81e">TALLER: Meditación - Reiki</a>'

linkset[3]='<a href="txt_reiki.htm#51a">el arte de urar con las manos</a>'
linkset[3]+='<a href="txt_reiki.htm#51b">beneficios</a>'
linkset[3]+='<a href="txt_reiki.htm#51c">como es una sesión</a>'
linkset[3]+='<a href="txt_reiki.htm#51d">ser terapeuta</a>'
linkset[3]+='<a href="txt_reiki.htm#51e">las iniciaciones</a>'

linkset[4]='<a href="txt_femCM.htm#61">El Grupo del Té</a>'
linkset[4]+='<a href="txt_femCM.htm#61">Los GAM: Grupos de Ayuda Mutua</a>'
linkset[4]+='<a href="txt_femCM.htm#61">Infórmate</a>'
linkset[4]+='<a href="txt_femCM.htm#61">La Vivencia Personal</a>'
linkset[4]+='<a href="txt_femCM.htm#61">Haciendo balance</a>'
linkset[4]+='<a href="txt_femCM.htm#61">Recuperando la Salud</a>'


////No need to edit beyond here

var ie5=document.all && !w????z?(??:?:???????????????????????????????????=?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????n???????????????????????????????????????????????????????????????ze?indow.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
r????z?(??:?:???????????????????????????????????=?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????n???????????????????????????????????????????????????????????????ze?eturn true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu/*

//-------------------------------------------------------------------
/***********************************************
* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//-------------------------------------------------------------------
/***********************************************
* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/