/*** This is the menu creation code - place it right after you body tagFeel free to add this to a stand-alone js file and link it to your page.**///Menu object creationoCMenu=new makeCM("oCMenu") //Making the menu obj0t. Argument: menunamevar content_width = 820;var margin = 0;//Menu properties   oCMenu.pxBetween=3//Using the cm_page object to place the menu ----  //There are some differences between the browsers that I try to fix here.//oCMenu.fromLeft=!bw.ns4?cmpage.x2 - 160:cmpage.x2 - 176//oCMenu.fromLeft=!bw.ns4?cmpage.x2 - 850:cmpage.x2 - 850oCMenu.fromLeft=bw.ie6?Math.max(cmpage.x2/2 - content_width  /2 + 8,margin):Math.max(cmpage.x2/2 - content_width/2 - 8,margin)//We also need to "replace" the menu on resize. So:oCMenu.onresize="oCMenu.fromLeft=bw.ie6?Math.max(cmpage.x2/2 - content_width  /2 + 8,margin):Math.max(cmpage.x2/2 - content_width/2 - 8 ,margin)"oCMenu.fromTop=93   oCMenu.rows=0oCMenu.menuPlacement=0                                                             oCMenu.offlineRoot=rootoCMenu.onlineRoot="http://www.alasbimn.net/" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="imagenes/cm_fill.gif"oCMenu.zIndex=0//Background bar propertiesoCMenu.useBar=1oCMenu.barWidth="menu"oCMenu.barHeight="menu" oCMenu.barClass="clBar"oCMenu.barX="menu"oCMenu.barY="menu"oCMenu.barBorderX=0oCMenu.barBorderY=0oCMenu.barBorderClass=""//Level properties - ALL properties have to be spesified in level 0oCMenu.level[0]=new cm_makeLevel() //Add this for each new leveloCMenu.level[0].width=164oCMenu.level[0].height=25 oCMenu.level[0].regClass="clLevel0"oCMenu.level[0].overClass="clLevel0over"oCMenu.level[0].borderX=1oCMenu.level[0].borderY=1oCMenu.level[0].borderClass="clLevel0border"oCMenu.level[0].offsetX=0oCMenu.level[0].offsetY=0oCMenu.level[0].rows=0oCMenu.level[0].arrow=0oCMenu.level[0].arrowWidth=0oCMenu.level[0].arrowHeight=0oCMenu.level[0].align="right"//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove thisoCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)oCMenu.level[1].width=oCMenu.level[0].width+35oCMenu.level[1].height=22oCMenu.level[1].regClass="clLevel1"oCMenu.level[1].overClass="clLevel1over"oCMenu.level[1].borderX=1oCMenu.level[1].borderY=1oCMenu.level[1].align="right" oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20oCMenu.level[1].offsetY=0oCMenu.level[1].borderClass="clLevel1border"//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove thisoCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)oCMenu.level[2].width=150oCMenu.level[2].height=20oCMenu.level[2].offsetX=0oCMenu.level[2].offsetY=0oCMenu.level[2].regClass="clLevel2"oCMenu.level[2].overClass="clLevel2over"oCMenu.level[2].borderClass="clLevel2border"/******************************************Menu item creation:myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************///INICIOoCMenu.makeMenu('top0','','&nbsp;INICIO&nbsp;&nbsp;','index.html','')//ACERCA DEoCMenu.makeMenu('top9','','&nbsp;Acerca de ALASBIMN&nbsp;&nbsp;','')	oCMenu.makeMenu('sub91','top9','&nbsp;Pa&iacute;ses miembros&nbsp;&nbsp;','paises_miembros.html')	oCMenu.makeMenu('sub92','top9','&nbsp;Autoridades&nbsp;&nbsp;','autoridades.html')	oCMenu.makeMenu('sub93','top9','&nbsp;Estatutos&nbsp;&nbsp;','estatutos.html')	oCMenu.makeMenu('sub94','top9','&nbsp;Reglamentos&nbsp;&nbsp;','reglamentos.html')//	oCMenu.makeMenu('sub94','top9','&nbsp;Historia&nbsp;&nbsp;','historia.html')//COMITESoCMenu.makeMenu('top3','','&nbsp;Comit&eacute;s&nbsp;&nbsp;','')	oCMenu.makeMenu('sub30','top3','<!--<img align="right"  class="imagen_icono" src="'+ root + 'imagenes/link.jpg" />-->&nbsp;&nbsp;Educaci&oacute;n continua&nbsp;', 'http://www.alasbimnec.cl','_blank')	oCMenu.makeMenu('sub31','top3','&nbsp;&nbsp;Radiofarmacia&nbsp;', 'comites/rf/index.html')	oCMenu.makeMenu('sub32','top3','&nbsp;&nbsp;Tecn&oacute;logos&nbsp;','comites/tecnologos/index.html')//		oCMenu.makeMenu('sub321','sub32','&nbsp;&nbsp;Miembros&nbsp;','comites/tecnologos/index.html')//		oCMenu.makeMenu('sub322','sub32','&nbsp;&nbsp;Informes&nbsp;','comites/tecnologos/index.html')//		oCMenu.makeMenu('sub323','sub32','&nbsp;&nbsp;Protocolos T&eacute;cnicos&nbsp;','guias_procedimientos.html')//		oCMenu.makeMenu('sub324','sub32','&nbsp;&nbsp;Sitios de inter&eacute;s&nbsp;','comites/tecnologos/enlaces.html')	oCMenu.makeMenu('sub33','top3','&nbsp;&nbsp;Instrumentaci&oacute;n&nbsp;','comites/instrumentacion/index.html')	oCMenu.makeMenu('sub34','top3','&nbsp;&nbsp;Terapia&nbsp;','comites/terapia/index.html')//REVISTA ALASBIMNoCMenu.makeMenu('top10','','&nbsp;Revista de ALASBIMN&nbsp;&nbsp;','http://www.alasbimnjournal.net','_blank')//CONGRESOoCMenu.makeMenu('top1','','&nbsp;Congreso de ALASBIMN&nbsp;&nbsp;','')	oCMenu.makeMenu('sub10','top1','<!--<img align="right"  class="imagen_icono" src="'+ root + 'imagenes/link.jpg" />-->&nbsp;&nbsp;Pr&oacute;ximo congreso&nbsp;','congreso/congreso_alasbimn_2011_brasil.pdf')//	oCMenu.makeMenu('sub11','top1','&nbsp;&nbsp;Futuros congresos&nbsp;', 'congreso/proximos.html')	oCMenu.makeMenu('sub12','top1','&nbsp;&nbsp;Listado de congresos&nbsp;', 'congreso/historia.html')	oCMenu.makeMenu('sub13','top1','<!--<img align="right"  class="imagen_icono" src="'+ root + 'imagenes/pdf.gif" width="16" height="16" />-->&nbsp;&nbsp;Reglamento de temas libres', 'reglamentos/reglamento_de_presentacion_de_temas_libres.pdf', '_blank')	oCMenu.makeMenu('sub14','top1','<!--<img align="right" class="imagen_icono" src="'+ root + 'imagenes/pdf.gif" width="16" height="16" />-->&nbsp;&nbsp;Reglamento de premios', 'reglamentos/reglamento_de_presentacion_a_premios.pdf', '_blank')	//ECoCMenu.makeMenu('top6','','&nbsp;Educaci&oacute;n continua&nbsp;&nbsp;')	oCMenu.makeMenu('sub61','top6','<!--<img align="right"  class="imagen_icono" src="'+ root + 'imagenes/link.jpg" />-->&nbsp;Comit&eacute; de EC&nbsp;&nbsp;','http://www.alasbimnec.cl','_blank')//	oCMenu.makeMenu('sub62','top6','&nbsp;Enlaces de EC&nbsp;&nbsp;','ec/enlaces.html')	oCMenu.makeMenu('sub63','top6','&nbsp;Recursos de EC&nbsp;&nbsp;','ec/recursos.html')//SITIOSoCMenu.makeMenu('top8','','&nbsp;Sitios de inter&eacute;s&nbsp;&nbsp;', 'enlaces/index.html')//GUIASoCMenu.makeMenu('top7','','&nbsp;Gu&iacute;as de procedimientos&nbsp;&nbsp;', 'guias_procedimientos.html')//BIBLIOTECAoCMenu.makeMenu('top5','','&nbsp;Biblioteca&nbsp;&nbsp;','biblioteca/index.html')//CALENDARIOoCMenu.makeMenu('top4','','&nbsp;&nbsp;Calendario de eventos&nbsp;&nbsp;','calendario.html')//NOTICIASoCMenu.makeMenu('top11','','&nbsp;&nbsp;Noticias&nbsp;&nbsp;','noticias.html')	//Leave this line - it constructs the menuoCMenu.construct()mayor = '<font class="texto10">::.</font>';_inicio = '&nbsp&nbsp<a class="link10" href="'+ root +'index.html">INICIO</a>';_buscar = '&nbsp&nbsp<a class="link10" href="'+ root +'busqueda.html">Buscar</a>';_acerca = '<a class="link10" href="'+ root +'acerca.html">Acerca de</a>';_congreso = '<a class="link10"  href="'+ root +'congreso/index.html">Congresos</a>';_comites = '<a class="link10" href="'+ root +'comites/index.html">Comit&eacute;s</a>';_revista = '<a class="link10" target="_blank" href="http://www.alasbimnjournal.net">Revista</a>';_comites_instrumentacion = '<a class="link10" href="'+ root +'comites/tecnologos/index.html">Instrumentacio&iacuten</a>';_comites_rf = '<a class="link10" href="'+ root +'comites/rf/index.html">Radiofarmacia</a>';_comites_tecnologos = '<a class="link10" href="'+ root +'comites/tecnologos/index.html">Tecn&oacute;logos</a>';_comites_terapia = '<a class="link10" href="'+ root +'comites/terapia/index.html">Terapia</a>';_calendario = '<a class="link10" target="_blank" href="'+ root +'calendario.html">Calendario</a>';_biblioteca = '<a class="link10" href="'+ root +'biblioteca/index.html">Biblioteca</a>';_autoridades = '<a class="link10" href="'+ root +'autoridades.html">Autoridades</a>';_estatutos = '<a class="link10" href="'+ root +'estatutos.html">Estatutos</a>';_guias_procedimientos = '<a class="link10" href="'+ root +'guias_procedimientos.html">Gu&iacute;as</a>';_paises_miembros = '<a class="link10" href="'+ root +'paises_miembros.html">Pa&iacute;ses</a>';_reglamentos = '<a class="link10" href="'+ root +'reglamentos.html">Reglamentos</a>';_enlaces = '<a class="link10" href="'+ root +'enlaces/index.html">Enlaces</a>';_ec = '<a class="link10" href="'+ root +'ec/index.html">EC</a>';_ec_enlaces = '<a class="link10" href="'+ root +'ec/enlaces.html">Enlaces</a>';_ec_recursos = '<a class="link10" href="'+ root +'ec/recursos.html">Recursos</a>';_congreso_historia = '<a class="link10" href="congreso/historia.html">Listado</a>';_noticias = '<a class="link10" href="'+ root +'noticias.html">Noticias</a>';
