/* ########## landscapeTable (copyright e2see.de) ##########
<script>
$(document).ready(function(){
    $('table.landscape-table').each(function(){
        $(this).landscapeTable_connect();
    });
});
</script>
*/

$.fn.landscapeTable_connect = function(){

    var table = this;
    if(table.find(' > * > tr:first-child > th').length != 0){
        var firstTr = table.find(' > * > tr:first-child');
        var uniqueId = parseInt(Math.random() * 100000000) * parseInt(Math.random() * 100000000);
        table.attr('data-landscape-table-id', uniqueId );
        var CSS =  '';
        var i =  1;
        firstTr.children('*').each(function(){
            var text = $(this).text();
            CSS =  CSS + '\ntable[data-landscape-table-id="'+uniqueId+'"] > * > tr > *:nth-child('+i+')::before { content: "'+text+'"; }';
            i = i +1;
        });
        table.before('<style type="text/css">'+ CSS+'</style>');
    }
    return this;
}





/* cdn 0ms */