 function filtroCompeTempo() { var zona = document.getElementById('div_captionFiltrado'); var temporada = document.getElementById('temporada'); var grupo = document.getElementById('grupo'); if (zona && temporada && grupo) { if (temporada.selectedIndex > 0 || grupo.selectedIndex > 0) { zona.innerHTML = '<BR><BR>Datos filtrados por '; if (temporada.selectedIndex > 0) { zona.innerHTML += 'Temporada "' + temporada.options[temporada.selectedIndex].text + '"'; if (grupo.selectedIndex > 0) zona.innerHTML += 'y'; } if (grupo.selectedIndex > 0) zona.innerHTML += 'Competición "' + grupo.options[grupo.selectedIndex].text + '"'; } } } function gesTemporadas(wm) { loadIframeTransSizeNT('gTemporadas.asp?wm=' + wm, 400, 300, 'Temporadas'); } function gesAgrupaciones(wm) { loadIframeTransSizeNT('gAgrupaciones.asp?wm=' + wm, 400, 300, 'Modalidades'); } function addComentarioEntrada(id) { loadIframeTransSize('/es/comun/addComentario.asp?id=' + id + '&p1=huNNl5bZ0unbknt8nFEtpxxoUZmunhOnEHoInsiWEFtSxFlE0KNsxnZpnYk&r=S', 650, 440); } function borraRuta(id, wm) { } function duplicaRuta(id,wm) { try { var cont = confirm('Se duplicará la ruta'); if (cont) { var httpGetDatos = getHTTPObject(); if (httpGetDatos.readyState == 4 || httpGetDatos.readyState == 0) { esperando(null, 'Duplicando ruta'); httpGetDatos.open("GET", '/es/altimetria/_remote.asp?fx=DRUTA&id=' + id + '&wm=' + wm + '&rand=' + Math.floor(Math.random() * 1000000), true); httpGetDatos.onreadystatechange = function() { var results; var ajaxDiv; try { if (httpGetDatos.readyState == 4) { results = httpGetDatos.responseText; runResultadoAjax(null, results); } } catch (e) { } }; httpGetDatos.send(null); } } } catch (e) { alert('err:' + e.description); } } function estadistica(div_dest, cual, tit, wm, tm, gr) { try { var httpGetDatos = getHTTPObject(); if (httpGetDatos.readyState == 4 || httpGetDatos.readyState == 0) { esperando(div_dest, 'Calculando'); httpGetDatos.open("GET", '/es/altimetria/_remote.asp?fx=' + cual + '&tm=' + tm + '&tit=' + escape(tit) + '&gr=' + gr + '&wm=' + wm + '&rand=' + Math.floor(Math.random() * 1000000), true); httpGetDatos.onreadystatechange = function() { var results; var ajaxDiv; try { if (httpGetDatos.readyState == 4) { results = httpGetDatos.responseText; runResultadoAjax(div_dest, results); } } catch (e) { } }; httpGetDatos.send(null); } } catch (e) { alert('err:' + e.description); } }
