//================================================================================================ //=== Querverlinkungen aus frame "main" (Menu und Content wird gešndert) function crosslink(id, abspath) { var data = new Array( '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|', '|' ) for(i=0; i<=30; i++) { if ((data[i].substring(1,2)=="\|") && (id.substring(0,1) == data[i].substring(0,1))) { dir_1 = data[i].substring(3) + "/"; } if (data[i].substring(0,2) == id) { dir_2 = data[i].substring(3) + "/"; } if (id.length == 1) { dir_2 = ""; } } var abspath = (!abspath) ? "../../" : abspath; top.menu.location.href = abspath + "menu.php?id="+id; top.main.location.href = abspath + "0" + dir_1 + dir_2; }