(a[j]==e) return true; return false;}function desplazarrels(direccion) { var div = document.getElementById("postsrelacionadoscontenedor"); var pos = parseInt(div.style.left); pos = pos + (SRwidth * direccion); if(pos > SRmin) { return } if(pos < SRmax) { return } div.style.left = pos + "px";}//]]></script><style>/* al rectangulo contenedor lo centramos, le damos altura y eliminamos los saltos de linea indeseados */ #postsrelacionadosslider { margin:15px 0px 0px 0px; padding:0px 0px 0px 0px; height: 190px; position: relative; width:100%; border: 0px; }#postsrelacionadosslider h2{font-size: 14px;text-indent: 20px; } #postsrelacionadosslider br { display:none; } /* las imagenes que sirven para navegar las posiconamos una a cada extremo */ #relleft { left: -5px; } #relright { right: 0; } .sflecha { height: 150px; position: absolute; width: 15px; } .sflecha img { height: 150px; width: 15px; border: 0px solid} /* al rectangulo central lo dimensionamos, lo posicionamos e impedimos que se deborde */ #postsrelacionadosinner {margin:0px;padding:0px; height: 152px; left: 15px; overflow: hidden; position: absolute; width: 96%; /* es el ancho real de cada post resumido por la cantidad visible, en este caso 4 */ } /* esta sera la &quot;tira&quot; a desplazar */ #postsrelacionadoscontenedor { height: 180px; position: absolute; width: 2800px; /* es el ancho real de cada post resumido por la cantidad a mostrar, en este caso 20 */ /* el efecto */ -moz-transition: all 1s; -webkit-transition: all 1s; -o-transition: all 1s; transition: all 1s; } /* cada post resumido */ .relspostsslider { background: -webkit-linear-gradient(#7C9CAB, #D0D8DC); background: -moz-linear-gradient(#7C9CAB, #D0D8DC); background: -o-linear-gradient(#7C9CAB, #D0D8DC); float: left; height: 150px; margin: 0 1px; overflow: hidden; padding: 0 4px; text-align: center; width: 120px;border:1px solid #ccc; } /* los contenidos de esos posts resumidos */ .relspostsslider a { color: #000; display: inline; font-size: 11px; line-height: 1; } .relspostsslider img { height: 82px; margin: 1px auto; padding:5px 5px 5px; background: #fff; width: 95px;border:1px solid #000; } .relspostsslider h6 { display: table-cell; height: 5em; margin: 0; overflow: hidden; padding: 0; vertical-align: middle; width: 130px; } .relspostsslider p {display:none;}</style><!-- FIM posts relacionados com Slide by JMiur --><!-- INICIO DO SCRIPT LINKS COLORIDOS--><script type='text/javascript'>// <![CDATA[var rate = 20; // Increase amount(The degree of the transmutation)////////////////////////////////////////////////////////////////////// Main routineif (document.getElementById)window.onerror=new Function("return true")var objActive; // The object which event occured invar act = 0; // Flag during the actionvar elmH = 0; // Huevar elmS = 128; // Saturationvar elmV = 255; // Valuevar clrOrg; // A color before the changevar TimerID; // Timer IDif (document.all) {document.onmouseover = doRainbowAnchor;document.onmouseout = stopRainbowAnchor;}else if (document.getElementById) {document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);document.onmouseover = Mozilla_doRainbowAnchor;document.onmouseout = Mozilla_stopRainbowAnchor;}//=============================================================================// doRainbow// This function begins to change a color.//=============================================================================function doRainbow(obj){if (act == 0) {act = 1;if (obj)objActive = obj;elseobjActive = event.srcElement;clrOrg = objActive.style.color;TimerID = setInterval("ChangeColor()",100);}}//=============================================================================// stopRainbow// This function stops to change a color.//=============================================================================function stopRainbow(){if (act) {objActive.style.color = clrOrg;clearInterval(TimerID);act = 0;}}//=============================================================================// doRainbowAnchor// This function begins to change a color. (of a anchor, automatically)//=============================================================================function doRainbowAnchor(){if (act == 0) {var obj = event.srcElement;while (obj.tagName != 'A' && obj.tagName != 'BODY') {obj = obj.parentElement;if (obj.tagName == 'A' || obj.tagName == 'BODY')break;}if (obj.tagName == 'A' && obj.href != '') {objActive = obj;act = 1;clrOrg = objActive.style.color;TimerID = setInterval("ChangeColor()",100);}}}//=============================================================================// stopRainbowAnchor// This function stops to change a color. (of a anchor, automatically)//=============================================================================function stopRainbowAnchor(){if (act) {if (objActive.tagName ==