//This code is optimized by the w3compiler from Port80 Software:  BUY w3compiler to remove this comment from your optimized files at www.w3compiler.com!
mostrar_zona_ingreso=function(zona_ingreso,boton){navRoot=document.getElementById(zona_ingreso);navRoot.style.visibility="visible";document.getElementById(boton).className="menu_auxiliar_opcion_activo";};ocultar_zona_ingreso=function(zona_ingreso,boton){navRoot=document.getElementById(zona_ingreso);navRoot.style.visibility="hidden";document.getElementById(boton).className="menu_auxiliar_opcion";};mostrar_zona_registro=function(zona_ingreso,boton){navRoot=document.getElementById(zona_ingreso);navRoot.style.visibility="visible";document.getElementById(boton).className="nombre_usuario_activo";};ocultar_zona_registro=function(zona_ingreso,boton){navRoot=document.getElementById(zona_ingreso);navRoot.style.visibility="hidden";document.getElementById(boton).className="nombre_usuario";};function cambiar_tamano_letra(elemento,tamano){var myElement=document.getElementById(elemento);if(tamano=="Fuente 1"){myElement.style.fontSize="9px";}if(tamano=="Fuente 2"){myElement.style.fontSize="11px";}if(tamano=="Fuente 3"){myElement.style.fontSize="13px";}}ddaccordion.init({headerclass:"submenuheader",contentclass:"submenu",revealtype:"click",collapseprev:true,defaultexpanded:[],onemustopen:false,animatedefault:false,persiststate:true,toggleclass:["",""],togglehtml:["suffix","<img src='images/plus.gif' class='statusicon' />","<img src='images/minus.gif' class='statusicon' />"],animatespeed:"normal",oninit:function(headers,expandedindices){},onopenclose:function(header,index,state,isuseractivated){}});function MM_showHideLayers(){var i,p,v,obj,args=MM_showHideLayers.arguments;for(i=0;i<(args.length-2);i+=3)with(document)if(getElementById&&((obj=getElementById(args[i]))!=null)){v=args[i+2];if(obj.style){obj=obj.style;v=(v=='show')?'visible':(v=='hide')?'hidden':v;}obj.visibility=v;}}mostrar_listado=function(nombre_lista){if(document.all&&document.getElementById){navRoot=document.getElementById(nombre_lista);for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName=="LI"){node.onmouseover=function(){this.className+=" over";};node.onmouseout=function(){this.className=this.className.replace(" over","");}}}}};cargar_listados_general=function(){mostrar_listado('selector_empresas');mostrar_listado('selector_comisionistas');mostrar_listado('selector_sitios_bvc');mostrar_listado('selector_mercados');};cargar_listados_cabezote=function(){mostrar_listado('selector_mercados');};function MM_effectBlind(targetElement,duration,from,to,toggle){Spry.Effect.DoBlind(targetElement,{duration:duration,from:from,to:to,toggle:toggle});}function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}function MM_showHideLayers(){var i,p,v,obj,args=MM_showHideLayers.arguments;for(i=0;i<(args.length-2);i+=3)with(document)if(getElementById&&((obj=getElementById(args[i]))!=null)){v=args[i+2];if(obj.style){obj=obj.style;v=(v=='show')?'visible':(v=='hide')?'hidden':v;}obj.visibility=v;}}function mostrar_grafica_indice(divId){var div1=document.getElementById("indice_grafica_1");var div2=document.getElementById("indice_grafica_2");var div3=document.getElementById("indice_grafica_3");var div=document.getElementById(divId);if(div==div1){div1.style.display="inline";div2.style.display="none";div3.style.display="none";}if(div==div2){div2.style.display="inline";div1.style.display="none";div3.style.display="none";}if(div==div3){div3.style.display="inline";div2.style.display="none";div1.style.display="none";}}function ocultar_graficas_indices(){var div1=document.getElementById("indice_grafica_1");var div2=document.getElementById("indice_grafica_2");var div3=document.getElementById("indice_grafica_3");div1.style.display="none";div2.style.display="none";div3.style.display="none";}function formulariobusqueda(){var objCbo=document.getElementById('tipoEmisionPrincipal');var opcion1=document.getElementById('opcion1');var opcion1opciones=document.getElementById('rangoCapitalizacionBursatil');var opcion2=document.getElementById('opcion2');var opcion2opciones=document.getElementById('tipoEmisionSecundario');if(objCbo.value=="0"){opcion1.style.display='block';opcion1opciones.style.display='block';}else{opcion1.style.display='none';opcion1opciones.style.display='none';}if(objCbo.value=="1"){opcion2.style.display='block';opcion2opciones.style.display='block';}else{opcion2.style.display='none';opcion2opciones.style.display='none';}if(objCbo.value=="2"){opcion1.style.display='none';opcion1opciones.style.display='none';opcion2.style.display='none';opcion2opciones.style.display='none';}}function ocultar_segmento_acordeon(divId){var div1=document.getElementById(divId);div1.style.display="none";}function mostrar_segmento_acordeon(divId){var div1=document.getElementById(divId);div1.style.display="block";}function ocultar_segmento_tab(divId){var div1=document.getElementById(divId);div1.style.display="none";}function mostrar_segmento_tab(divId){var div1=document.getElementById(divId);div1.style.display="block";}function ocultar_selector(divId){var div1=document.getElementById(divId);div1.style.visibility="hidden";}function mostrar_selector(divId){var div1=document.getElementById(divId);div1.style.visibility="visible";}function mostrar_segmento_acordeon_activo(divId){var div1=document.getElementById(divId);div1.className="acordeon_resumen_activo";}function mostrar_segmento_acordeon_inactivo(divId){var div1=document.getElementById(divId);div1.className="acordeon_resumen_inactivo";}function mostrar_campo_interno_activo(divId){var div1=document.getElementById(divId);div1.className="campo_interior_activo";}function mostrar_campo_interno_inactivo(divId){var div1=document.getElementById(divId);div1.className="campo_interior_inactivo";}function mostrar_tab_galeria_activo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_galeria_activo";}function mostrar_tab_galeria_inactivo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_galeria_inactivo";}function mostrar_glosario_interno_activo(divId){var div1=document.getElementById(divId);div1.className="faq_pregunta_activa";}function mostrar_glosario_interno_inactivo(divId){var div1=document.getElementById(divId);div1.className="faq_pregunta";}function mostrar_tab_com_activo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton_comision_activa";}function mostrar_tab_com_inactivo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton_comision";}function mostrar_tab_lisemi_activo(divId){var div1=document.getElementById(divId);div1.className="acordeon_titulo_lisemi_activo";}function mostrar_tab_lisemi_inactivo(divId){var div1=document.getElementById(divId);div1.className="acordeon_titulo_segmento";}function fila_activa(divId){var div1=document.getElementById(divId);div1.className="fila_activa";}function fila_inactiva(divId){var div1=document.getElementById(divId);div1.className="fila_inactiva";}function fondo_fila_activa(divId){var div1=document.getElementById(divId);div1.className="fila_activa_cap";}function fondo_fila_inactiva(divId){var div1=document.getElementById(divId);div1.className="fila_inactiva_cap";}function boletin_fila_activa(divId){var div1=document.getElementById(divId);div1.className="boletin_fila_activa";}function boletin_fila_inactiva(divId){var div1=document.getElementById(divId);div1.className="boletin_fila";}function accinforel_fila_activa(divId){var div1=document.getElementById(divId);div1.className="accinforel_fila_activa";}function accinforel_fila_inactiva(divId){var div1=document.getElementById(divId);div1.className="accinforel_fila";}function tab_operaciones_activo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton_operacionesespeciales_activo";}function tab_operaciones_inactivo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton_operacionesespeciales";}function mostrar_segmento_sitios_interes_activo(divId){var div1=document.getElementById(divId);div1.className="acordeon_titulo_sitios_interes_activo";}function mostrar_segmento_sitios_interes_inactivo(divId){var div1=document.getElementById(divId);div1.className="acordeon_titulo_sitios_interes";}function lista_desplegable_hover(divId){var div1=document.getElementById(divId);div1.className="lista_desplegable_hover";}function lista_desplegable(divId){var div1=document.getElementById(divId);div1.className="lista_desplegable_nohover";}function mostrar_tab_home_activo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton_activo";}function mostrar_tab_home_inactivo(divId){var div1=document.getElementById(divId);div1.className="tab_botones_boton";}function mostrar_resumen_indice_activo(divId){var div1=document.getElementById(divId);div1.className="opcion_resumen_indice_activo";}function mostrar_resumen_indice_inactivo(divId){var div1=document.getElementById(divId);div1.className="opcion_resumen_indice";}function resumen_indice_activo(divId){var div1=document.getElementById(divId);div1.className="fila_activa_resumen";}function resumen_indice_inactivo(divId){var div1=document.getElementById(divId);div1.className="fila_inactiva_resumen";}function moveflashmap(datos){pathactual=datos;updateTicker();setBuque(true,true,true);var id=setInterval("updateTicker()",20000);}function setBuque(dir,mov,avanzar){var campo=document.getElementById("mover");var campo1=document.getElementById("dir");var avanz1=document.getElementById("avanzar");campo1.value=dir;campo.value=mov;avanz1.value=avanzar;}function updateTicker(){var mov1=document.getElementById("mover");var dir1=document.getElementById("dir");var avanz1=document.getElementById("avanzar");var so=new SWFObject("/recursos/swf/ticker.swf","pelicula","605","18","8","#FFF");so.addVariable("m",mov1.value);so.addVariable("d",dir1.value);so.addVariable("go",avanz1.value);so.addVariable("datos",pathactual);so.addVariable("vel","5");so.addVariable("idioma","ESP");so.addVariable("tipoMercado","01");so.addVariable("errorSinConexion","Servicio no disponible en el momento");so.addVariable("datosError","xml/xml_error.xml");so.addParam("wmode","opaque");so.write("myflash");top.document.title="Bolsa de Valores de Colombia, Un pa"+String.fromCharCode(237)+"s todos los valores";}function changeXML(path){try{var movie=document.getElementById("galeria_pelicula");movie.xmlReload(path);}catch(e){alert(e);}}function change_video(path){var s1=new SWFObject("swf/videoplayer.swf","video_pelicula","291","270","9","#FFFFFF");s1.addVariable("file",path);s1.addParam("wmode","transparent");s1.addVariable("showdigits","total");s1.addParam("allowfullscreen","true");s1.addParam("allowscriptaccess","always");s1.write("video_container");}function setText(opcion){switch(opcion){case'derivados':var texto="DERIVADOS";break;case'renta fija':var texto="RENTA FIJA";break;case'acciones':var texto="ACCIONES";break;default:var texto="ACCIONES";break}var div1=document.getElementById('texto_selector_dinamico');div1.innerHTML=texto;}function cambiar_tamano_letra_iterar(elemento,tamano){var myElement=document.getElementById(elemento);var myElementsDIV=myElement.getElementsByTagName('div');for(i=0;i<myElementsDIV.length;i++){if(myElementsDIV[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsDIV[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsDIV[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsDIV[i].style.fontSize="13px";}}}var myElementsSPAN=myElement.getElementsByTagName('span');for(i=0;i<myElementsSPAN.length;i++){if(myElementsSPAN[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsSPAN[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsSPAN[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsSPAN[i].style.fontSize="13px";}}}var myElementsLABEL=myElement.getElementsByTagName('label');for(i=0;i<myElementsLABEL.length;i++){if(myElementsLABEL[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsLABEL[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsLABEL[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsLABEL[i].style.fontSize="13px";}}}var myElementsP=myElement.getElementsByTagName('p');for(i=0;i<myElementsP.length;i++){if(myElementsP[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsP[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsP[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsP[i].style.fontSize="13px";}}}var myElementsTABLE=myElement.getElementsByTagName('table');for(i=0;i<myElementsTABLE.length;i++){if(myElementsTABLE[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsTABLE[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsTABLE[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsTABLE[i].style.fontSize="13px";}}}var myElementsTD=myElement.getElementsByTagName('td');for(i=0;i<myElementsTD.length;i++){if(myElementsTD[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsTD[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsTD[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsTD[i].style.fontSize="13px";}}}var myElementsTR=myElement.getElementsByTagName('tr');for(i=0;i<myElementsTD.length;i++){if(myElementsTD[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsTD[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsTD[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsTD[i].style.fontSize="13px";}}}var myElementsH1=myElement.getElementsByTagName('h1');for(i=0;i<myElementsH1.length;i++){if(myElementsH1[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsH1[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsH1[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsH1[i].style.fontSize="13px";}}}var myElementsH2=myElement.getElementsByTagName('h2');for(i=0;i<myElementsH2.length;i++){if(myElementsH2[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsH2[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsH2[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsH2[i].style.fontSize="13px";}}}var myElementsH3=myElement.getElementsByTagName('h3');for(i=0;i<myElementsH3.length;i++){if(myElementsH3[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsH3[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsH3[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsH3[i].style.fontSize="13px";}}}var myElementsSELECT=myElement.getElementsByTagName('select');for(i=0;i<myElementsSELECT.length;i++){if(myElementsSELECT[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsSELECT[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsSELECT[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsSELECT[i].style.fontSize="13px";}}}var myElementsA=myElement.getElementsByTagName('a');for(i=0;i<myElementsA.length;i++){if(myElementsA[i].id.indexOf("text")!=-1){if(tamano=="Fuente 1"){myElementsA[i].style.fontSize="9px";}else if(tamano=="Fuente 2"){myElementsA[i].style.fontSize="11px";}else if(tamano=="Fuente 3"){myElementsA[i].style.fontSize="13px";}}}}function resumen_indices(){var colcap_val=document.getElementById("ind_colcap");var col20_val=document.getElementById("ind_col20");var igcbc_val=document.getElementById("ind_igcbc");colcap_valor=colcap_val.value;col20_valor=col20_val.value;igcbc_valor=igcbc_val.value;if((colcap_val.value==="true")||(col20_val.value==="true")||(igcbc_val.value==="true")){ocultar_graficas_indices();resumen_indices_set0();}else if((colcap_val.value==="false")||(col20_val.value==="false")||(igcbc_val.value==="false")){mostrar_grafica_indice('indice_grafica_1');resumen_indices_set1();}}function resumen_set_valores(colcap_valor,col20_valor,igcbc_valor){var colcap_val=document.getElementById("ind_colcap");var col20_val=document.getElementById("ind_col20");var igcbc_val=document.getElementById("ind_igcbc");colcap_val.value=colcap_valor;col20_val.value=col20_valor;igcbc_val.value=igcbc_valor;}function resumen_indices_set0(){resumen_set_valores(false,false,false)}function resumen_indices_set1(){resumen_set_valores(true,false,false)}function resumen_indices_set2(){resumen_set_valores(false,true,false)}function resumen_indices_set3(){resumen_set_valores(false,false,true)}