// klwl.js
function mode(faser) {
 return "MS".indexOf(faser.substr(1,1));
}
function pst(stecker,faser) {
 return stk.substr((stecker*2+mode(faser))*stl,stl);
}
function fty(fasertyp) {
 return kft.indexOf(fasertyp)/4;
}