0px;
            }
            #calcresult {
                border: 2px solid #aaa;
                padding: 20px;
                display: none;
                background-color: #f9f9f9;
            }
            button {
                margin: 15px 0;
            }
	    </style>

        <script type="text/javascript">
	    function calculate() {
                var hexline = document.getElementById("hexline").value;
                var start = hexline.substring(0, 1);
                