<body>
    <input type="textbox" id="fname"></input>
    <button type="button" onclick="javascript:show('select'); return false;">Click</button></br>
    <input type="radio" id="select" style="display:none;"></input>
</body>
私が書いたコードは論理的であるように見えますが、この場合、ボタンをクリックしても機能していないようです..誰かがどこで間違っていたのか教えてくれます
前もって感謝します。
    <head>
    <title>show and hide javascript</title>
    <script type="text/javascript">
        function show(id) {
            //alert("Its working");
            var myId = document.getElementById.id;
            if (myId.style.display = 'none') {
                myId.style.display = 'block';
            } else {
                myId.style.display = 'none';
            }
        }
    </script>
</head>