/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Anonymous | http://javascript.internet.com/ */
function toggleMe(obj, a){
  var e=document.getElementById(a);
  if(!e)return true;
    e.style.display="block"
  return true;
}

function toggleMe2(obj, a){
  var e=document.getElementById(a);
  if(!e)return true;
    e.style.display="none"
  return true;
}



/*
<input type="radio" name="art-charge" value="12.50" onclick="return toggleMe(this, 'artcharge')"> less than 12 bottles with custom labels
  <input type="radio" name="art-charge" value="0.00" onclick="return toggleMe2(this, 'caseprice')"> 12 or more bottles with custom/holiday labels<br>





<form name="theForm">
  Are you married?<br>
  <input type="radio" name="married" value="yes" onclick="return toggleMe(this, 'marriedInfo')"> Yes
  <input type="radio" name="married" value="no" onclick="return toggleMe2(this, 'marriedInfo')"> No<br>
  <div id="marriedInfo" style="display: none; margin-left: 20px;">
    <table>
      <tr>
        <td>Spouse's name:</td>
        <td style="text-align: right;"><input name="name" type="text"></td>
      </tr><tr>
        <td>Spouse's Date of Birth:</td>
        <td style="text-align: right;"><input name="bday" type="text"></td>
      </tr><tr>
        <td>Spouse's Birth Place:</td>
        <td style="text-align: right;"><input name="bplace" type="text"></td>
      </tr>
    </table>
  </div>
</form>
<script type="text/javascript" src="toggleAddInfo.js"></script>
*/
