var documentRoot="overviews/pointsSportsmen/";
var standType=2;
var id=0;
var menWomen_id=0;
var periodLeagues_id = 0;
var type='normal';
$(document).ready(bijladen);
function bijladen() {
selWedstrijd();
}
function selGeslacht() {
menWomen_id=document.frm.geslachtsel.value;
laadStand();
}
function selTab(me, per_id, typef) {
if (me.parentNode.className=="current") return;
for (i=0; i < me.parentNode.parentNode.childNodes.length; i++) {
if (!me.parentNode.parentNode.childNodes[i].id) continue;
me.parentNode.parentNode.childNodes[i].className = "";
//document.getElementById(me.parentNode.parentNode.childNodes[i].id+"Content").style.display="none";
}
me.parentNode.className = "current";
//document.getElementById(me.parentNode.id+"Content").style.display="block";
console.log(typef);
if (typef=='class') {
id = per_id;
periodLeagues_id = 0;
}
else {
periodLeagues_id = per_id;
id = 0;
}
type = typef;
console.log(id);
selWedstrijd(id);
}
function selAfstand() {
id=document.frm.afstandsel.value;
standType=2;
document.frm.wedstrijdsel.options[0].selected=true;
document.frm.klassel.options[0].selected=true;
laadStand();
}
function selKlas() {
id=document.frm.klassel.value;
standType=1;
document.frm.wedstrijdsel.options[0].selected=true;
document.frm.afstandsel.options[0].selected=true;
laadStand();
}
function selWedstrijd(parid) {
for (var i=0; i