- 1] = relresumenslider[i]; tmp4.length += 1; tmp4[tmp4.length - 1] = relimagenslider[i]; } } reltitulosslider = tmp2; relurlsslider = tmp; relresumenslider = tmp3; relimagenslider = tmp4; for(var i = 0; i < reltitulosslider.length; i++){ var indice = Math.floor((reltitulosslider.length - 1) * Math.random()); var tempTitle = reltitulosslider[i]; var tempUrls = relurlsslider[i]; var tempResumen = relresumenslider[i]; var tempImagen = relimagenslider[i]; reltitulosslider[i] = reltitulosslider[indice]; relurlsslider[i] = relurlsslider[indice]; relresumenslider[i] = relresumenslider[indice]; relimagenslider[i] = relimagenslider[indice]; reltitulosslider[indice] = tempTitle; relurlsslider[indice] = tempUrls; relresumenslider[indice] = tempResumen; relimagenslider[indice] = tempImagen; } var cuantosPosts = 0; var r = Math.floor((reltitulosslider.length - 1) * Math.random()); var rini = r; var salida; var dirURL = document.URL; while (cuantosPosts < relmaxamostrarslider) { if (relurlsslider[r] != dirURL) { salida = "<div class='relspostsslider'>"; salida += "<a href='" + relurlsslider[r] + "' rel='nofollow' target='_blank' title='" + reltitulosslider[r] + "'><img src='" + relimagenslider[r] + "' /></a>"; salida += "<h6><a href='" + relurlsslider[r] + "' target='_blank'>" + reltitulosslider[r] + "</a></h6>"; salida += "<p>" + relresumenslider[r] + " ... </p>"; salida += "</div>"; document.write(salida); cuantosPosts++; if (cuantosPosts == relmaxamostrarslider) { break; } } if (r < reltitulosslider.length - 1) { r++; } else { r = 0; } if(r==rini) { break; } }}function eliminattagsslider(cual,longitud){ var resumen = cual.split("<"); for(var i=0;i<resumen.length;i++){ if(resumen[i].indexOf(">")!=-1){ resumen[i] = resumen[i].substring(resumen[i].indexOf(">")+1,resumen[i].length); } } resumen = resumen.join(""); resumen = resumen.substring(0,longitud-1); return resumen;}function containsslider(a, e) { for(var j = 0; j < a.length; j++) if (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><!-- Fim posts relacionados --><!-- Inicio codigo navegacao por pagina --><b:if cond='data:blog.pageType == &quot;item&quot;'><script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/><script type='text/javascript'>var alts = jQuery.noConflict();alts(document).ready(function(){var newerLink = alts(&quot;a.blog-pager-newer-link&quot;).attr(&quot;href&quot;);alts(&quot;a.blog-pager-newer-link&quot;).load(newerLink+&quot; .post-title:first&quot;, function() {var newerLinkTitle = alts(&quot;a.blog-pager-newer-link&quot;).text();alts(&quot;a.blog-pager-newer-link&quot;).text(newerLinkTitle);});var olderLink = alts(&quot;a.blog-pager-older-link&quot;).attr(&quot;href&quot;);alts(&quot;a.blog-pager-older-link&quot;).load(olderLink+&quot; .post-title:first&quot;, function() {var olderLinkTitle = alts(&quot;a.blog-pager-older-link&quot;).text();alts(&quot;a.blog-pager-older-link&quot;).text(olderLinkTitle);//rgt});});var fnp = jQuery.noConflict();fnp(document).ready(function(){ fnp(&quot;.fnp-previous&quot;).mouseenter(function(){ fnp(&quot;.fnp-content-left&quot;).stop().animate({ left:-10 },700); fnp(&quot;.fnp-content-left .fnp-nav-title,.fnp-content-left .fnp-nav-link&quot;).stop().delay(500).animate({ opacity:1 },500); }); fnp(&quot;.fnp-previous&quot;).mouseleave(function(){ fnp(&quot;.fnp-content-left&quot;).stop().animate({ left:-400 },700); fnp(&quot;.fnp-content-left .fnp-nav-title,.fnp-content-left .fnp-nav-link&quot;).stop().animate({ opacity:0},500) });fnp(&quot;.fnp-next&quot;).mouseenter(function(){ fnp(&quot;.fnp-content-right&quot;).stop().animate({ right:-10 },700); fnp(&quot;.fnp-content-right .fnp-nav-title,.fnp-content-right .fnp-nav-link&quot;).stop().delay(500).animate({ opacity:1 },500); });fnp(&quot;.fnp-next&quot;).mouseleave(function(){ fnp(&quot;.fnp-content-right&quot;).stop().animate({ right:-400 },700); fnp(&quot;.fnp-content-right .fnp-nav-title,.fnp-content-right .fnp-nav-link&quot;).stop().animate({ opacity:0 },500); });});</script></b:if><!-- Fim do menu navegacao por pagina --> <b:template-skin> <b:variable default='960px' name='content.width' type='length' value='1110px'/> <b:variable default='0' name='main.column.left.width' type='length' value='180px'/> <b:variable default='310px' name='main.column.right.width' type='length' value='330px'/> <![CDATA[ body { min-width: $(content.width); } .content-outer, .content-fauxcolumn-outer, .region-inner { min-width: $(content.width); max-width: $(content.width); _width: $(content.width); } .main-inner .columns { padding-left: $(main.column.left.width); padding-right: $(main.column.right.width); } .main-inner .fauxcolumn-center-outer { left: $(main.column.left.width); right: $(main.column.right.width); /* IE6 does not respect left and right together */ _width: expression(this.parentNode.offsetWidth - parseInt("$(main.column.left.width)") - parseInt("$(main.column.right.width)") + 'px'); } .main-inner .fauxcolumn-left-outer { width: $(main.column.left.width); } .main-inner .fauxcolumn-right-outer { width: $(main.column.right.width); } .main-inner .column-left-outer { width: $(main.column.left.width); right: 100%; margin-left: -$(main.column.left.width); } .main-inner .column-right-outer { width: $(main.column.right.width); margin-right: -$(main.column.right.width); } #layout { min-width: 0; } #layout .content-outer { min-width: 0; width: 800px; } #layout .region-inner { min-width: 0; width: auto; } ]]> </b:template-skin> </head> <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> <b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'><b:widget id='Navbar1' locked='false' title='Navbar' type='Navbar'><b:includable id='main'>&lt;script type=&quot;text/javascript&quot;&gt; function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener(&#39;load&#39;, function(){ object[attribute] = val; }, false); } else { window.attachEvent(&#39;onload&#39;, function(){ object[attribute] = val; }); } }