selecting both radio buttons
<p>NO JQUERY!  I have two radio buttons and for some reason I can select both of them and I only want to be able to select one.  For example, if you select Have a Baby, you can choose both radio buttons.  Is there a simple way to fix this?  Can someone help me achieve this by fixing the error in my code?</p>

<p><a href="http://jsfiddle.net/LuzkA/" rel="nofollow">http://jsfiddle.net/LuzkA/</a></p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Life Event Picker Calendar&lt;/title&gt;
&lt;script&gt;
function changeMessage(oElement) {
    var rd1 = document.getElementById("rd1");
    var rd1Text = rd1.parentNode.getElementsByTagName('span')[0];
    var rd2 = document.getElementById("rd2");
    var rd2Text = rd2.parentNode.getElementsByTagName('span')[0];

    document.getElementById('choice').innerHTML = "Radio Choice=";
    rd1.checked = false;
    rd2.checked = false;
    //nothing
    if (oElement.value == "0") {
        document.getElementById("btn").style.display = "none";
        document.getElementById("radio").style.display = "none";
        document.getElementById("day").innerHTML = "Date";
    //have a baby
    } else if (oElement.value == "100") {
        document.getElementById("btn").style.display = "none";
        document.getElementById("radio").style.clear = "both";
        document.getElementById("radio").style.display = "inline-block";
        rd1Text.innerHTML = "C-Section";
        rd2Text.innerHTML = "Regular Birth";
        rd1.value = "C-Section";
        rd2.value = "Regular Birth";
        document.getElementById("day").innerHTML = "Anticipated Due Date";
    //military leave
    } else if (oElement.value == "15") {
        document.getElementById("btn").style.display = "none";
        document.getElementById("radio").style.clear = "both";
        document.getElementById("radio").style.display = "inline-block";
        rd1Text.innerHTML = "Training";
        rd2Text.innerHTML = "Active Duty";
        rd1.value = "Training";
        rd2.value = "Active Duty";
        document.getElementById("day").innerHTML = "Anticipated Leave Date";
    //get married
    } else if (oElement.value == "5") {
        document.getElementById("btn").style.display = "inline-block";
        document.getElementById("radio").style.display = "none";
        document.getElementById("day").innerHTML = "Marriage Date";
    //adopt a child
    } else if (oElement.value == "90") {
        document.getElementById("btn").style.display = "inline-block";
        document.getElementById("radio").style.display = "none";
        document.getElementById("day").innerHTML = "Anticipated Adoption Date";
    //retire
    } else if (oElement.value == "35") {
        document.getElementById("btn").style.display = "inline-block";
        document.getElementById("radio").style.display = "none";
        document.getElementById("day").innerHTML = "Anticipated Retirement Date";
    //medical leave
    } else if (oElement.value == "25") {
        //document.getElementById("btn").style.display = "inline-block";
        document.getElementById("radio").style.display = "none";
        document.getElementById("day").innerHTML = "Anticipated Disability Date";       
    } else {}
    return;
}

    function showChoice(input) {
        document.getElementById('choice').innerHTML = "Radio Choice=" + input.value;
        document.getElementById("btn").style.display = "inline-block";
    }

//gets info picked and displays messages
function getInfo() {
    var myDate=new Date();
    var ev_num = parseInt(document.getElementById("leave").value)
    myDate.setFullYear(sel_year.value,sel_month.value,sel_day.value);
    var event_value = document.getElementById("leave").value;
    //document.getElementById("date").innerHTML = "The date you have selected to begin your time of absence is ..." + "&lt;b&gt;" + myDate + "&lt;/b&gt;";

    //if ((document.getElementById("rd1").checked) == true) {
    //document.write(document.getElementById("rd1").value);}

    //get married
    if (event_value == 5) {

    //have a baby
    } else if (event_value == 100) {
        var first_number = new Date(myDate);
        first_number.setDate(myDate.getDate() + 31);
        var second_number = new Date(myDate);
        second_number.setDate(myDate.getDate() - 30);
        var third_number = myDate.getDate() + 7;
        var fourth_number;
        var fifth_number1;
        var fifth_number2;
        //if the first radio button has been selected
        if ((document.getElementById("rd1").checked) == true) {
            fourth_number = myDate.getDate() + 56;
            fifth_number1 = myDate.getDate() + 57;
            fifth_number2 = myDate.getDate() + 91;
        //if the second radio button has been selected
        } else {
            fourth_number = myDate.getDate() + 42;
            fifth_number1 = myDate.getDate() + 43;
            fifth_number2 = myDate.getDate() + 91;
        }
        document.getElementById("message1").innerHTML = "From " + myDate + " through " + first_number + "&lt;br/&gt;" + "You are eligible to update coverage and personal information through your 'Have a Baby' Life Event.";
        document.getElementById("message2").innerHTML = "From " + second_number + " through " + myDate + "&lt;br/&gt;" + "1) Call 1-877-968-7762 to initiate your leave. &lt;br/&gt;" + "2) Complete Authorization Release Form.";
    //adopt a child 
    } else if (event_value == 90) {

    //retire
    } else if (event_value == 35) {

    //military leave
    } else if (event_value == 15) {

    //medical leave
    } else if (event_value == 25) {

    } else {}
    //document.getElementById("event").innerHTML = "Based on the event you have selected you will miss  ... " + "&lt;b&gt;" + document.getElementById("leave").value + " days." + "&lt;/b&gt;";
    //myDate.setDate(myDate.getDate() + ev_num);
    //document.getElementById("return").innerHTML = "You will be expected back on ..." + "&lt;b&gt;" + myDate + "&lt;/b&gt;";
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

Life Event Picker Calendar&lt;br&gt;
&lt;hr align="left" width="200px"/&gt;
&lt;div id="life" style="display:inline-block;"&gt;Life Event&lt;/div&gt;&lt;div id="day" style="display:inline-block; margin-left:100px;"&gt;Date&lt;/div&gt;&lt;br&gt;

    &lt;select style="float:left;" id="leave" onchange="changeMessage(this);"&gt;
          &lt;option value="0"&gt;&lt;/option&gt;
          &lt;option value="5"&gt;Get Married&lt;/option&gt;
          &lt;option value="100"&gt;Have a Baby&lt;/option&gt;
          &lt;option value="90"&gt;Adopt a Child&lt;/option&gt;
          &lt;option value="35"&gt;Retire&lt;/option&gt;
          &lt;option value="15"&gt;Military Leave&lt;/option&gt;
          &lt;option value="25"&gt;Medical Leave&lt;/option&gt;
    &lt;/select&gt;    

&lt;div id="calendar-container" style="float:left;" &gt;&lt;/div&gt;

    &lt;button id="btn" style="display:none;" onclick="getInfo()"type="button"&gt;Process&lt;/button&gt;

&lt;br&gt;
&lt;div id="radio" style="display:none"&gt;
    &lt;label&gt;&lt;span&gt;&lt;/span&gt;&lt;input type="radio" name="" id="rd1" value="" onclick="showChoice(this)"/&gt;&lt;/label&gt;
    &lt;label&gt;&lt;span&gt;&lt;/span&gt;&lt;input type="radio" name="" id="rd2" value="" onclick="showChoice(this)"/&gt;&lt;/label&gt;
&lt;/div&gt;

&lt;div id="choice"&gt;Radio Choice&lt;/div&gt;&lt;br&gt;
&lt;div id="date"&gt;&lt;/div&gt;
&lt;div id="event"&gt;&lt;/div&gt;
&lt;div id="return"&gt;&lt;/div&gt;
&lt;div id="yourdate"&gt;&lt;/div&gt;

&lt;div id="message1"&gt;Message 1&lt;/div&gt;&lt;br&gt;
&lt;div id="message2"&gt;Message 2&lt;/div&gt;&lt;br&gt;
&lt;div id="message3"&gt;Message 3&lt;/div&gt;&lt;br&gt;
&lt;div id="message4"&gt;Message 4&lt;/div&gt;&lt;br&gt;
&lt;div id="message5"&gt;Message 5&lt;/div&gt;
</code></pre>
