var druckansicht = (window.location.href.indexOf("druckansicht")>-1);
        function druckansicht_zeigen()
        {
            if (!druckansicht)
                window.open(window.location.href+
                    (window.location.href.indexOf("?")==-1?"?":"&")+
                    "druckansicht=ja", "_blank");
        }
        function drucken ()
        {
            var z=document.getElementById("zellerechtsunten");
            if (String(z)!="null")  z.style.height="auto";
            z=document.getElementsByTagName("body");
            if (String(z)!="null")  z.width=680;
            z=document.getElementById("bildmitterechts");
            if (String(z)!="null")  z.width=430;
            z=document.getElementById("transgif2");
            if (String(z)!="null")  z.width=430;
            z=document.getElementById("divrechtsunten");
            if (String(z)!="null")  z.className="text-container-druckansicht";
            z=document.getElementById("bodytabelle");
            if (String(z)!="null")  z.width=663;
            z=document.getElementById("td1");
            if (String(z)!="null")  { z.width=432; z.style.overflow="hidden"; }         
            
            
            window.print();
        }

        if (druckansicht)
            window.onload=drucken;
