var ER_NATURAL=/^[0-9]+$/;var ER_EMAIL=/^[a-z0-9_\.\-]+@[a-z0-9_\-]+(\.[a-z0-9_\-]{2,20})*\.[a-z]{2,4}$/;var ER_STR=/^([^ \t\n\r]([ \t\n\r]|[^ \t\n\r])*[^ \t\n\r])+$|^[^ \t\n\r]$/;var ER_NATURAL_NOCERO=/^[1-9]+[0-9]*$/;var ER_ENTERO=/^\-?[0-9]+$/;var ER_DECIMAL_FORMATEADO=/^([1-9][0-9]{0,2}){1}((\.[0-9]{3})|[0-9]{3})*(,[0-9]{0,2})?$/;var SEP_AND="|&|";var SEP_IGUAL="|=|";var ER_WEB_HTTP=new RegExp("^https?://(www\\.[a-z0-9]{1}[a-z0-9\\.\\-]*[a-z0-9]{1}\\.[a-z]{2,6}(\\.[a-z]{3})?(.*)?|([a-z0-9]{2,}\\.)?[a-z0-9]{1}[a-z0-9\\.\\-]*[a-z0-9]{1}\\.[a-z]{2,6}(\\.[a-z]{3})?(.*)?|[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}(.*)?)$");var imgRollOver=function(A,B){A=(typeof (A)=="object")?A:$(A);A.__over=B;A.__out=A.src;AddEvent(A,"mouseover",function(){this.src=this.__over}.closure(A));AddEvent(A,"mouseout",function(){this.src=this.__out}.closure(A))};var aSolActs=new Object;function cambiarSolapa(E,D,A,C,B){if(!!aSolActs[E]){aSolActs[E]["tit"].className=C;aSolActs[E]["con"].style.display="none"}aSolActs[E]=new Object;aSolActs[E]["tit"]=$("titSolDeCont"+E+"Pos"+D);aSolActs[E]["tit"].className=A;aSolActs[E]["con"]=$("conSolDeCont"+E+"Pos"+D);aSolActs[E]["con"].style.display="block";if(B){StopEvent(B)}}function getScrollPos(){if(Nav.esOp){return{y:window.pageYOffset,x:window.pageXOffset}}else{return{y:document.documentElement.scrollTop,x:document.documentElement.scrollLeft}}}function getWindowDims(){if(Nav.esOp){return{w:window.innerWidth,h:window.innerHeight}}else{return{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}}}function getBodyWHAvaible(){if(Nav.esOp){return{w:window.innerWidth,h:window.innerHeight}}else{return{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}}}function getBodyDims(){if(Nav.esOp){return{w:document.body.clientWidth,h:document.body.clientHeight}}else{return{w:document.body.offsetWidth,h:document.body.offsetHeight}}}function WScreen(){return(Nav.esIE)?document.documentElement.clientWidth:window.innerWidth}function HScreen(){return(Nav.esIE)?document.documentElement.clientHeight:window.innerHeight}function YPos(){return(Nav.esIE)?document.documentElement.scrollTop:window.pageYOffset}function XPos(){return(Nav.esIE)?document.documentElement.scrollLeft:window.pageXOffset}function HBody(){return document.documentElement.scrollHeight}function WBody(){return document.documentElement.scrollWidth}var centrarContenido=function(C){if(C&&typeof (C)=="string"){C=$(C)}if(!C){alert("Error en funcion centrarContenido: Contenido inexistente");return false}var A=getScrollPos();var B=getBodyWHAvaible();C.style.top=(Math.round((B.h-C.offsetHeight)/2)+A.y)+"px";C.style.left=(Math.round((B.w-C.offsetWidth)/2)+A.x)+"px"};var MostrarContenido=function(B,A){if(B&&typeof (B)=="string"){B=$(B)}if(!B){alert("Error en funcion MostrarPopUp: Contenido inexistente");return false}centrarContenido(B);B.style.visibility="visible";if(A){StopEvent(A)}};var OcultarContenido=function(B,A){if(B&&typeof (B)=="string"){B=$(B)}B.style.visibility="hidden";B.style.top="-"+(B.offsetHeight+100)+"px";if(A){StopEvent(A)}};var blockeadorGeneral=null;var mostrarBlockeador=function(C){if(!blockeadorGeneral){blockeadorGeneral=$("blockeadorGeneral");if(Nav.esIE||Nav.esIE7){blockeadorGeneral.style.filter="alpha(opacity=45)"}else{blockeadorGeneral.style.MozOpacity=".45"}}if(C){var A=HScreen();if(A<HBody()){A=HBody()}var B=getBodyDims();blockeadorGeneral.style.display="block";blockeadorGeneral.style.height=A+"px";blockeadorGeneral.style.width=B.w+"px"}else{blockeadorGeneral.style.display="none"}};var solAntList=null;var cambiarSolapaLista=function(B,E,A,D,C){$(B).className=E;if(!solAntList){solAntList=$("solListado")}if(solAntList){solAntList.className=""}try{oCookie.set("solOrden",A.id)}catch(C){}A.className="on";solAntList=A;if(C){StopEvent(C)}};var solapaListaDefecto=function(){var A=oCookie.get("solOrden");sol=$(A);if(sol){FireEvent(sol,"click")}};var solapaLista=function(A){var C=A;var B=null;if(!C.indice){C.indice=""}this.cambiarSolapaLista=function(D,F,E){$(C.contenedor).className=F;if(!B){if(this.defecto=="galeria"){B=$("solListado"+C.indice)}else{B=$("solGaleria"+C.indice)}}if(B){B.className=""}try{oCookie.set("solOrden"+C.indice,D.id)}catch(E){}D.className="on";B=D;if(E){StopEvent(E)}};this.solapaListaDefecto=function(D){var E=oCookie.get("solOrden"+C.indice);sol=$(E);if(sol&&!D){FireEvent(sol,"click")}else{if(this.defecto=="galeria"){FireEvent($("solGaleria"+C.indice),"click")}else{FireEvent($("solListado"+C.indice),"click")}}}};var mostrarSubMenu=function(E,D){var B=hasta=0,C=$(E);if(C&&(D||D=="init")){if(parseInt(C.style.height)==0||C.style.height==""){B=0,hasta=C.scrollHeight}else{if(parseInt(C.style.height)==C.scrollHeight||C.style.height=="auto"){B=C.scrollHeight,hasta=0}}if(B!=hasta){var A=new Tween(C.style,"height",Tween.strongEaseOut,B,hasta,2,"px");A.start()}}if(D&&D!="init"){StopEvent(D)}};var mostrarSubMenuAnim=function(E,D){var B=hasta=0,C=$(E);if(C&&(D||D=="init")){if(parseInt(C.style.height)==0||C.style.height==""){B=0,hasta=C.scrollHeight}else{if(parseInt(C.style.height)==C.scrollHeight||C.style.height=="auto"){B=C.scrollHeight,hasta=0}}if(B!=hasta){var A=new Tween(C.style,"height",Tween.strongEaseOut,B,hasta,0.8,"px");A.start()}}if(D&&D!="init"){StopEvent(D)}};var mostrarSubMenuMedia=function(A,C){var B=$("ulCategoriaMedia"+C);if(A.className=="menos"){if(B.offsetHeight>0){return false}A.className="mas"}else{if(B.offsetHeight!=B.scrollHeight){return false}A.className="menos"}if($("ulCategoriaMedia"+C)){mostrarSubMenuAnim("ulCategoriaMedia"+C,"init")}};var verSubTop=function(D,A,C){var B=$(A);if(B){if(!Nav.esIE&&C=="block"){B.style.marginTop=D.offsetHeight+"px"}B.style.display=C}};function getElementPos(B){var C=B.style.position;B.style.position="relative";var A=B.offsetLeft;var D=B.offsetTop;B.style.position=C;return{x:A,y:D}}function setOpacity(A,B){if(!window.innerWidth){B.style.filter="alpha(opacity="+A+")"}else{B.style.opacity=(A/100)}}var setBusqueda=function(A,B){oCookie.unset("clavePrivada");oCookie.set("clavePrivada",$("clavePrivada").value);oCookie.unset("paginaBusqueda");oCookie.set("paginaBusqueda",1);document.location=A;if(B){StopEvent(B)}};var setPagina=function(C,B,A){oCookie.unset("pagina"+C);oCookie.set("pagina"+C,B);if(A){StopEvent(A)}};var analizarEnterBuscar=function(A){if(A.keyCode==13){FireEvent($("btnBuscar"),"click");StopEvent(A)}};function writeInElement(D,C,B,E,A){D.href="mailto:"+E+"@"+B+"."+C;if(A){D.innerHTML=E+"@"+B+"."+C}}function serialize(C){var H=function(O){var N=typeof O,K;var M;if(N=="object"&&!O){return"null"}if(N=="object"){if(!O.constructor){return"object"}var J=O.constructor.toString();if(K=J.match(/(\w+)\(/)){J=K[1].toLowerCase()}var L=["boolean","number","string","array"];for(M in L){if(J==L[M]){N=L[M];break}}}return N};var E=H(C);var A,B="";switch(E){case"function":A="";break;case"undefined":A="N";break;case"boolean":A="b:"+(C?"1":"0");break;case"number":A=(Math.round(C)==C?"i":"d")+":"+C;break;case"string":A="s:"+C.length+':"'+C+'"';break;case"array":case"object":A="a";var D=0;var F="";var I;var G;for(G in C){B=H(C[G]);if(B=="function"){continue}I=(G.match(/^[0-9]+$/)?parseInt(G):G);F+=serialize(I)+serialize(C[G]);D++}A+=":"+D+":{"+F+"}";break}if(E!="object"&&E!="array"){A+=";"}return A}function unserialize(D){var A=function(H,I,G,F){throw new window[H](I,G,F)};var E=function(I,K,J){var F=[];var H=I.slice(K,K+1);var G=2;while(H!=J){if((G+K)>I.length){A("Error","Invalid")}F.push(H);H=I.slice(K+(G-1),K+G);G+=1}return[F.length,F.join("")]};var C=function(I,J,H){buf=[];for(var F=0;F<H;F++){var G=I.slice(J+(F-1),J+F);buf.push(G)}return[buf.length,buf.join("")]};var B=function(Y,I){if(!I){I=0}var V=[];var W=(Y.slice(I,I+1)).toLowerCase();var M=I+2;var U=new Function("x","return x");var O=0;var L=0;switch(W){case"i":U=new Function("x","return parseInt(x)");var G=E(Y,M,";");var O=G[0];var X=G[1];M+=O+1;break;case"b":U=new Function("x","return (parseInt(x) == 1)");var G=E(Y,M,";");var O=G[0];var X=G[1];M+=O+1;break;case"d":U=new Function("x","return parseFloat(x)");var G=E(Y,M,";");var O=G[0];var X=G[1];M+=O+1;break;case"n":X=null;break;case"s":var J=E(Y,M,":");var O=J[0];var F=J[1];M+=O+2;var G=C(Y,M+1,parseInt(F));var O=G[0];var X=G[1];M+=O+2;if(O!=parseInt(F)&&O!=X.length){A("SyntaxError","String length mismatch")}break;case"a":var X={};var T=E(Y,M,":");var O=T[0];var N=T[1];M+=O+2;for(var S=0;S<parseInt(N);S++){var H=B(Y,M);var P=H[1];var Z=H[2];M+=P;var R=B(Y,M);var K=R[1];var Q=R[2];M+=K;X[Z]=Q}M+=1;break;default:A("SyntaxError","Unknown / Unhandled data type(s): "+W);break}return[W,M-I,U(X)]};return B(D,0)[2]}var menuHermanaAnterior=null;var mostrarMenuHermanas=function(A,B){if($("menuHermanas"+A)){if($("menuHermanas"+A).intervalo){$("menuHermanas"+A).intervalo=clearInterval($("menuHermanas"+A).intervalo)}if(menuHermanaAnterior&&menuHermanaAnterior.id!="menuHermanas"+A){menuHermanaAnterior.style.display="none"}$("menuHermanas"+A).style.display="inline";menuHermanaAnterior=$("menuHermanas"+A)}if(B){StopEvent(B)}};var ocultarMenuHermanas=function(B,A){if($("menuHermanas"+B)){if(A){$("menuHermanas"+B).intervalo=setTimeout(function(){$("menuHermanas"+B).style.display="none"},500)}else{$("menuHermanas"+B).style.display="none"}}};var INTERVAL_ARBOL=0;var arbolAnterior=null;function verSubMenuArbol(C,D,B,A){if(C){if(!B){B="none"}C.style.display=B;if(B=="block"){C.widthTemp=C.offsetWidth;if(D>0){C.parentNode.parentNode.style.display="inline";C.parentNode.style.display="inline";C.style.marginLeft=(C.offsetWidth-2)+"px";if(!Nav.esIE){C.style.marginTop=(-C.parentNode.childNodes[1].offsetHeight-1)+"px"}else{C.style.marginTop=(-C.parentNode.childNodes[0].offsetHeight-1)+"px"}}}}}function verMenuArbolPrincipal(B,A){if(A=="inline"){clearInterval(INTERVAL_ARBOL);B.style.marginLeft="-10px";if(arbolAnterior&&arbolAnterior.id!=B.id){arbolAnterior.style.display="none"}}arbolAnterior=B;B.style.display=A}function ocultarArbolPrincipal(){clearInterval(INTERVAL_ARBOL);INTERVAL_ARBOL=setTimeout(function(){if(arbolAnterior){verMenuArbolPrincipal(arbolAnterior,"none")}},500)}function hideFlashes(A){objs=document.getElementsByTagName("embed");for(var B=0;B<objs.length;B++){var C=objs[B];C.style.visibility=(A)?"hidden":"visible"}}function setearAntSig(C,B,A){oCookie.set("idC"+A,C);oCookie.set("orden"+A,B)}function desetearAntSig(A){oCookie.unset("idC"+A);oCookie.unset("orden"+A)}var cargarHTMLRequest=function(A){if(!$("htmlTemporal")){var B=document.createElement("div");B.id="htmlTemporal";B.style.display="none";document.body.appendChild(B)}$("htmlTemporal").innerHTML=A;while($("htmlTemporal").childNodes.length>0){document.body.appendChild($("htmlTemporal").firstChild)}};var oRecomendar=new function(){var B=function(){var C=A.respuestaXML;if(C){cargarHTMLRequest(C.firstChild.data);oRecomendar=new layer("Recomendar","recomendar");oRecomendar.addField($("nombreRecomendar"),"nombre",ER_STR,false);oRecomendar.addField($("emailRecomendar"),"email",ER_EMAIL,false);oRecomendar.addField($("nombreAmigoRecomendar"),"nombreAmigo",ER_STR,false);oRecomendar.addField($("emailAmigoRecomendar"),"emailAmigo",ER_EMAIL,false);oRecomendar.addField($("mensajeRecomendar"),"mensaje",ER_STR,false);oRecomendar.moreInfo="idElemento"+SEP_IGUAL+this.idTemp+SEP_AND;oRecomendar.moreInfo+="idSeccion"+SEP_IGUAL+this.idSeccionTemp+SEP_AND;if(this.idCategoria){oRecomendar.moreInfo+="idCategoria"+SEP_IGUAL+this.idCategoria+SEP_AND}AddEvent($("cerrarRecomendar"),"click",oRecomendar.close);AddEvent($("enviarRecomendar"),"click",function(){oRecomendar.send()});oRecomendar.mostrarFormulario=function(D,G,E,F){oRecomendar.moreInfo="idElemento"+SEP_IGUAL+G+SEP_AND;oRecomendar.moreInfo+="idSeccion"+SEP_IGUAL+E+SEP_AND;oRecomendar.open(D,"");if(F){StopEvent(F)}};if(Nav.esIE){$("layRecomendar").style.visibility="visible"}oRecomendar.open(this.botonTemp,"")}}.closure(this);this.mostrarFormulario=function(C,G,D,E){if(!A){this.botonTemp=C;this.idTemp=G;this.idSeccionTemp=D;if(Nav.esIE6){var F="1"}else{var F=""}A=new Request(B);A.pedir(DIR_SERVER_ROOT+"requests/cargar.php","file"+SEP_IGUAL+"../includes/popRecomendar.php"+SEP_AND+"esIE6"+SEP_IGUAL+F+SEP_AND)}if(E){StopEvent(E)}};var A=null};var SCRIPTS_SETEADOS=new Array();var incluirScript=function(B){if(!SCRIPTS_SETEADOS[B]){var A=document.createElement("script");A.type="text/javascript";A.src=B;document.body.appendChild(A);SCRIPTS_SETEADOS[B]=true}};var oGalConf=new Object();oGalConf.iniciar=function(){oGaleria.abrir(this.idTemp,this.idSecTemp,null,this.esExtTemp,this.indexImg)};var oGaleria=new function(){var A=false;this.abrir=function(D,C,E,F,B){if(!A){A=true;oGalConf.idTemp=D;oGalConf.idSecTemp=C;oGalConf.esExtTemp=F;oGalConf.indexImg=B;incluirScript(DIR_ROOT_INTERFAZ_CENTRAL+"js/oGaleria.js")}if(E){StopEvent(E)}}};var oGalConfExp=new Object();oGalConfExp.iniciar=function(){oGaleriaExp.abrir(this.idTemp,this.idSecTemp,null,this.esExt)};var oGaleriaExp=new function(){var A=false;this.abrir=function(C,B,D){if(!A){A=true;oGalConfExp.idTemp=C;oGalConfExp.idSecTemp=B;incluirScript(DIR_ROOT_INTERFAZ_CENTRAL+"js/oGaleriaExp.js")}if(D){StopEvent(D)}}};var oConsConf=new Object();oConsConf.iniciar=function(){if(this.idCategoria){oConsultaProducto.idCategoria=this.idCategoria}oConsultaProducto.consultar(this.aTemp,this.idProductoActual)};var oConsultaProducto=new function(){var A=false;this.consultar=function(B,D,C){if(!A){A=true;oConsConf.aTemp=B;oConsConf.idProductoActual=D;if(this.idCategoria){oConsConf.idCategoria=this.idCategoria}incluirScript(DIR_ROOT_INTERFAZ_CENTRAL+"js/oConsultaProducto.js")}if(C){StopEvent(C)}}};var oEditContConf=new Object();oEditContConf.iniciar=function(){oEditarContenido.editarContenido(this.idContTemp,this.tipoContenido)};var oEditarContenido=new function(){var A=false;this.analizarLogueo=function(){if(oCookie.get("dc")&&Nav.esIE){if($("contBtnEditarContenido")){$("contBtnEditarContenido").style.display="block"}}};this.editarContenido=function(B,C,D){if(!A){A=true;oEditContConf.idContTemp=B;oEditContConf.tipoContenido=C;incluirScript(DIR_ROOT_INTERFAZ_CENTRAL+"js/EditarContenido.js")}if(D){StopEvent(D)}}};var oVideoConf=new Object();oVideoConf.iniciar=function(){oVideo.loadVideo(this.aTemp,this.idVideo,this.w,this.h)};var oVideo=new function(){var A=false;this.loadVideo=function(D,C,B,E){if(!A){A=true;oVideoConf.aTemp=D;oVideoConf.idVideo=C;oVideoConf.w=B;oVideoConf.h=E;incluirScript(DIR_ROOT_INTERFAZ_CENTRAL+"js/oVideo.js")}}};var buscarImagenDentro=function(C){var B,A;for(B=0;B<C.childNodes.length;B++){if(C.childNodes[B].tagName&&C.childNodes[B].tagName.toLowerCase()=="a"){for(A=0;A<C.childNodes[B].childNodes.length;A++){if(C.childNodes[B].childNodes[A].tagName&&C.childNodes[B].childNodes[A].tagName.toLowerCase()=="img"){return C.childNodes[B].childNodes[A]}}}else{if(C.tagName.toLowerCase()=="a"&&C.childNodes[B].tagName&&C.childNodes[B].tagName.toLowerCase()=="img"){return C.childNodes[B]}}}};var buscarContenido=function(){if(!Nav.esIE6){$("formBusqueda").submit()}else{var A=$("formBusqueda").action+"?seccion="+$("seccion").value+"&buscar="+$("buscar").value;alert(A);document.location=A}};var objPageWidget=function(A){this.changePage=function(J,H){var I;if(J){this.page=J}var G="confWidget"+SEP_IGUAL+this.confWidget+SEP_AND;G+="page"+SEP_IGUAL+this.page+SEP_AND;G+="file"+SEP_IGUAL+this.file+SEP_AND;G+="index"+SEP_IGUAL+this.index+SEP_AND;G+="idElemento"+SEP_IGUAL+this.idElemento+SEP_AND;if(H){this.values=H}if(this.values){G+=this.values}if(B.extras){for(I in B.extras){G+=I+SEP_IGUAL+B.extras[I]+SEP_AND}}this.showBlocker(true);F=true;if(oPageWidget.checking){window.clearTimeout(oPageWidget.checking)}D.pedir(DIR_SERVER_ROOT+"requests/cargarWidget.php",G)};var E=function(){var I=D.respuestaXML;F=false;if(I){this.cont.innerHTML=I.firstChild.data;this.blocker.style.display="none";this.loader.style.display="none";var G=document.location;var H;if(G.href.indexOf("#!")==-1){H="&Page-"+this.index+"=1";G.href=G.pathname+"#!"+encodeURI(H.substr(1))}H="&Page-"+this.index+"="+this.page;G.href=G.pathname+"#!"+encodeURI(H.substr(1));oPageWidget.urlCheck()}else{alert(D.respuestaHTML)}this.showBlocker()}.closure(this);this.showBlocker=function(G){if(G){if(!C){if(!this.blocker){this.blocker=$("wdBlocker"+B.index);this.loader=$("wdLoader"+B.index);this.cont=$("wdCont"+B.index)}C=true;setOpacity(70,this.blocker)}this.blocker.style.width=this.cont.offsetWidth+"px";this.blocker.style.height=this.cont.offsetHeight+"px";this.blocker.style.display="block";this.loader.style.display="block";this.loader.style.marginLeft=Math.round((this.cont.offsetWidth-this.loader.offsetWidth)/2)+"px";this.loader.style.marginTop=Math.round((this.cont.offsetHeight-this.loader.offsetHeight)/2)+"px"}else{this.blocker.style.display="none";this.loader.style.display="none"}};this.index=A.index;this.blocker=$("wdBlocker"+A.index);this.loader=$("wdLoader"+A.index);this.cont=$("wdCont"+A.index);this.file=A.file;this.idElemento=A.idElemento;this.confWidget=A.confWidget;var D=new Request(E);var C=false;this.page=1;var F=false;var B=A};var oPageWidget=new function(){this.changePage=function(E,F){if(!B[E.index]){B[E.index]=new objPageWidget({index:E.index,confWidget:E.confWidget,file:E.file,idElemento:E.idElemento,extras:E.extras})}B[E.index].changePage(E.page);if(F){StopEvent(F)}};this.changePageExt=function(F,E,G){if(G){B[F].page=G}B[F].changePage(B[F].page,E)};this.setConf=function(E){if(!B[E.index]){B[E.index]=new objPageWidget({index:E.index,confWidget:E.confWidget,file:E.file,idElemento:E.idElemento,extras:E.extras})}};this.checking=false;this.urlCheck=function(){var E=this;E.checking=window.setTimeout(function(){var F=document.location.href,J,G=0,L=false,M,I,N;var K={Page:C};if(F.indexOf("#!")!=-1){J=F.split("#!");J=J[1].split("&");for(G;G<J.length;G++){M=J[G].split("=");var H=M[0].split("-");if(H[0]=="Page"){delete K.Page;A=H[1];if(M[1]!=B[H[1]].page){C=M[1],L=true}}}for(G in K){switch(G){case"Page":if(C!=1){C=1,L=true}break;default:break}}if(L){B[A].changePage(C)}else{E.urlCheck()}}},200)};var B=new Array();var D=false;var C;var A=0};var OrdenProducto=function(){this.cambiarOrden=function(D,E,C){var B;if(A[E]){A[E].className=A[E].className.replace(" on","")}A[E]=D;A[E].className+=" on";oCookie.unset("orderByProducto"+E);oCookie.set("orderByProducto"+E,D.id.replace(E,""));oPageWidget.changePageExt(E,"ordenProductos"+SEP_IGUAL+D.id.replace(E,"")+SEP_AND);if(C){StopEvent(C)}};this.setOrdenActual=function(B,C){A[C]=$(B+C)};this.filtrar=function(D,C){var B="";if(A[D]){B+="ordenProductos"+SEP_IGUAL+A[D].id.replace(D,"")+SEP_AND}B+=C;oPageWidget.changePageExt(D,C,1)};var A=new Array()};var devPel=function(C,A){var B=C.getElementsByTagName(A);if(B[0]){return B[0]}};var controlarAltosWidgetProd=function(M){var H=6,B=0;var F,E,L=0,J=new Array();var I,G;var K={nom:0,desc:0};for(F=0;F<M.childNodes.length;F++){if(M.childNodes[F].tagName&&M.childNodes[F].tagName.toLowerCase()=="div"){J.push(M.childNodes[F]);if(M.childNodes[F].offsetHeight>L){L=M.childNodes[F].offsetHeight}}}for(E=0;E<J.length;E++){J[E].style.height=(L)+"px"}L=0;J=new Array();for(F=0;F<M.childNodes.length;F++){if(M.childNodes[F].tagName&&M.childNodes[F].tagName.toLowerCase()=="div"){if(B==0){B=M.childNodes[F].offsetTop}if(B==M.childNodes[F].offsetTop){J.push(M.childNodes[F]);if(M.childNodes[F].firstChild.offsetHeight>L){L=M.childNodes[F].firstChild.offsetHeight}}else{var C=0,A;for(E=0;E<J.length;E++){J[E].firstChild.style.height=(L+H)+"px";J[E].firstChild.style.overflow="hidden"}B=M.childNodes[F].offsetTop;J=new Array();J.push(M.childNodes[F]);L=M.childNodes[F].firstChild.offsetHeight}}}if(J.length>0){var C=0,A;var D=new Array();for(F=0;F<J.length;F++){J[F].firstChild.style.height=(L+H)+"px";J[F].firstChild.style.overflow="hidden"}}for(F=0;F<M.childNodes.length;F++){if(M.childNodes[F].tagName&&M.childNodes[F].tagName.toLowerCase()=="div"){M.childNodes[F].style.height="auto"}}};
