var browserName=navigator.appName;var testEnabled=0;var GetTraceEvents="";function AddHoverStyles(a){if(a==1){$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-sel-1.gif)");$("#table-head-cell-1").css("color","#FFF")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1.gif")');$("#table-head-cell-1").css("color","#FFF")});$("#table-head-cell-2").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-1.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1.gif")');$("#table-head-cell-2").css("color","#7C9CBB")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1.gif")');$("#table-head-cell-2").css("color","#7C9CBB")});$("#table-head-cell-3").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-1.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$(".layer-basic").css("display","inline");$(".layer-plus").css("display","none");$(".layer-extreme").css("display","none");$(".layer-basic-plus").css("display","none");$(".layer-plus-extreme").css("display","none");$(".layer-open-inner").scrollTo(0)}if(a==2){$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-2").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-3").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$(".layer-basic").css("display","none");$(".layer-plus").css("display","inline");$(".layer-extreme").css("display","none");$(".layer-basic-plus").css("display","none");$(".layer-plus-extreme").css("display","none");$(".layer-open-inner").scrollTo(0)}if(a==3){$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-3.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-2").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-3.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-2").css("color","#7C9CBB")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-2").css("color","#7C9CBB")});$("#table-head-cell-3").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-3.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-3").css("color","#FFF")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-3.gif")');$("#table-head-cell-3").css("color","#FFF")});$(".layer-basic").css("display","none");$(".layer-plus").css("display","none");$(".layer-extreme").css("display","inline");$(".layer-basic-plus").css("display","none");$(".layer-plus-extreme").css("display","none");$(".layer-open-inner").scrollTo(0)}if(a==4){$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-1_2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-1").css("color","#FFF")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-1").css("color","#FFF")});$("#table-head-cell-2").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-1_2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-3").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-1_2.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif")');$("#table-head-cell-3").css("color","#7C9CBB")});$(".layer-basic").css("display","none");$(".layer-plus").css("display","none");$(".layer-extreme").css("display","none");$(".layer-basic-plus").css("display","inline");$(".layer-plus-extreme").css("display","none");$(".layer-open-inner").scrollTo(0)}if(a==5){$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-2_3.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-2").hover(function(){$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table").css("background-image","url(img/bg-table-body-sel-2_3.gif)");$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-3").hover(function(){$("#table").css("background-image","url(img/bg-table-body-sel-2_3.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table-head-cell-3").css("color","#FFF")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image",'url("/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif")');$("#table-head-cell-3").css("color","#FFF")});$(".layer-basic").css("display","none");$(".layer-plus").css("display","none");$(".layer-extreme").css("display","none");$(".layer-basic-plus").css("display","none");$(".layer-plus-extreme").css("display","inline");$(".layer-open-inner").scrollTo(0)}}function ShowLayerById(a){if(browserName!="Microsoft Internet Explorer"){}if(a==1){$(".layer-basic").css("display","inline");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-1.gif)");$("#table-head-cell-1").css("color","#FFF");$("#table-head-cell-2").css("color","#7C9CBB");$("#table-head-cell-3").css("color","#7C9CBB");AddHoverStyles(1);DisableClickEvent()}else{if(a==2){$(".layer-plus").css("display","inline");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-2.gif)");$("#table-head-cell-1").css("color","#7C9CBB");$("#table-head-cell-2").css("color","#FFF");$("#table-head-cell-3").css("color","#7C9CBB");AddHoverStyles(2);DisableClickEvent()}else{if(a==3){$(".layer-extreme").css("display","inline");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-3.gif)");$("#table-head-cell-1").css("color","#7C9CBB");$("#table-head-cell-2").css("color","#7C9CBB");$("#table-head-cell-3").css("color","#FFF");AddHoverStyles(3);DisableClickEvent()}else{if(a==4){$(".layer-basic-plus").css("display","inline");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-1_2.gif)");$("#table-head-cell-1").css("color","#FFF");$("#table-head-cell-2").css("color","#FFF");$("#table-head-cell-3").css("color","#7C9CBB");AddHoverStyles(4);DisableClickEvent()}else{if(a==5){$(".layer-plus-extreme").css("display","inline");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-2_3.gif)");$("#table-head-cell-1").css("color","#7C9CBB");$("#table-head-cell-2").css("color","#FFF");$("#table-head-cell-3").css("color","#FFF");AddHoverStyles(5);DisableClickEvent()}}}}}}function CloseLayers(){$(".layer-open-inner").scrollTo(0);setTimeout("CloseLayersAll()",10)}function CloseLayersAll(){$(".layer-basic").css("display","none");$(".layer-plus").css("display","none");$(".layer-extreme").css("display","none");$(".layer-basic-plus").css("display","none");$(".layer-plus-extreme").css("display","none");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-unsel.gif)");$("#table-head-cell-1").css("color","#7C9CBB");$("#table-head-cell-2").css("color","#7C9CBB");$("#table-head-cell-3").css("color","#7C9CBB");$("#table-head-cell-1").hover(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-sel-1.gif)");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-1.gif)");$("#table-head-cell-1").css("color","#FFF")});$("#table-head-cell-1").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-unsel.gif)");$("#table-head-cell-1").css("color","#7C9CBB")});$("#table-head-cell-2").hover(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-sel-2.gif)");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-2.gif)");$("#table-head-cell-2").css("color","#FFF")});$("#table-head-cell-2").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-unsel.gif)");$("#table-head-cell-2").css("color","#7C9CBB")});$("#table-head-cell-3").hover(function(){$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-sel-3.gif)");$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-sel-3.gif)");$("#table-head-cell-3").css("color","#FFF")});$("#table-head-cell-3").mouseleave(function(){$("#table").css("background-image","url(/fileadmin/tabelle/img/bg-table-body-unsel.gif)");$("#hover-areas").css("background-image","url(/fileadmin/tabelle/img/bg-table-head-unsel.gif)");$("#table-head-cell-3").css("color","#7C9CBB")})}if(browserName!="Microsoft Internet Explorer"){}function DisableClickEvent(){}$(document).ready(function(){$(".close-layers").click(function(){var c=" ShowLayerById(1); ";var b=" ShowLayerById(2); ";var a=" ShowLayerById(3); "})});
