function highlightTableRows(tableId) { var previousClass = null; var table = document.getElementById(tableId); var tbody = table.getElementsByTagName("tbody")[0]; if (tbody == null) { var rows = table.getElementsByTagName("tr"); } else { var rows = tbody.getElementsByTagName("tr"); } // add event handlers so rows light up and are clickable for (i=0; i < rows.length; i++) { rows[i].onmouseover = function() { previousClass=this.className;this.className+=' over'; }; rows[i].onmouseout = function() { this.className=previousClass }; rows[i].onclick = function() { var cell = this.getElementsByTagName("td")[0]; var link = cell.getElementsByTagName("a")[0]; var lk = link.getAttribute("href"); var m = lk.indexOf("seleccionar("); if (m==-1){ lk=lk+'&viaLocation=true'; } location.href = lk; this.style.cursor="wait"; } } } function MM_preloadImages() { //v3.0 //alert("preload"); 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; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i