$(document).ready(function(){
   showHide();
   $("form input[type=radio]").click(function()    
    {
       showHide();
     });
});

function showHide()
{
      if ($("input[type=radio]:checked+label").text()== "Clinician")
            {
              $(".contourField.text.howmanyofeach").show();
              $(".contourField.degree").show();
            }
      else if ($("input[type=radio]:checked+label").text()== "Existing Client")
                   {
                    $(".contourField.degree").hide();
		 $(".contourField.text.howmanyofeach").show();
                   }
           else
                  {
                     $(".contourField.degree").hide();
		 $(".contourField.text.howmanyofeach").hide();
                  }
}
