﻿<!--
//autoprint code
        function printSpecial()
        {
            if (document.getElementById != null)
            {
                var html = '<html>\n<head>\n';
                if (document.getElementsByTagName != null)
                {
                    var headTags = document.getElementsByTagName("head");
                    if (headTags.length > 0)
                    html += headTags[0].innerHTML;
                }
                html += '\n</head>\n<body onload="window.print();">\n';
                var printReadyElem = document.getElementById("printReady");
                if (printReadyElem != null)
                {
                    html += printReadyElem.innerHTML;
                }
                else
                {
                    alert("No printable section defined on this page or function unsupported by browser.");
                    return;
                }
                html += '\n<div id="printflag"></div>\n';
                html += '\n</body>\n</html>';
                var printWin = window.open("","printSpecial");
                printWin.document.open("text/html", "replace");
                printWin.document.write(html);
                printWin.document.close();
            }
            else
            {
                alert("The print ready feature is not supported by your browser. Please update your browser.");
            }
        }
-->