function descLoad(branch,dabo) { var link = dabo + " "; link = link.substr(0,30); var v = ''; switch(branch) { case 'A':v='002';break; case '3AB':v='000';break; case '3AC':v='001';break; case '3AD':v='001';break; case '3AE':v='001';break; case '3AF':v='000';break; case '3AG':v='000';break; case '3AH':v='000';break; case '3AI':v='001';break; case 'B':v='002';break; case 'C':v='002';break; case '1AA':v='007';break; case '1AB':v='006'; if (link > "51431542 ") { v++; } break; case '2A':v='005';break; case '2B':v='003'; if (link > "78A3232 ") { v++; } if (link > "78A32891 ") { v++; } break; case '2C':v='005';break; case '3AA':v='000';break; default : return; } v = '0000' + String(v); v = v.substr(v.length-3,3); if (dabo == '') { window.location.href = 'Gedid' + v + '.html#' + branch; } else { window.location.href = 'Gedid' + v + '.html#' + link; } return; } function sosaLoad(sosanum) { if (sosanum <= 127) { window.location.href = 'Gedig000.html#' + sosanum; return; } if (sosanum <= 315) { window.location.href = 'Gedig001.html#' + sosanum; return; } if (sosanum <= 569) { window.location.href = 'Gedig002.html#' + sosanum; return; } if (sosanum <= 709) { window.location.href = 'Gedig003.html#' + sosanum; return; } if (sosanum <= 1225) { window.location.href = 'Gedig004.html#' + sosanum; return; } if (sosanum <= 1485) { window.location.href = 'Gedig005.html#' + sosanum; return; } if (sosanum <= 2871) { window.location.href = 'Gedig006.html#' + sosanum; return; } if (sosanum <= 11931) { window.location.href = 'Gedig007.html#' + sosanum; return; } }