if (document.all) {classFix="className";}else {
classFix="class";document.captureEvents(Event.MOUSEMOVE);};var altura_original;
var fontSize=12;var lineHeight=16;var currentPos=0;var tHeight=0;
var articleGraphic=null;columnMode=3;col3Width=195;col2Width=295;
col1Width=618;colWidth=0;FONT_SMALLEST=8;FONT_LARGEST=24;
var SETEO=0;if (! document.all) {document.writeln('<style type="text/css">');document.writeln('.r, .click {cursor:pointer}');
document.writeln('.noborder {border:1px solid}');document.writeln('</style>');};function articlePrint() {
if (window.print) {window.print();}else {
alert("Su browser no soporta impresión web estándar.\nEl artículo cambiará a modo de una columna.\n\nUsted entonces puede imprimir la página usando el comando print de browser.");genera_unaColumna();};};
function resalta_pag_siguiente() {parentHeight=obtiene_alto_ventana("articuloPadre");if ( (parentHeight * (currentPos + columnMode)) < tHeight) {obj=document.getElementById("nextCool");
obj.style.visibility="hidden";obj=document.getElementById("nextHot");obj.style.visibility="visible";};
};function resalta_pag_anterior() {if (currentPos > 0) {obj=document.getElementById("prevCool");
obj.style.visibility="hidden";obj=document.getElementById("prevHot");obj.style.visibility="visible";};
};function esconde_pag_resaltada() {obj=document.getElementById("prevCool");obj.style.visibility="visible";
obj=document.getElementById("prevHot");obj.style.visibility="hidden";obj=document.getElementById("nextCool");obj.style.visibility="visible";
obj=document.getElementById("nextHot");obj.style.visibility="hidden";};function obtiene_alto_ventana(obj) {
if (obj == "window") {if (window.innerHeight) return window.innerHeight;else return document.getElementById("bodyNode").offsetHeight;}
else {obj=document.getElementById(obj);if (obj.offsetHeight) return obj.offsetHeight;};
};function seteo_Articulo() {parentDiv=document.getElementById("articuloPadre");currentPos=0;
for (i=0; i < 3; i++) {col=document.createElement("div");col.setAttribute("id", "ac" + i);col.setAttribute(classFix, "artCol");
parentDiv.appendChild(col);obj=document.getElementById("cuerpoArticulo");artText=obj.cloneNode(true);artText.setAttribute("id","at" + i);
artText.style.display="block";artText.style.top="0px";artText.style.fontSize=fontSize + "px";artText.style.lineHeight=lineHeight + "px";
col.appendChild(artText);};obj=document.getElementById("tit");obj.style.fontSize=fontSize + 7 + "px";
obj.style.lineHeight=lineHeight + 7 + "px";if (document.getElementById("articleOwnerGraphic")) {obj=document.getElementById("articleOwnerGraphic");articleGraphic=obj;
};};function layoutGraphic() {if (columnMode != 1) {
obj=document.getElementById("at" + (columnMode - 1));if ( (parseInt(obj.style.top) + obj.offsetHeight) < parentHeight) {colHeight=obtiene_alto_ventana("at0");graphicOffset=(columnMode - 1) * parentHeight;
articleGraphic.style.marginTop=lineHeight + "px";articleGraphic.style.top=(colHeight - ((parentHeight * currentPos) + graphicOffset)) + "px";if (parseInt(articleGraphic.style.top) < 0) {articleGraphic.style.marginTop=0;
articleGraphic.style.top=0 +"px";};if (columnMode == 2) articleGraphic.style.left=(1 * colWidth + 20) + "px";if (columnMode == 3) articleGraphic.style.left=(2 * colWidth + 36) + "px";
articleGraphic.style.visibility="visible";}else {articleGraphic.style.visibility="hidden";
};};};function pagina_siguiente() {
parentHeight=obtiene_alto_ventana("articuloPadre");if ( (parentHeight * (currentPos + columnMode)) < tHeight) { currentPos=currentPos + columnMode;};
layoutArticles();};function pagina_anterior() {currentPos= currentPos - columnMode;
if (currentPos < 0) currentPos=0;layoutArticles();};function layoutArticles() {
parentHeight=obtiene_alto_ventana("articuloPadre");for (i=0; i < columnMode; i++) {obj=document.getElementById("at" + i);if (parentHeight > 2 * lineHeight) { 
obj.style.top=(-1 * (parentHeight * (i + currentPos))) + "px";};};if (articleGraphic) layoutGraphic();
paginas_articulo();};function setSnap(mod) {if (mod == null) mod=0;
snap=lineHeight * Math.round((obtiene_alto_ventana("window") - mod) / lineHeight);if (snap < lineHeight * 10) {snap=lineHeight * 10;if (window.scrollTo) window.scrollTo(0,TOP_BARRA);
}else if (window.scrollTo) {window.scrollTo(0,0);};
return snap + "px";};function seteoAltura_Articulo() {if ( (IE6) && (SETEO > 1) ) {
return;};SETEO++;if (columnMode > 1) {
if (document.getElementById("cuerpoArticulo")) {document.getElementById("articuloPadre").style.height=setSnap(295);tHeight=obtiene_alto_ventana("at1");if (articleGraphic) tHeight=tHeight + articleGraphic.offsetHeight;
parentHeight=obtiene_alto_ventana("articuloPadre");while ((parentHeight * (currentPos + columnMode - 1)) > tHeight && currentPos > 0) { currentPos--;};
layoutArticles();};};};
function paginas_articulo() {parentHeight=obtiene_alto_ventana("articuloPadre");totalColumns=tHeight / parentHeight;totalPages=Math.ceil(totalColumns);
tPos=(currentPos + columnMode) / columnMode;pagesTotal=Math.ceil(totalPages / columnMode);pagesCurrent=Math.round(tPos);if (pagesTotal == 0) {
pagesTotal=1;};if (pagesCurrent > 9) {total=pagesCurrent + "";
document.getElementById("pgCol0").style.top=((parseInt(total.substring(0,1))) * -16) + "px";document.getElementById("pgCol1").style.top=((parseInt(total.substring(1,2))) * -16) + "px";}else {
document.getElementById("pgCol0").style.top=0 + "px";document.getElementById("pgCol1").style.top=(pagesCurrent * -16) + "px";};if (pagesTotal > 9) {
total=pagesTotal + "";document.getElementById("pgCol2").style.top=((parseInt(total.substring(0,1))) * -16) + "px";document.getElementById("pgCol3").style.top=((parseInt(total.substring(1,2))) * -16) + "px";}
else {document.getElementById("pgCol2").style.top=0 + "px";document.getElementById("pgCol3").style.top=(pagesTotal * -16) + "px";};
};function genera_unaColumna() {currentPos=0;columnMode=1;
colWidth=col1Width;obj=document.getElementById("at0");obj.style.width=colWidth + "px";obj.style.left=0 + "px";
obj=document.getElementById("articuloPadre");obj.style.height=obtiene_alto_ventana("at0") + "px";obj=document.getElementById("at1");obj.style.display='none';
obj=document.getElementById("at2");obj.style.display="none";parentHeight=obtiene_alto_ventana("articuloPadre");for (i=0; i < columnMode; i++) {
obj=document.getElementById("at" + i);obj.style.top=(-1 * (parentHeight * (i + currentPos))) + "px";};articleGraphic.style.top=(document.getElementById("at0").offsetHeight - articleGraphic.offsetHeight) + "px";
articleGraphic.style.left="480px";articleGraphic.style.visibility="visible";graba_atribFont_Articulo();document.getElementById("pgCol0").style.top=0 + "px";
document.getElementById("pgCol1").style.top=-16 + "px";document.getElementById("pgCol2").style.top=0 + "px";document.getElementById("pgCol3").style.top=-16 + "px";document.getElementById("pagSiguienteArticulo").style.display="none";
document.getElementById("pagAnteriorArticulo").style.display="none";};function genera_tresColumnas() {if (window.scrollTo) window.scrollTo(0,0);
tresColumnas();SETEO=0;seteoAltura_Articulo();graba_atribFont_Articulo();
paginas_articulo();};function dosColumnas() {currentPos=0;
columnMode=2;colWidth=col2Width;obj=document.getElementById("at0");obj.style.width=colWidth + "px";
obj.style.left=0 + "px";if (document.all) obj.style.cursor="hand";else  obj.style.cursor="pointer";obj.onmousemove=resalta_pag_anterior;
obj.onmouseout=esconde_pag_resaltada;obj.onmousedown=pagina_anterior;obj.onmouseup=esconde_pag_resaltada;obj=document.getElementById("at1");
obj.style.left=(colWidth + 20) + "px";obj.style.width=colWidth + "px";obj.style.display="block";if (document.all) obj.style.cursor="hand";
else  obj.style.cursor="pointer";obj.onmousemove=resalta_pag_siguiente;obj.onmouseout=esconde_pag_resaltada;obj.onclick=pagina_siguiente;
obj.onmouseup=esconde_pag_resaltada;obj=document.getElementById("at2");obj.style.display="none";document.getElementById("pagSiguienteArticulo").style.display="block";
document.getElementById("pagAnteriorArticulo").style.display="block";graba_atribFont_Articulo();};function tresColumnas() {
currentPos=0;columnMode=3;colWidth=col3Width;if (fontSize > 18) {fontSize=18};
obj=document.getElementById("at0");if (document.all) {obj.style.cursor="hand";}
else {obj.style.cursor="pointer";};obj.style.zIndex=5;
obj.style.width=colWidth + "px";obj.onmousemove=resalta_pag_anterior;obj.onmouseout=esconde_pag_resaltada;obj.onmousedown=pagina_anterior;
obj.onmouseup=esconde_pag_resaltada;obj.style.left=0 + "px";obj=document.getElementById("at1");obj.style.left=(colWidth + 16) + "px";
obj.style.display="block";obj.style.width=col3Width + "px";obj.style.cursor="default";obj.onmousemove=null;
obj.onmouseout=null;obj.onclick=null;obj.onmouseup=null;obj=document.getElementById("at2");
if (document.all) {obj.style.cursor="hand";}else {
obj.style.cursor="pointer";};obj.style.display="block";obj.style.left=(2 * (colWidth + 16)) + "px";
obj.style.width=colWidth + "px";obj.onmousemove=resalta_pag_siguiente;obj.onmouseout=esconde_pag_resaltada;obj.onclick=pagina_siguiente;
obj.onmouseup=esconde_pag_resaltada;document.getElementById("pagSiguienteArticulo").style.display="block";document.getElementById("pagAnteriorArticulo").style.display="block";};
function graba_atribFont_Articulo() {var expire=new Date ();expire.setTime (expire.getTime() + (6000 * 24 * 3600000));expire=expire.toGMTString();
document.cookie="fontSize=" + fontSize + "; columnMode=" + columnMode + "; path=/; expires=" + expire;document.cookie="columnMode=" + columnMode + "; path=/; expires=" + expire;};function setea_atribFont_Articulo() {
lineHeight=fontSize + Math.round(.3 * fontSize);for (i=0; i < 3; i++) {obj=document.getElementById("at" + i);obj.style.fontSize=fontSize + "px";
obj.style.lineHeight=lineHeight + "px";};obj=document.getElementById("tit");obj.style.fontSize=fontSize + 7 + "px";
obj.style.lineHeight=lineHeight + 7 + "px";if (columnMode == 1) genera_unaColumna();graba_atribFont_Articulo();SETEO=0;
seteoAltura_Articulo();};function aumenta_tamFont() {fontSize += 1;
if (fontSize > 18 && columnMode != 1) dosColumnas();if (fontSize > 26) fontSize=26;setea_atribFont_Articulo();};
function disminuye_tamFont() {fontSize -= 1;if (fontSize < 18 && columnMode != 1) tresColumnas();if (fontSize < 9) fontSize=9;
setea_atribFont_Articulo();};function focusArticulo() {layoutArticles();
if (document.all) event.cancelBubble=true;};function articulo_noDefinido() {window.status="Artículo no definido";
};function test_Articulo() {obj=document.getElementById("articuloPadre");obj.doScroll("up");
window.status="Esta interfaz no soporta scrolling.";};function carga_tamFont() {tempArray=document.cookie.split(";");
for (tA=0; tA < tempArray.length; tA++) {if (tempArray[tA].indexOf('fontSize') > -1) { fontValue=tempArray[tA].split("=");fontSize=parseInt(fontValue[1]);
lineHeight=fontSize + Math.round(.3 * fontSize);};if (tempArray[tA].indexOf('columnMode') > -1) { colValue=tempArray[tA].split("=");
columnMode=parseInt(colValue[1]);};};};
function inicializa_Articulo() {if (document.getElementById("cuerpoArticulo") != null) {carga_tamFont();seteo_Articulo();
SETEO=0;seteoAltura_Articulo();if (columnMode == 1) genera_unaColumna();if (columnMode == 2) dosColumnas();
if (columnMode == 3) tresColumnas();setea_atribFont_Articulo();layoutArticles();obj=document.getElementById("articuloPadre");
obj.onkeyup=focusArticulo;obj.onscroll=test_Articulo;};};
function subWin2(loc, nom, ancho, alto, posx, posy) {var options="toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,location=0,directories=0,width=" + ancho + ",height=" + alto;var win=window.open(loc, nom, options);win.focus();
if ( (posx > 0) && (posy > 0) ) {
};
};